Home : Products : Gossamer Links : Discussions :

Products: Gossamer Links: Discussions: Re: [rgbworld] luna_core.css and IE Mac: Edit Log

Here is the list of edits for this post
Re: [rgbworld] luna_core.css and IE Mac
In Reply To:
The default install has 1 css glitch specific to IE Mac 5.2.3 on OS 10.x.
It has to do with the ocwrapper/rightsidebar css styles.
Specifically, what appears to be the rightsidebar, or the right-margin of
the ocwrapper extends to the right of the wrapper by the distance of rightsidebar.[/quote]

To fix the rightsidebar background-color overflow (Mac IE 5 and luna) is pretty simple.

1) Define ocwrapper to a Mac IE 5 specific style. All browsers will see this definition.

2) Override
border-right back to the correct style. IE Mac doesnt see the override
due to the IE factor.

Changes to luna_core.css are bolded. New code is red.
Code:
#ocwrapper {
/* background colour of left sidebar */
border-left: 0px solid #e2e1eb;
/* background colour of right sidebar */
border-right: 190px solid #ffffff;
background: #e2e1eb;
}

/* commented backslash hack v2 \*/
#ocwrapper { border-right: 200px solid #e2e1eb; }
/* recover from hack */


I do not style for specific browsers per-sey, and I do not want to do so especially for IE 5 Mac.
But, the above css does fix the out-of-the-box luna css appearance. I have done extensive testing
of luna, using many different browsers. I found only 2 glitches in all my tests, and I have charts!

So, anyways that was 1 of 2 fixes. The other css fix is wrt a Disappearing rightshadow...
Specific to IE 6 windows. The 2nd fix is simply adding position:relative to the .shadowright class.

With those 2 edits, luna templates display properly in Mac(IE,Safari,FireFox,Opera) and Win(IE6,FireFox).
I know there are other browsers, but thats all I have time for.

Footnote: Any style that overrides ocwrapper to change either sidebar size,
will have
to reapply the "commented backslash hack" in order to keep the 2nd fix in-place.

Hope this helps someone else.

Chris

RGB World, Inc. - Software & Web Development.
rgbworld.com

Last edited by:

rgbworld: Apr 20, 2006, 7:19 PM

Edit Log: