March 22, 200719 yr I was wondering if anyone would have a quick look at this page here, both in IE and Firefox. I positioned the pictures where I want them in IE, but they move in Firefox. I saw a suggestion to someone with a similar problem was to add the following code to the style sheet, but doesn't seem to have done anything. Any suggestions? body {margin: 0px; padding:0px; z-index: 0; }
March 22, 200719 yr The code you've pasted above relates to your entire site - not the individual images you have on it as it's the <body> tag. I've just had a quick look at your source code - OH MY LORD! You've got styles all over the place. I would suggest taking your styles out of the HTML and putting them into your style sheet - then it sould be easier to manage and also easier to see what the problem is - I can't be bothered to trawl through tons of code to try and find what the issue might be.
March 22, 200719 yr Author Ok, no problem - thanks for taking a look. And cheers for the comments on the coding - I did worry it was untidy as I wrote it with very little clue as to how CSS should really be used, and think I've got to grips with it a little more now. Hadn't realised it was so bad though, so will redo, rather than leaving it like i was planning on lol - shouldn't take me long to rebuild the entire site... 80 Thanks again
March 22, 200719 yr Just keep all your styles in a stylesheet rather than within your HTML as it's a lot easier to work that way
Create an account or sign in to comment