Jump to content

CSS Div issues


Ghozer

Recommended Posts

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

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

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

how?

 

 

:huh::huh::huh::huh::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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.