Reply
Using spacers in Firefox
Old 04-26-2007, 10:09 AM Using spacers in Firefox
wilbury's Avatar
Skilled Talker

Posts: 62
I created a table-based newsletter which appears fine in IE but shows extra white space in Firefox, caused by spacer gifs. When I created the page in Dreamweaver it showed that there were no browser errors.

I thought I read that spacers needed alt tags to render in Firefox, but this doesn't seem to make a difference.

Any ideas?

Thanks,
Wilbury
wilbury is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 04-26-2007, 10:24 AM Re: Using spacers in Firefox
LadynRed's Avatar
Super Moderator

Posts: 6,559
Location: Tennessee
I think you read wrong. A spacer is nothing but a transparent gif and FF has no problem with that transparency, and the alt ATTRIBUTE makes no difference whatsoever.

Did you use CSS in this newsletter ?
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club
LadynRed is online now
Reply With Quote
View Public Profile
 
Old 04-26-2007, 10:53 AM Re: Using spacers in Firefox
wilbury's Avatar
Skilled Talker

Posts: 62
Only to apply line spacing, height, and padding to text.

I know that using spacers can be tricky, but keeping the table a set width can be a nightmare.
wilbury is offline
Reply With Quote
View Public Profile
 
Old 04-26-2007, 10:58 AM Re: Using spacers in Firefox
LadynRed's Avatar
Super Moderator

Posts: 6,559
Location: Tennessee
Can we see the code ? Would be easier to debug that way
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club
LadynRed is online now
Reply With Quote
View Public Profile
 
Old 04-26-2007, 12:06 PM Re: Using spacers in Firefox
wilbury's Avatar
Skilled Talker

Posts: 62
Here it is. Thanks

http://www.diamondpackaging.com/news...ng07_test2.htm
wilbury is offline
Reply With Quote
View Public Profile
 
Old 04-26-2007, 12:29 PM Re: Using spacers in Firefox
Silent77's Avatar
Ultra Talker

Posts: 255
Name: Silent
Location: Ohio
I don't see any extra space.
__________________
Firefox
rediscover the web
Get Firefox today it's free! Down with internet explorer!
Silent77 is offline
Reply With Quote
View Public Profile Visit Silent77's homepage!
 
Old 04-26-2007, 12:36 PM Re: Using spacers in Firefox
LadynRed's Avatar
Super Moderator

Posts: 6,559
Location: Tennessee
You can try adding this to your css:

img{border: none;}
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club
LadynRed is online now
Reply With Quote
View Public Profile
 
Old 04-26-2007, 02:15 PM Re: Using spacers in Firefox
wilbury's Avatar
Skilled Talker

Posts: 62
Thanks for the tips.

I tried adding the img class (border: none), but it didn't seem to make a difference. For some reason, Firefox renders the spacer(s) with more white space than IE. Oddly enough, it doesn't affect a thin spacer that divides the lower two columns.
wilbury is offline
Reply With Quote
View Public Profile
 
Old 04-26-2007, 03:04 PM Re: Using spacers in Firefox
LadynRed's Avatar
Super Moderator

Posts: 6,559
Location: Tennessee
Ok, I'm afraid this is more about IE's INCORRECT rendering of the styles you have and less about FF. I suspect that line-height: 14px might have something to do with it too.

It would be a whole lot easier to fix if it wasn't tables.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club
LadynRed is online now
Reply With Quote
View Public Profile
 
Reply     « Reply to Using spacers in Firefox
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.19905 seconds with 12 queries