On 22/8/07 (17:54) Thorsten said:
>The containing element's width is fixed, that didn't help any, alas. I
>checked on Firefox/Win and Safari/Win and had to add in a few
>line-breaks for Safari where Firefox's text flow already worked
>normally. That sucks for longer texts of course and is at best unreliable.
>If I use, say, 62.5% font-size for the body and ems for paragraphs some
>of the text flows as planned in both browsers with a few minor
>inconsistencies further down the road. What makes me really crazy is the
>finality of the demand.. there's no reasoning possible it seems. What
>counts is the result, no matter how it's achieved and I'm a bit lost here.
>I'm not really sure how to compensate for the font size differences
>between Win and Mac. Should I perhaps use a browser sniffer (unreliable
>I heard) and influence the font size for the Mac? Evenf for Firefox/Mac
>which shows those different text flows as well? Is that "good practise"?
If your boss is utterly 100% dogmatically immovably determined to have
his text line-off in a rigid, immutable fashion such as you describe,
the there is really only one sure-fire way to do it. Turn all the text
into images and use image replacement techniques. (There! I said it!)
Of course this is an utterly horrific solution, and I'd never in a
million years actually advocate it, but I really can't think of any
other technique whereby text content on a website is going to look
identical in every browser, without any variation. There are just too
many variables; even if you got your sizing sorted out you have no way
to know whether your viewer will be looking at the page in Arial or
Verdana, and there's a gulf of character width between the two. And the
viewer might have their browser set to override all your CSS font
styling anyway, and you can't control that.
Or, do it all in Flash.
Now I really do need a wash.
In the end of course, it comes down to the fact that your boss has
absolutely no idea about how websites work, and really needs to learn
that just because he stamps his foot we won't necessarily get what he
wants. I want my car to be able to travel through space at faster than
light speed, but it can't -- and me being stubborn about it and shouting
"that's not acceptable" won't change that.
Your boss needs to educate himself about the way things work on the
internet, otherwise he's just going to be frustrated and he'll blame you.
File under: 'Easy for you to say'.
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/