I am having problems with my site at http://www.sourcing4u.co.uk in Firefox
The site displays fine in IE6 and IE7 but the CSS seems to be ignored in Firefox (1.5 and 2)
The CSS file is at http://www.sourcing4u.co.uk/CSS.css
Any help would be much appreciated.
Thank you
Andy.
You are aware you haven't
You are aware you haven't got a doctype?
/waits patiently for the "dur whut's a doctype" question . . . .
Your patience shall be
Your patience shall be rewarded.
As far as I can tell I have a content type in the HTML, I know very little about CSS (as you can tell) but our online shop at http://www.sourcing4u.co.uk/shop which uses this CSS file http://www.sourcing4u.co.uk/shop/stylesheet.css works fine in IE and firefox.
Please let me know if you think Doctype is the issue and if possible tell me what to put where etc
Thank you.
Without a proper doctype,
Without a proper doctype, you are leaving it up to the browsers to decide how to render your code. More importantly, IE goes into quirks mode and, apparently, you have designed your whole site around their broken box model.
See my link below. Use html4.01 strict as the first line of your page. Then validate your html and css and fix your many errors.
The reason your css is not being rendered is because you having misplaced brackets in the css.
I will sort the doctype out
I will sort the doctype out shortly, any clues as to where my misplaced brackets are?
Thank you.
body{
body{
color:#333;
{
Do you know how to use both validators?
Yes,Thank you very much
Yes,
Thank you very much for the help, both validate properly and (after a few height and position adjustments in my CSS) the page displays properly in IE7 and Firefox 2
Thanks again,
Andy
Sourcing4U wrote:Yes, Thank
Yes,
Thank you very much for the help, both validate properly and (after a few height and position adjustments in my CSS) the page displays properly in IE7 and Firefox 2
Thanks again,
Andy
Now you can see why we go on about validation so much Glad you got it sorted.
Yes I can, thanks again. I
Yes I can, thanks again.
I have managed to get most of the pages on our site validated, by using the CSS for image borders etc etc but cannot see a way to get our links page validated.
Also, if you click buy online you will see our OSCommerce based shop, this has countless errors which I doubt can ever be fixed.
Andy.