/    Sign up×
Community /Pin to ProfileBookmark

Css Works in FF, doesn’t work in Opera and IE

[code]
div#left{
width:150px;
float:left;
border: 0.5px dashed black;
}

div#right{
width:150px;
float:right;
border: 0.5px dashed black;
}

div#main{
padding:15px;
margin: 0 150px;
border: 0.5px dashed black;
}

input{
margin:10px;
}

div.menu{
border: 0.5px dotted blue;
}
[/code]

Can someone tell me where’s the mistake? I have a simple webpage, but IE and Opera doesn’t show borders around divs…

to post a comment
CSS

1 Comments(s)

Copy linkTweet thisAlerts:
@FangMar 07.2009 — You can't have half a pixel, '1px' is the smallest unit.
×

Success!

Help @iokosan 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 5.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: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

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

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...