/    Sign up×
Community /Pin to ProfileBookmark

Border-style doesn’t show in Opera

Hi,
I have a Div within a Div which have border-style solid. They work fine in IE and Firefox but the borders are missing in Opera. Any ideas of a fix? Thank you.
The CSS code is

[code]
.rightbox{

color: #000000;
font-size: 12px;

width:120px;
padding:1em;
background-color:#fffccc;
text-align: justify;
border-width: 1px;
border-top-style: solid;
border-right-style: solid;
border-left-style: solid;
border-color : #990333;
border-width: .01em;
}

.toprbox{
color: #eeeeee;
font-size: 12px;
width:120px;
padding:1em;
background-color:#990333;
text-align: justify;
border-width: 1px;
border-right-style: solid;
border-left-style: solid;
border-bottom-style: solid;
border-color : #990333;
border-width: .01em;

}
[/code]

to post a comment
CSS

4 Comments(s)

Copy linkTweet thisAlerts:
@KravvitzMar 23.2006 — Increase the border-width. Opera may be rounding to 0px instead of 1px.
Copy linkTweet thisAlerts:
@joleneauthorMar 23.2006 — ? Great, changing to 1px did the trick. I assume 1px is the smallest border size acceptable to Opera... As long as I get IE, Mozilla AND Opera rendering the website correctly, Im happy. Thanks a lot.
Copy linkTweet thisAlerts:
@felgallMar 23.2006 — You have two border-width attributes in each list so the first one will be ignored each time.
Copy linkTweet thisAlerts:
@joleneauthorMar 23.2006 — Oh..I corrected it now..Thank you. ?
×

Success!

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