/    Sign up×
Community /Pin to ProfileBookmark

FF doesn’t like this css

This css works ok in IE but not FF. What do you suggest?

[code]body{
background-image: url(beige102.gif);
}
h2,h3
{
font-family: arial, verdana, helvetica, sans-serif;
font-size: 85%;
color: #900;
background-color: inherit;
}

h4 {
font-size: .7em;
color: #009; background-color: inherit;
}
p {
font-size: .8em;
line-height: 1em;
padding-left: 10px;
border-style: none none dotted none;
border-color: #900;
border-width: 1px;
}

img {margin-right: 10px;
margin-top: 1px;
}
div {border:0px dotted;

border-color: #900;
margin-bottom: 5px;
padding-top: 10px;
padding-bottom: 5px;
position:relative;width:100%;height:10em;
}
#block1
{float:left;width:50%;margin-left:0%;
background-color: #9ff;
color: #900;
}
#block2
{float:right;width:50%;margin-right:-2%;
background-color: #cf9;
color: #900;
}
#block3
{float:left;width:50%;margin-left:.5%;
background-color: #fcf;
color: #900;
}
#block4
{float:right;width:50%;margin-right:-2%;
background-color: #ccf;
color: #900;
}
p.footer {
font-size: 2.0em;
text-align: center;
font-weight: bold;
}
a:link {
color: #f00; background-color: #fff; }
a:visited {
color: #000; background-color: inherit;}
a:hover {
color: #000; background-color: #f00; }
a:active {
color: #f00; background-color: #fc0; }
#header {
border-style: outset;
border-width: 6px;
border-color: #ff0;
margin: 10px;
padding-left: 10px;
padding-top: 5px;
padding-bottom: 5px;
height: 60px;

background-color: #ffc;
color: #c00;
font-size: .95em;
font-family: arial, verdana, helvetica, sans-serif;
letter-spacing: 1.5px;
}
#content { width: 780px; }[/code]

to post a comment
CSS

5 Comments(s)

Copy linkTweet thisAlerts:
@bathurst_guyJun 26.2006 — [B]Tip[/B]: If you can provide a link to a page that has this code in it, and then explain what it is that [I]you[/I] think is [I]being displayed incorrectly[/I], you will receive faster and more productive responses.
Copy linkTweet thisAlerts:
@WebJoelJun 26.2006 — I'm almost afraid to try it until I know what you see and what you think you should being seeing, but div {[B]border:0px dotted;[/B] won't do anything in Firefox. -How can you have a 'dotted' border 0-pixels wide, without any color?

Probably IE can take a guess though... :o
Copy linkTweet thisAlerts:
@drhowarddrfineJun 26.2006 — And we can tell you coded this with buggy IE and not standard FF so your code is wrong.
Copy linkTweet thisAlerts:
@FlaBillauthorJun 26.2006 — The site is http://wielert.net and was posted on the original post in The Coffee Lounge where Yang took it down and suggested posting the css here.

Specifically a portion of the header text is misplaced and the links are not recognised in FF .
Copy linkTweet thisAlerts:
@drhowarddrfineJun 26.2006 — First, you are missing two closing </h2> tags.
×

Success!

Help @FlaBill 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,
)...