This is a blog that was created to talk about web design. The both of us hope people can learn from this, even learn something ourselves maybe.

Friday, February 04, 2005

Be Nice To Opera

Having been confounded several times by the supposed compliancy of Opera I have been digging a little bit for some Opera tricks. I found this beauty which I will never forget, so I thought I would share it with you. Opera apparently has some positioning problems, and one image I was working with appeared some 20 pixels above where it was supposed to be, here is the solution, insert this into the HEAD of your (X)HTML document:


<style type="text/nonsense">
Your Opera Code Here;
</style>


Most of the CSS2 Standards Compliant browsers will not apply stylesheets that have a MIMEtype other than text/css, this is perfect for Opera, which WILL. This works for OSX Opera, Win Opera, Mac Opera, and the Konqueror browser (for unix) too. How neat is that!

3 Comments:

Anonymous Anonymous said...

Nice site!
[url=http://evubrevl.com/xpmq/jrud.html]My homepage[/url] | [url=http://snpgxygi.com/wefy/dxkw.html]Cool site[/url]

5:08 AM

 
Anonymous Anonymous said...

Thank you!
My homepage | Please visit

5:08 AM

 
Anonymous Anonymous said...

Great work!
http://evubrevl.com/xpmq/jrud.html | http://xqzxgcld.com/fomb/emcr.html

5:09 AM

 

Post a Comment

<< Home