Login | Register
My pages Projects Community openCollabNet

Discussions > dev > RE: Modules breadcrumb is causing a horizontal scrollbar to appear in IE

style
Discussion topic

Back to topic list

RE: Modules breadcrumb is causing a horizontal scrollbar to appear in IE

Reply

Author rkoberg
Full name Rob Koberg
Date 2003-05-28 05:57:20 PDT
Message Hi,

> -----Original Message-----
> From: todd fahrner [mailto:tfahrner at collab dot net]
> Sent: Tuesday, May 27, 2003 11:11 PM

> I replied offlist that I was looking into it. The bug is in WinIE5.x,
> which fails to implement the CSS box model per spec.[1] Working around
> the bug in the manner proposed breaks UAs that do not exhibit the bug.
> There is a rather more complicated workaround[2] that I will
> incorporate into the next generation of tigris.css. In the meantime, if
> deemed important, I'd favor incorporating the workaround into the
> scarab-specific extension to tigris, which I believe is called
> scarab.css. What do people say about complicated cosmetic bug
> workarounds in trailing edge browser versions?

For the those clients who *need* it to work in IE5 we do this hack which
only IE understands:

<!--[if IE 5]>
  <link href="{$relative_pa​th}css/iehack5.css" rel="stylesheet"
type="text/css"/>
<![endif]-->
<!--[if IE 6]>
  <link href="{$relative_pa​th}css/iehack6.css" rel="stylesheet"
type="text/css"/>
<![endif]-->

Best,
-Rob

>
> [1] 'width' in CSS does not include the width of any padding, border,
> or margin given on the selection. but in winie5.x, width includes
> padding and border. setting the width explicitly to 100% puts the
> padding outside the viewport in more conformant implementations (incl
> mozilla, macie5, opera, konqueror/safari, and winie6).
>
> [2] http://www.google.co​m/search?q=box+model​+hack
>
>
> --------------------​--------------------​--------------------​---------
> To unsubscribe, e-mail: dev-unsubscribe@styl​e.tigris.org
> For additional commands, e-mail: dev-help at style dot tigris dot org


--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: dev-unsubscribe@styl​e.tigris.org
For additional commands, e-mail: dev-help at style dot tigris dot org

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

RE: Modules breadcrumb is causing a horizontal scrollbar to appear in IE rkoberg Rob Koberg 2003-05-28 05:57:20 PDT
Messages per page: