I have started studying about HTML and CSS Style Sheet, so I always meet some problem with its layout. First time, I have preview in Fire Fox; it is OK, but in browser IE 6 has some broken. I would like someone give suggestion how to fix this problems with all of borwsers.
HTML Layout Problem whith variouse Browsers
The most of new browsers working correct and display page in right way. Sometimes you will find some differences but if you code CSS and HTML in the right way this differences will see only profesionals. IE6 and some other older browsers can broke your proper codding. In that case you can use some hacks (for all browser) or conditional comments for IE browsers. Here is good tutorial for conditional comments:
http://www.quirksmode.org/css/condcom.html
For hacks you can grrgle little bit. One simple CSS example what read only IE6:
If you put before this deffinition
all browsers will show jellow border but IE6 will show black.
Sonam
http://www.quirksmode.org/css/condcom.html
For hacks you can grrgle little bit. One simple CSS example what read only IE6:
| Code: |
| * html .main {
border : 1px solid #000000; } |
If you put before this deffinition
| Code: |
| .main {
border : 1px solid #ffffcc; } |
all browsers will show jellow border but IE6 will show black.
Sonam
recommend the people that are browsing your site to change their browser...
IE6 is pretty old... I don't optimize my sites for IE6... screw the people who still use it (about 20% of the people who visit my site - yes it is a lot of people but I prefer to worry about the other 80%)...
IE6 is pretty old... I don't optimize my sites for IE6... screw the people who still use it (about 20% of the people who visit my site - yes it is a lot of people but I prefer to worry about the other 80%)...
| Quote: |
| recommend the people that are browsing your site to change their browser |
I am not recommand this solution if you are build profesional site. This is good solution for clans, some special forums, etc. but not for profesional sites. Ok, I sow few nice and frendly messages about IE6 browser but in most situations I have fealing like one idiot.
Sonam
Related topics
