like hmmmm whats going on

[expired user #7454]'s profile image [expired user #7454] posted 11 years ago in General Permalink
i export as html from mysql workbench
and it works. i export from heidi the export works
but when i export from heidi the html file
is no place to be found. a sql table ie there
i see it in workbench and heidi. but i get a error
that it dont exist.and it existed yesterday
TTSneko's profile image TTSneko posted 11 years ago Permalink
As far as you describe, you probably had "COPY TO CLIPBOARD" active or screwed up by activating FILE but not giving the export dialog a filename.
[expired user #7454]'s profile image [expired user #7454] posted 11 years ago Permalink
yep
found it. fixed now. but
is there a way I can make collumns 100 percent in width.
to shrink and expand with any screen res. I see word wrap works n html mode
TTSneko's profile image TTSneko posted 11 years ago Permalink
The export-to-HTML merely creates a basic table. If you have to change the display, open your HTML result with a TXT-Editor and change the values accordingly, e.g.

table, td {border: 1px solid silver;}


to

table, td {border: 1px solid silver;width:100%;}


That however only stretches the whole table; the corresponding data rows are fixed width values, you should adapt them to percentages, e.g.:

thead .col1 {width: 200px;}


to

thead .col1 {width: 15%;}


or such, depending on the displayed data.
TTSneko's profile image TTSneko posted 11 years ago Permalink
Sorry, screwed up there ... change:

table {border-collapse: collapse;}


to :

table {border-collapse: collapse; width:100%;}


Please login to leave a reply, or register at first.