![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
Samples: http://swiftys.org.uk/small.html http://swiftys.org.uk/small_strict.html Load small.html and place something so that you can see where "Line ten" is placed, vertically. Now load small_strict.html You should find that "Line ten" has moved down a little. The fonts seem the same, so perhaps it is the line spacing of the text. |
#2
| |||
| |||
|
|
Swifty wrote: Samples: http://swiftys.org.uk/small.html http://swiftys.org.uk/small_strict.html What browser? With firefox every line in the second example is about half as high again as in the first. |
#3
| |||
| |||
|
|
rf wrote: Swifty wrote: Samples: http://swiftys.org.uk/small.html http://swiftys.org.uk/small_strict.html What browser? With firefox every line in the second example is about half as high again as in the first. I develop in Opera (10Beta as it happens) then verify in Firefox (3.0.6 IIRC) then finally test in IE6 (corporate requirement; it doesn't have to look good, but it does have to work). Actually, the presentation is identical in IE6. So there's my solution... I'll use IE6 in future. What controls line spacing? The fonts used are identical (within each browser)/ |
#4
| |||
| |||
|
|
What controls line spacing? |
#5
| |||
| |||
|
|
Differences in line-height, perhaps? |
#6
| |||
| |||
|
|
And for the author of the anonymous email suggesting that I balance my tags first (I'd forgotten the trailing </SMALL>), I've got $10 that says it wouldn't have made any material difference. |
#7
| |||
| |||
|
|
David Stone wrote: Differences in line-height, perhaps? Line-height fixes the problem (all I was after) thanks (and also to Andreas - two matching suggestions persuaded me to try it immediately). It is two steps forward (Opera and Firefox) and one step backwards (IE6) because setting like-height:100% fixes both Opera and Firefox, but makes the IE6 lines closer together than before. |
|
No problem though, as long as I can fit four lines in the height of the GIF in the adjacent cell. I realise that I'm probably up against the impossible for people with minimum font sizes defined (like me), but I can live with that, if they can. |
#8
| |||
| |||
|
|
Does it matter if the GIF doesn't completely fill the height of this adjacent cell? If not, I think you have it covered even for people with minimum font sizes defined (like us!) |
#9
| |||
| |||
|
|
Setting the line-height to 100% fixes it for both Opera and Firefox, and slightly over-compensates in IE6. I've tried my pages at every conceivable font size, and they look good under all conditions. |
#10
| |||
| |||
|
|
David Stone wrote: Differences in line-height, perhaps? Line-height fixes the problem (all I was after) thanks (and also to Andreas - two matching suggestions persuaded me to try it immediately). It is two steps forward (Opera and Firefox) and one step backwards (IE6) because setting like-height:100% fixes both Opera and Firefox, but makes the IE6 lines closer together than before. |
![]() |
| Thread Tools | |
| Display Modes | |
| |