IE does not implement max-width (something we are using a fair bit in
the TOC template idea). The result is that while the TOC looks nice
in FireFox, Mozilla, Opera etc, in IE it expands to the width of the
longest TOC title.
To get IE to respect the max-width parameters (we are setting a
max-width: 200px), we need to add in something along the lines of:
width:expression(this.width > 200 ? "200px" : this.width)
where we declare max-width. Or... does anyone know of a better
solution to make IE implement a something that emulates max-width?
Maybe you've already thought of it, but /IE7/ provides a solution for
max-width.
http://dean.edwards.name/IE7/compatibility/
It fixes also a number of problems of IE as png transparency & co...
/IE7/ is a Javascript library hack to make IE implement CSS correctly.
without needed to worry so much about all the broken IE features. I
wasn't aware of it... definitely bookmarking it for reference.
I think this might be rather difficult to implement inside MediaWiki though.
The CSS max-width element exists in IE7, but it's very poorly
implemented. In the TOC template, we are using list items, and IE7 does
silly things like drop the bullets at random, moves the bullet to the
last line of a bullet item that wraps over several lines or even moves a
bullet to line up with the position of the last word in the preceding
bullet point. I hope we "get around" this IE7 behaviour by setting the
max-width on the top level div (as some forums and websites seem to
indicate you can).
C.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]