Hi,
I have a page that I have made a reference too in an earlier thread that I have been changing over from tables over to CSS. While it has been an interesting journey, I am close to the end of it. When I view my page in IE6 it looks great! However, when I view it in Mozilla there is an issue with backgrounds. If you want to see what I am talking about it is located at:
<!-- m --><a class="postlink" href="http://www.hemisphere.net/contactp2.htm">http://www.hemisphere.net/contactp2.htm</a><!-- m -->
Thanks for any help you guys can give!
Lisa1. Valid HTML is a prerequisite to behaving CSS: <!-- m --><a class="postlink" href="http://validator.w3.org/check?verbose=1&uri=http%3A//www.hemisphere.net/contactp2.htm">http://validator.w3.org/check?verbose=1 ... tactp2.htm</a><!-- m -->
2. Since Gecko browsers are superior to IE in standard support (and pretty much every other respect), you first develop your CSS using Mozilla and then see what kind of hacks you need to make it work in sub-par HTML renderer a.k.a. IE If I were you I'd put all the form into a div and put the background on the div.
Also it may interest you to know that when you validate xhtml tags without an end tag - e.g. <img> and <input> you write them as <img />. Note that this does not apply to elements with an end tag like <table> </table>, <td> </td>, <div> </div>, <p> </p> etc.
I have a page that I have made a reference too in an earlier thread that I have been changing over from tables over to CSS. While it has been an interesting journey, I am close to the end of it. When I view my page in IE6 it looks great! However, when I view it in Mozilla there is an issue with backgrounds. If you want to see what I am talking about it is located at:
<!-- m --><a class="postlink" href="http://www.hemisphere.net/contactp2.htm">http://www.hemisphere.net/contactp2.htm</a><!-- m -->
Thanks for any help you guys can give!
Lisa1. Valid HTML is a prerequisite to behaving CSS: <!-- m --><a class="postlink" href="http://validator.w3.org/check?verbose=1&uri=http%3A//www.hemisphere.net/contactp2.htm">http://validator.w3.org/check?verbose=1 ... tactp2.htm</a><!-- m -->
2. Since Gecko browsers are superior to IE in standard support (and pretty much every other respect), you first develop your CSS using Mozilla and then see what kind of hacks you need to make it work in sub-par HTML renderer a.k.a. IE If I were you I'd put all the form into a div and put the background on the div.
Also it may interest you to know that when you validate xhtml tags without an end tag - e.g. <img> and <input> you write them as <img />. Note that this does not apply to elements with an end tag like <table> </table>, <td> </td>, <div> </div>, <p> </p> etc.