rashantha de silva wrote:
hello
can some one please explain this code:
* html #photo_container a.slide4 {
width:91px;
w\idth:93px;
}
thanks
rush
This is the box model hack[1]. IE5/Win and IE5.5/Win don't implement the
box model[2] correctly, so you need a hack (or conditional comments, if
you choose the safest path) to make sure the layout displays correctly.
In short, standards-compliant browsers won't see anything (there's
probably another rule "#photo_container a.slide4" somewhere, which these
browsers will see) because of the star hack, IE5/Win and IE5.5/Win will
see width 91px, and IE6 and IE5/Mac will see 93px.
However, shouldn't the width for IE5.x be *greater* than the width for
other browsers?
[1] http://css-discuss.incutio.com/?page=BoxModelHack
[2] http://css-discuss.incutio.com/?page=BoxModel
--
~ ugo pozo ` [EMAIL PROTECTED]
~ icq, msn ` 61410828, [EMAIL PROTECTED]
~ aim, irc ` ugopozo, [EMAIL PROTECTED]
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/