Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / HTML, CSS, Scripts / CSS / April 2005



Tip: Looking for answers? Try searching our database.

CSS help

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
leo - 29 Apr 2005 03:56 GMT
Here is a copy of the web site I am working on:

http://sunshineboy.no-ip.org/royaloaks/index.html

If you look at the bottom of the 2nd picture and the text, you see the
brown background (on Firefox). It is NOT intended to be there. What did
I do wrong in the CSS?

[If you check it with IE, it magically WORKS.]

Thanks.

PS. I also want to have a little graphics on the left side of the menu,
where the brown background is, i.e. left of "About." How can I achieve it?
Steve Pugh - 29 Apr 2005 07:35 GMT
>http://sunshineboy.no-ip.org/royaloaks/index.html
>
>If you look at the bottom of the 2nd picture and the text, you see the
>brown background (on Firefox). It is NOT intended to be there. What did
>I do wrong in the CSS?

First you haven't cleared the floated image.
Secondly you haven't taken into account the margin collapsing of the
bottom margin of the last paragraph inside the content.

Check the CSS spec to see why FF and Opera, etc.,  are correctly
applying your styles whilst IE is geting it wrong.

Insert an element between the text and the end of the cotentcontainer
div with clear: left and margin: 0;

>[If you check it with IE, it magically WORKS.]

IE gets a lot of things of wrong. These are just two of them.

>PS. I also want to have a little graphics on the left side of the menu,
>where the brown background is, i.e. left of "About." How can I achieve it?

Add another <li> before the About item and apply unique styles to it.

    Steve

Signature

"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie."  - The Doctor

Steve Pugh        <steve@pugh.net>        <http://steve.pugh.net/>

Del Ferguson - 29 Apr 2005 16:41 GMT
>>http://sunshineboy.no-ip.org/royaloaks/index.html
>>
[quoted text clipped - 22 lines]
>
>     Steve

Leo,

You might want to check your spelling on the page after you apply
Steve's recommendations.

Cheers,

Del Ferguson
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.