By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,493 Members | 1,936 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,493 IT Pros & Developers. It's quick & easy.

spacer gif's showing in mozilla firefox

P: 3
Im a bit of a novice to web design and have constructed this site:

It displays well in IE and Safari but when in firefox the spacer gif's I used to pad it out show with a border and I can't figure out why.

Any help would be gratefully received

thanks in advance
Feb 7 '07 #1
Share this Question
Share on Google+
3 Replies

Expert 2.5K+
P: 3,405
try adding a border attribute to the image tag



style="border-width: 0px"

Feb 7 '07 #2

P: 3
Thanks Jared

I will give it a go with your advice, is there a reason why it does this, is it something on my side of things or is it to do with firefox

Thanks again in advance
Feb 8 '07 #3

Expert 5K+
P: 7,435
Your doctype is incomplete and IE goes into quirks mode. The problem is IE and not Firefox. See the sticky at the top of this forum and use html4 strict. Then validate your html and css for any errors to be fixed.
Feb 9 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.