Reply
Possible duplicate - trouble with images in firefox
Old 11-14-2006, 01:06 PM Possible duplicate - trouble with images in firefox
Super Talker

Posts: 127
Name: Jess Weiss
Location: Massachusetts
Sorry if this shows up twice - I thought I had posted it this a.m., but now it seems to be gone...

I have some images in "boxes" created with css on my site... http://www.jessweiss.com/mab/

They look exactly as I want them to in IE, but in Firefox, they aren't "in" the box. Any thoughts?

Also, can anyone suggest a way to get the border to touch up against the computer screen? I don't want to attach it to the body since then the vertical scroll bar will be inside rather than outside.

TIA!
__________________
"If you worried about falling off the bike, you'd never get on it" - Lance Armstrong

"The problem with people who have no vices is that generally you can be pretty sure they're going to have some pretty annoying virtues." - Elizabeth Taylor
lynnema is offline
Reply With Quote
View Public Profile Visit lynnema's homepage!
 
When You Register, These Ads Go Away!
Old 11-14-2006, 01:53 PM Re: Possible duplicate - trouble with images in firefox
LadynRed's Avatar
Super Moderator

Posts: 6,570
Location: Tennessee
What's weirder.. I replied to your post.. and it's gone too !!

I would make the suggestion that you NOT use spans. Use a div with a class on it to put in the desired background you want, and set them to float:left with a width dimension. That will make them line up horizontally. Adjust spacing with margins and padding and make sure you clear the floats.

For the border, make sure you have the margin and padding on the <body> set to 0.
__________________
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 offline
Reply With Quote
View Public Profile
 
Old 11-17-2006, 08:56 AM Re: Possible duplicate - trouble with images in firefox
Super Talker

Posts: 127
Name: Jess Weiss
Location: Massachusetts
Thanks so much for this help. Now for a bit of help on "clears"

In IE, I have a giant gap. In Firefox, I dont' have a giant gap, but I do not have the spacer tag working to create a space between the images. Any thoughts on the best way to handle this??

TIA!
__________________
"If you worried about falling off the bike, you'd never get on it" - Lance Armstrong

"The problem with people who have no vices is that generally you can be pretty sure they're going to have some pretty annoying virtues." - Elizabeth Taylor
lynnema is offline
Reply With Quote
View Public Profile Visit lynnema's homepage!
 
Old 11-17-2006, 09:47 AM Re: Possible duplicate - trouble with images in firefox
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,945
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Add this to your clear:

height: 1px;
overflow: hidden;

That should solve it.
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 11-17-2006, 10:09 AM Re: Possible duplicate - trouble with images in firefox
Super Talker

Posts: 127
Name: Jess Weiss
Location: Massachusetts
Doesn't seem to have done the trick...
__________________
"If you worried about falling off the bike, you'd never get on it" - Lance Armstrong

"The problem with people who have no vices is that generally you can be pretty sure they're going to have some pretty annoying virtues." - Elizabeth Taylor
lynnema is offline
Reply With Quote
View Public Profile Visit lynnema's homepage!
 
Old 11-17-2006, 01:06 PM Re: Possible duplicate - trouble with images in firefox
LadynRed's Avatar
Super Moderator

Posts: 6,570
Location: Tennessee
I do my clears this way:

.brclear { /* Use a break with this class to clear float containers on both sides */
clear:both;
height:0;
margin:0;
font-size: 1px;
line-height: 0;
}

Then in the code, rather than a div, I use <br class="brclear" />

You really should also add a valid DOCTYPE to your pages, that will help a great deal too. HTML Strict would be a good choice.
__________________
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 offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Possible duplicate - trouble with images 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.14248 seconds with 12 queries