CSS Problems with my blog !!
Friday, January 26, 2007
1 comments
I was shocked when i saw my blog how it appeared in IE 6, 7. It was awkward especially the main wrappers 'margin:auto' setting did not work at all. DAMN !!! I was cursing as i kept tweaking to see any improvements. Then turned to my usual way of solving problems. 'JUST GOOGLE IT !!!' and i got the answer - I forgot to include full valid DTD for my page so IE refuses to show it properly. Then how the hell does firefox do it ???
----I added this and it worked----
with hashes '#' removed
<###!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"###>
<###!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"###>
I just love FIREFOX !!! so many addons, tweaks, proper CSS layouts etc etc... Still there are problems in viewing with IE. Especially the 'li' of the first item get a big indent, the top image doesnt appear top aligned and some more minor probs...
hmm... so i recommend using firefox coz its in all ways better than IE.
Under