Ghozer Posted June 6, 2009 Share Posted June 6, 2009 I'm redesigning my website, getting rid of all the tables and using css and DIV's only (why not eh?) and i'm making my forum, I have the alignment of everything correct and how I want it, but when I set a background colour for my forum header div, it doesn't apply... does anyone have any ideas why? page = http://84.13.212.175/?p=forums css = http://84.13.212.175/hybrid.css Link to comment Share on other sites More sharing options...
Guest Posted June 6, 2009 Share Posted June 6, 2009 What's the <div>'s name? Incidentally you have what all us web devs get when we start using CSS properly, it's called divitis You'll find eventually you don't need so many, you can also usually use the elements you have instead of slapping a div around. All comes with practice Get Firebug installed for Firefox too, best damned debugging tools ever IMO. Link to comment Share on other sites More sharing options...
Ghozer Posted June 6, 2009 Author Share Posted June 6, 2009 I can't see any way of doing this as customisible as I want, with less div's and aligning the text as I want with less... the <div>'s name is forum_grp_head, and it's a repeated (class) div Link to comment Share on other sites More sharing options...
Ghozer Posted June 6, 2009 Author Share Posted June 6, 2009 Firebug shows that it's using the correct element, and background decleration, but it's just not working ?? Link to comment Share on other sites More sharing options...
Ghozer Posted June 6, 2009 Author Share Posted June 6, 2009 .... sorted Link to comment Share on other sites More sharing options...
andyofborg Posted June 6, 2009 Share Posted June 6, 2009 .... sorted how? :huh::huh::huh: Link to comment Share on other sites More sharing options...
Ghozer Posted June 6, 2009 Author Share Posted June 6, 2009 how? :huh::huh::huh: I had a container div, and 4 "content" div's (Floated and aligned how I needed) - I was trying to background the container div, but it wasn't working (due to the others, even setting them as transparent didn't work) - I just removed the container and used the content div's, They are already in a main container (mid_content) div already, so no point having... content_div > mid_content > forum_grp_head > content_div's, just eleminated the forum_grp_head div Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.