Sent by Jeroen Visser [ vizi ] on 28 July 2004 14:02
Oliver Hodgson wrote:
>> http://www.oddjob.se/test.html - tested and verified
>> in all common browsers, including IE5 Mac.
> Unfortunately, it doesn't quite work for me :-(
> Because of the fixed height, if I change the text to read "Here comes
> the stretching text and its really really really really really really
> really really really really really really really long", it starts to
> fall apart where mine held together. But its given me some ideas to
> play with, so thanks for that :-)
Then <http://www.vizi.nl/temp/h1_test/h1_test.html> maybe?
Works for me in Mozilla, and with a slighly different (but not visibly
'wrong') behaviour also in IE/Mac. Haven't tested in any windows wowser
The only thing with this solution is that the title would move upward
when the text size is increased, so you should specify a margin on the
h1 in ems and large enough to allow for some scaling (to 150% or so).
vizi fotografie & grafisch ontwerp
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/