![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
table col width="20%" /><col width="50%" |
|
thead tr th>Name</th th>Description</th th>Demo</th th>Download</th /tr .... |
#2
| |||
| |||
|
|
On the demo at http://www.geocities.com/schools_ring/tmp/demo01/index.xml> the table caption has 1px(?) indentation from the left in Firefox 1.5 and I'm running out of ideas how to kill it - if it's possible at all. (Opera 9 shows a bigger indentation (2px?) but from the right side, but this fun is for later :-) IE displays the expected (at least by me) layout. |
#3
| |||
| |||
|
|
On the demo at http://www.geocities.com/schools_ring/tmp/demo01/index.xml> the table caption has 1px(?) indentation from the left in Firefox 1.5 and I'm running out of ideas how to kill it - if it's possible at all. (Opera 9 shows a bigger indentation (2px?) but from the right side, but this fun is for later :-) IE displays the expected (at least by me) layout. |
|
I was only reading about this yesterday: http://www.aurora-il.org/table_test.htm ex1 runs through the problem and ex2 solves. You just apply caption {margin:-1px;} apparently IE doesn't recognise margin values applied to <caption> so it will just ignore it. As to what you can do with opera; if the current version is the same as Opera 7.54 then the above fix means that the caption won't render at all. I suggest clicking your heels together three times with your fingers crossed and hoping the problem goes away. |
#4
| |||
| |||
|
|
On the demo at http://www.geocities.com/schools_ring/tmp/demo01/index.xml> the table caption has 1px(?) indentation from the left in Firefox 1.5 and I'm running out of ideas how to kill it - if it's possible at all. (Opera 9 shows a bigger indentation (2px?) but from the right side, but this fun is for later :-) IE displays the expected (at least by me) layout. ironcorona wrote: I was only reading about this yesterday: http://www.aurora-il.org/table_test.htm ex1 runs through the problem and ex2 solves. You just apply caption {margin:-1px;} apparently IE doesn't recognise margin values applied to <caption> so it will just ignore it. |
#5
| |||
| |||
|
|
VK wrote: On the demo at http://www.geocities.com/schools_ring/tmp/demo01/index.xml> the table caption has 1px(?) indentation from the left in Firefox 1.5 and I'm running out of ideas how to kill it - if it's possible at all. (Opera 9 shows a bigger indentation (2px?) but from the right side, but this fun is for later :-) IE displays the expected (at least by me) layout. ironcorona wrote: I was only reading about this yesterday: http://www.aurora-il.org/table_test.htm ex1 runs through the problem and ex2 solves. You just apply caption {margin:-1px;} apparently IE doesn't recognise margin values applied to <caption> so it will just ignore it. OK, thanks again for the tip, negative margin did the trick for FF half-way: it's still here, but I managed to shift it to the right side (a la Opera 9) which is visually much less irritating. The used hack is: ... table caption { margin: 0px 0px 0px -1px; ... Yet this hack is a complete woodoo to me (both in the reason of the indent and in the way to move it away). |
#6
| |||
| |||
|
|
An added |-moz-box-sizing: content-box;| helps as well - but I suspect that this is just chasing shadows. |
|
[later...] See also https://bugzilla.mozilla.org/show_bug.cgi?id=333643 |
![]() |
| Thread Tools | |
| Display Modes | |
| |