Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CSS in Opera, when Opera says it's IE

Status
Not open for further replies.

DaRNCaT

Technical User
Dec 18, 2002
566
NZ
I have two style sheets, one for IE, and one for everything else, which works wonderfully, EXCEPT when Opera says it's IE,

Is there some simple rules for creating CSS for opera pretending to be IE?

Is there some way of stopping this messing up, the layout is compleatly fudged in opera as IE, but works fine in opera as anything else, IE works fine, all other browsers work fine.
HELP!

----------------------------------------
Sometimes, when my code just won't behave, I take it outside and make it listen to britney spears music, and when it comes back it's really well behaved. I wonder if it's suffering from post tramatic stress syndrome now..
 

Do you have valid DOCTYPE at the top of your HTML page? If not, try adding one in and seeing if that helps.

AFAIK (although admittedly, I've not looked into this) if Opera is reporting itself to be IE, there would be no easy way of determining otherwise. Maybe you could raise this with the people who write Opera (maybe they have community support forums, etc?)

Hope this helps,
Dan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top