/    Sign up×
Community /Pin to ProfileBookmark

2 problems with IE rendering

Please, see at this address:
[url]http://samiel.netsons.org/teatro2/comenato.html[/url]
I’ve 2 problems with IE6.
1. navigation bar at right has a dark gray background:
however, it doesn’t arrive to the footer, but stops a little
after the text, so it is possible to see the black #container.
Morevoer, the border-top line of the footer appers not
at he top of the footer, but of the bottom of navigation bar.
2. in #content, the text arrives at the end of #content
while other browsers leave a bit of space.

[code] /*stili per il layout*/
html,body{margin:0; padding:0;}
body{font-family:”Lucida Sans Unicode”,sans-serif; font-size:101.01%; text-align:center; background:black;}
div#container{width:82%; margin:0 auto; margin-top:2em; text-align:left; border-right:double #CECECE; border-left:double #CECECE; background:#323232; color:#BBB; /*url(background.jpeg) repeat-y 80% 0; display:inline-block;*/}

/*stili su header*/
div#header{background-color:black; color:white;}
div#header h1{padding:20px 20px 40px 20px; border-bottom:double #CECECE;}

/*stili per la navigazione menu header*/
div#navbar_wrapper {margin:0 auto; background-color:black; border-bottom:double #CECECE;}
div#navbar ul{list-style:none; margin:0; padding:18px; text-align:center;}
div#navbar li{display:inline; margin:3px; padding:0; border:4px;}
div#navbar a{background:#A4A4A4; color:white; margin:0; padding:4px; text-decoration:none;}
div#navbar a:hover{background:#A4A4A4; color:black; text-decoration:underline;}
div#navbar a#activelink_nb{background:white; color:black; font-weight:bold;}

/*stili per il layout*/
div#navigation{float:right; width:20%; height:auto; background:#323232; color:#CECECE;}
div#content{float:left; width:80%; background:#444444; color:#CECECE;}
div.center img{display:block; margin:0 auto; text-align:center;}

/*stili per #content*/
h1,h2{margin:0;padding:0}
div#content h1,h2,p{padding:0 25px 0;}
div#content h1,h2{margin-top:1.5em; color:white;}

/*stili per la navigazione*/
div#navigation ul{margin:2em 0 0.5em 0.5em;list-style-type:none;}
div#navigation li{margin:0; padding:0.5em; border-bottom:1px solid #CECECE; text-align:right;}
div#navigation a{background:#323232; color:#5F5F5F; font:normal bold 1em/1em arial,sans-serif; text-decoration:none;}
div#navigation a:hover{background:#323232; color:#C1C1C1; text-decoration:underline;}
div#navigation a#activelink_nv{background:#323232; color:white; text-decoration:none;}

/*stili su footer*/
div#footer{clear:both; padding:0.5em; background:black; color:#CECECE; border-top:double #CECECE;}

/*stili caratteri*/
.bold{font-weight:bold;}
.italic{font-style:italic;}
.underline{text-decoration:underline;}
.emph{color:red;}[/code]

Any suggestin? Thanx!
M.

to post a comment
CSS

1 Comments(s)

Copy linkTweet thisAlerts:
@WebJoelNov 10.2007 — div#content{float:left; width:80%; background:#444444; color:#CECECE;}[/QUOTE] Could use some default padding on this. Maybe

padding:25px 20px 25px; (pads top & bottom 25px, and left & right 20px in this example).

Might help.. ?
×

Success!

Help @samiel spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...