CSS Help

Recommended Videos

gamma1234

New member
Nov 12, 2011
9
0
0
Hey guys,
I'm doing a web design assignment for university, and I was wondering if anyone could help me a bit.

See, I have the CSS page set up with a div class which I'm using to have text in so I can have the text on a different coloured background to the right and left hand sides.

However, the div class won't extend to the bottom of the page, so it's left with a bit of colour below it. If anyone could offer any help on this, it'd be greatly appreciated. Here's the CSS section for the div class:


.centre
{
margin-right:10%;
margin-left:10%;
background-color:#000000;
max-width:80%;
}
 

Esotera

New member
May 5, 2011
3,400
0
0
Shouldn't centre be center, unless it's a custom name?

My CSS is poor so I can't really help you out much more without html...sorry.