/    Sign up×
Community /Pin to ProfileBookmark

css problem in firefox

hello,

[url]http://bobwebb.u39.smoothnet.co.uk/test[/url]

The page works fine in Explorer but in firefox the box does not work.

Anyone have any thoughts….

Thank you

to post a comment
CSS

6 Comments(s)

Copy linkTweet thisAlerts:
@robbiew24ukauthorMar 04.2006 — body {

background-image: url(bg_grad.jpg);

background-repeat: repeat-x;

}

#main_container {

position:relative;

margin:0px auto;

width:700px;

height:533px;

z-index:1;

}

//this is just the name i gave for the title 'asunta mae'//

#title {

position: absolute;

left: -65px;

top: 408px;

height: 106px;

width: 822px;

z-index: 1;

}

#navigation {

position: absolute;

left: 448px;

top: 466px;

width: 323px;

z-index: 1;

}

#navigation a:link {

font-size: 20px;

padding: 10px;

text-decoration:none;

color:#000000;

}

#navigation a:active {

font-size: 20px;

padding: 10px;

text-decoration:none;

border-bottom-width: thin;

border-bottom-style: dotted;

border-bottom-color: #000000;

}

#navigation a:visited {

font-size: 20px;

padding: 10px;

text-decoration:none;

color:#999999;

}

#navigation a:hover {

font-size: 20px;

padding: 10px;

text-decoration:none;

color: #993300;

}

.bl {

background: url(bl_corner.gif) 0 100% no-repeat #CCCCCC;

width: 700px;

height: 200px;

}

.br {

background: url(br_corner.gif) 100% 100% no-repeat

}

.tl {

background: url(tl_corner.gif) 0 0 no-repeat

}

.tr {

background: url(tr_corner.gif) 100% 0 no-repeat;

padding: 10px;

}

#reflection {

position:absolute;

left: 0px;

top: 364px;

width: 692px;

}
Copy linkTweet thisAlerts:
@JayMMar 04.2006 — Your document is not valid xHTML. Make sure it's [URL=http://validator.w3.org/]valid[/URL] first.
Copy linkTweet thisAlerts:
@robbiew24ukauthorMar 05.2006 — i've not finished it yet, i was just asking about curved boxes in firefox
Copy linkTweet thisAlerts:
@tenor20Mar 05.2006 — don't specify the height of .bl. The text overflow can determine the height (as it is doing in IE)
Copy linkTweet thisAlerts:
@drhowarddrfineMar 05.2006 — As usual, the problem is with IE, not Firefox. Firefox is behaving correctly.

tenor is correct. You specify a 200px height and FF is obeying your command while IE is ignoring it and expanding the div incorrectly, fooling you into thinking all is right in the world.

Also, #reflection is absolutely positioned which takes it out of the flow in FF (correct behavior) but not so in IE (incorrect).

Sorry, don't have time to look further.
×

Success!

Help @robbiew24uk 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.2,
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: @meenaratha,
tipped: article
amount: 1000 SATS,

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

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