Login | Register
My pages Projects Community openCollabNet

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

Discussion topic

Back to topic list

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


Author todd fahrner <tfahrner at collab dot net>
Full name todd fahrner <tfahrner at collab dot net>
Date 2003-05-27 23:10:31 PDT
Message On Tuesday, May 27, 2003, at 16:57 US/Pacific, Daniel Rall wrote:

> "Chacko, Janson (Cognizant)" <CJanson at CHN dot COGN​IZANT.COM> writes:
>> In IE5.5 on windows the "Modules breadcrumb" extends beyond the
>> default window causing it to show the horizontal scrollbar. I don't
>> know whether this is the same case in other browser or not. But the
>> following change in tigris.css solved the problem for me. I didn't
>> bother to get a CVS patch since it is very small fix.
>> #breadcrumbs {
>> padding: 2px 8px;
>> }
>> has been changed to
>> #breadcrumbs {
>> padding: 2px 8px;
>> width: 100%;
>> }
> Todd, is this something that style.tigris.org should considering
> implementing? Sorry if you already responded, but I didn't see any
> followups.
> http://scarab.tigris​.org/servlets/ReadMs​g?list=dev&msgId​=258413

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?

[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

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


Show all messages in topic

Re: Modules breadcrumb is causing a horizontal scrollbar to appear in IE todd fahrner <tfahrner at collab dot net> todd fahrner <tfahrner at collab dot net> 2003-05-27 23:10:31 PDT
Messages per page: