Old 10-02-2008, 14:20   #1 (permalink)
88mph
Great Scott!!
 
88mph's Avatar
 
Join Date: Feb 2008
Posts: 272
CSS Not working?

for some reason, a background colour to a my contentContainer div doesn't do anything

I'm pretty new to this, and it's prob something daft, but i am really struggling!!

Do something good today, help an idiot!!

www.mydinnerparty.co.uk/downloads/archive.zip <--source

(please ignore hideousness of site at present, it will be pretty when finished, promise!)
  Reply With Quote
Old 10-02-2008, 14:30   #2 (permalink)
Dusteh
Sir digby chicken caesar
 
Dusteh's Avatar
 
Join Date: Sep 2004
Posts: 5,586
Your absolute positioning of all the child elements means it doesn't think it has a width or height.
__________________
unconsolidated isoparms
  Reply With Quote
Old 10-02-2008, 14:43   #3 (permalink)
88mph
Great Scott!!
 
88mph's Avatar
 
Join Date: Feb 2008
Posts: 272
okay, so how should i work it, use floats?
  Reply With Quote
Old 10-02-2008, 14:54   #4 (permalink)
Dusteh
Sir digby chicken caesar
 
Dusteh's Avatar
 
Join Date: Sep 2004
Posts: 5,586
yes you could do that.

I recommend having a look at some existing css templates out there, and get a feel for how they handle the content; this is a good start: Content with Style: A CSS Framework
__________________
unconsolidated isoparms
  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