Bradfields
12-17-2007, 09:47 PM
Hi All,
I'm new here so I hope it isn't considered rude for me to start with a question.
I'm a PHP programmer by trade and I'm having a few problems with the CSS on a site I'm developing. It appears fine in IE7, but in IE6 and Firefox it has issues with the borders which I believe is being caused by the margins or padding on the content of the middle section.
I have had a good read around about cross browser stuff and I'm pretty confident I'm using the right doctype and not breaking anything through bad HTML, I just don't get all this browser hack, * html and putting slashes in places that gets talked about. Every time I have tried it I can't get it to have any effect at all!!
The site is http://www.epicurosl.com - if you view it in Firefox compared to IE7 then you will see the problem straight away, and in IE6 it is even worse with columns dropping completely out of place.
I have setup a test page with no content in the main section at http://www.epicurosl.com/test.php and you will be able to see that the borders appear fine there.
The style sheets are viewable at
http://www.epicurosl.com/styles/initial.css
http://www.epicurosl.com/styles/default.css
http://www.epicurosl.com/styles/main_template.css
I'd really appreciate any help anyone can offer and also if someone can point me in the direction of a resource that explains the whole cross browser thing with examples to see the problems in action that would be amazing.
Thanks in advance.
I'm new here so I hope it isn't considered rude for me to start with a question.
I'm a PHP programmer by trade and I'm having a few problems with the CSS on a site I'm developing. It appears fine in IE7, but in IE6 and Firefox it has issues with the borders which I believe is being caused by the margins or padding on the content of the middle section.
I have had a good read around about cross browser stuff and I'm pretty confident I'm using the right doctype and not breaking anything through bad HTML, I just don't get all this browser hack, * html and putting slashes in places that gets talked about. Every time I have tried it I can't get it to have any effect at all!!
The site is http://www.epicurosl.com - if you view it in Firefox compared to IE7 then you will see the problem straight away, and in IE6 it is even worse with columns dropping completely out of place.
I have setup a test page with no content in the main section at http://www.epicurosl.com/test.php and you will be able to see that the borders appear fine there.
The style sheets are viewable at
http://www.epicurosl.com/styles/initial.css
http://www.epicurosl.com/styles/default.css
http://www.epicurosl.com/styles/main_template.css
I'd really appreciate any help anyone can offer and also if someone can point me in the direction of a resource that explains the whole cross browser thing with examples to see the problems in action that would be amazing.
Thanks in advance.