Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Opera changing colours of elements
Old 05-06-2012, 04:18 AM Opera changing colours of elements
pealo86's Avatar
Super Spam Talker

Posts: 878
Name: Matt Pealing
Location: England, north west
Trades: 0
After a great deal effort I've finally got around to boxing off my new portfolio website:
http://bit.ly/IyiGvB

However I've noticed certain elements are displaying in the wrong colour in Opera. I've read up on the issue a little, and I think Opera might be doing it automatically to create 'more contrast' or something.

Quite annoying! I've attached a screenshot to show how it looks in Opera.

See how the current nav item is grey instead of white, also the logo appears 'lighter' than it should for some reason.

Here is the CSS for #nav:
Code:
#nav {
    float: right;
    clear: both;
    font: 3.42857142857143em 'DIN 1451 Mittelschrift Standard', arial, helvetica, sans-serif; /* 48px / 14px */
    width: 100%;
    max-width: 520px;
    background: #222;
    margin-right: -10px;
}

#nav a {
    float: left;
    display: block;
    background: #222;
    padding: .3125em 5% .52083333333333em 0; /* 15px / 48px, 25px / 48px */
    text-align: right;
    color: #fff;
    text-decoration: none;
    width: 15%;
    min-height: 1.5625em; /* 75px / 48px */
}

#nav a small {
    display: block;
    clear: both;
    font-size: 0.29166666666667em; /* 14px / 48px */
    text-transform: uppercase;
}

#nav a:hover, #nav a:active, #nav .current {
    background: white;
    color: #00a2f5;
}
Has anyone else had a similar issue?
Attached Images
File Type: jpg screenshot.jpg (48.2 KB, 4 views)
__________________

Please login or register to view this content. Registration is FREE
pealo86 is offline
Reply With Quote
View Public Profile Visit pealo86's homepage!
 
 
Register now for full access!
Old 05-06-2012, 06:39 AM Re: Opera changing colours of elements
miki86's Avatar
Extreme Talker

Posts: 239
Location: print_r($serbia);
Trades: 0
That's strange.
Even though the element background is #FFFFFF, opera displays it as grey.
I never run across that kind of problem.
miki86 is offline
Reply With Quote
View Public Profile
 
Old 05-08-2012, 02:48 AM Re: Opera changing colours of elements
vultren's Avatar
Super Spam Talker

Posts: 790
Name: Tony
Location: Seattle Washington
Trades: 1
It's pulling #d2d2d2 from somewhere else. I'd be able to tell you, but am absolutely baffled as to the reasoning behind the cleanliness in your code.

Seriously though, who really cares? How many people even use Opera?
__________________

Please login or register to view this content. Registration is FREE

"Do or do not, there is no try"
vultren is offline
Reply With Quote
View Public Profile
 
Old 05-08-2012, 03:06 AM Re: Opera changing colours of elements
pealo86's Avatar
Super Spam Talker

Posts: 878
Name: Matt Pealing
Location: England, north west
Trades: 0
Strange indeed! I can set it as red, just not white for some reason.

I can't say it's exactly keeping me awake at night to be honest though
__________________

Please login or register to view this content. Registration is FREE
pealo86 is offline
Reply With Quote
View Public Profile Visit pealo86's homepage!
 
Reply     « Reply to Opera changing colours of elements
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.20436 seconds with 12 queries