Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



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

Posts: 133
Name: Jess Weiss
Location: Massachusetts
Trades: 0
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!
 
 
Register now for full access!
Old 11-14-2006, 02:53 PM Re: Possible duplicate - trouble with images in firefox
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
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 !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 11-17-2006, 09:56 AM Re: Possible duplicate - trouble with images in firefox
Super Talker

Posts: 133
Name: Jess Weiss
Location: Massachusetts
Trades: 0
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, 10:47 AM Re: Possible duplicate - trouble with images in firefox
ADAM Web Design's Avatar
Canadastaninianite

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

height: 1px;
overflow: hidden;

That should solve it.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 11-17-2006, 11:09 AM Re: Possible duplicate - trouble with images in firefox
Super Talker

Posts: 133
Name: Jess Weiss
Location: Massachusetts
Trades: 0
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, 02:06 PM Re: Possible duplicate - trouble with images in firefox
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
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 !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Possible duplicate - trouble with images in firefox
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB 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 1.08154 seconds with 12 queries