New Way of Hacking
Hacks for opera and other browser
I have done some research on how to hack for opera and the result is two possibilities:
The first one is to use javascript code which let you hack for all browser. Great
here is the link: http://rafael.adm.br/css_browser_selector/
And I have attached a example folder which contains an index.html, main.css and a javascript file called css_browser_selector.js attached to index.html in which I have done some hacks to the container in opera and it is working.
The scond way is to put a code in the main css the following way:
/* hack for Opera */
@media all and (min-width: 0px){
#container
{
width: 100% !important;
margin:0 0 0 200px;
}
}
and also it is working and the link forthe site is:
http://www.positioniseverything.net/articles/onetruelayout/verticalgrid
and I have used it in the same example in the folder attached.(hacking also for the container)
and you can play with other selectors in the css to see for yourself the result(in opera or other browser).
About this entry
You’re currently reading “New Way of Hacking,” an entry on ScriptDesign
- Published:
- 21 October, 2007 / 8:58
- Category:
- hacks
- Tags:
No comments yet
Jump to comment form | comments rss [?] | trackback uri [?]