Forum Moderators: not2easy

Message Too Old, No Replies

CSS hacks for Opera 9.51

         

xziler8r

4:46 pm on Jul 24, 2008 (gmt 0)

10+ Year Member



Hey everyone, I'm having some difficulty getting Opera to style the way I need it to. I'm working on a big project that needs to be compatible with all browsers, and FF2, FF3, IE7, Safari are working great.

I've tried a few Opera hacks that I've found online but they don't seem to work properly, or other browsers pick it up as well.

I've tried html:first-child {} (which doesn't work at all) and head~body which picks up other browsers as well.

Any other recommendations?

DrDoc

1:15 am on Jul 26, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You know, Opera is most likely not the culprit here. The CSS is.

The only time I ever have to target a different browser is when dealing with IE6 and older.

The solution is not to hack for Opera, but rather to fix your CSS.

Can you post a (brief) sample of the portion of your CSS code that is giving you a headache, perhaps with the corresponding HTML portion included as well?

[edited by: DrDoc at 1:16 am (utc) on July 26, 2008]