Reply LinkBack Thread Tools Search this Thread
Old 03-03-2006, 20:34   #1 (permalink)
datahound
Spare Parts
 
datahound's Avatar
 
Join Date: Jan 2005
Location: Bracknell Forest
Posts: 5,118
a leeetle CSS help if you have a mo?

http://www.spiderx.com/800_photo_style.htm

I put this together and all was going well until I put the pics in.

FF looks great, IE is putting thin space below them?

Thanks.

(No crit req'd just practice.)
  Reply With Quote
Old 03-03-2006, 20:55   #2 (permalink)
datahound
Spare Parts
 
datahound's Avatar
 
Join Date: Jan 2005
Location: Bracknell Forest
Posts: 5,118
fixed it.

had to change

<div id="menu">
<img src="spxorange170.gif">
</div>

to

<div id="menu"><img src="spxorange170.gif"></div>

mad.
  Reply With Quote
Old 03-03-2006, 21:00   #3 (permalink)
chris_bcn
Goodbye little old lady
 
chris_bcn's Avatar
 
Join Date: Jun 2005
Location: Geordie in SF
Posts: 340
Send a message via MSN to chris_bcn
you might also want to change
#menu to .menu
and
<div id="menu">
to
<div class="menu">

seeing as you use it more than once on the page
  Reply With Quote
Old 03-03-2006, 21:06   #4 (permalink)
datahound
Spare Parts
 
datahound's Avatar
 
Join Date: Jan 2005
Location: Bracknell Forest
Posts: 5,118
Thanks for that, I use many multiples on the page. Is that the rule, if it is used more than once it is a class? And only once for id?
  Reply With Quote
Old 03-03-2006, 21:10   #5 (permalink)
datahound
Spare Parts
 
datahound's Avatar
 
Join Date: Jan 2005
Location: Bracknell Forest
Posts: 5,118
What if I want #menu a:hover{ } to differ from #content a:hover { } does that still work with a class?

I imagine .menu a:hover{ } works does it?
  Reply With Quote
Old 04-03-2006, 02:02   #6 (permalink)
chris_bcn
Goodbye little old lady
 
chris_bcn's Avatar
 
Join Date: Jun 2005
Location: Geordie in SF
Posts: 340
Send a message via MSN to chris_bcn
exactly - an id is only declared once per page
  Reply With Quote
Old 04-03-2006, 05:51   #7 (permalink)
datahound
Spare Parts
 
datahound's Avatar
 
Join Date: Jan 2005
Location: Bracknell Forest
Posts: 5,118
thanks.
  Reply With Quote
Old 04-03-2006, 12:27   #8 (permalink)
pgo
Senior Member
 
Join Date: Jan 2005
Posts: 12,340
And, FYI, you can always use them in combination:

<div id="header" class="menu">
<div class="header menu"> (two classes!)
  Reply With Quote
Old 05-03-2006, 21:58   #9 (permalink)
jthomas
coffee is not a crime
 
jthomas's Avatar
 
Join Date: Oct 2005
Location: Illinois, USA
Posts: 455
Quote:
Originally Posted by pgo
And, FYI, you can always use them in combination:

<div id="header" class="menu">
<div class="header menu"> (two classes!)

dude...i did NOT know that. that is cool.
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8