| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
Registered User
Join Date: Mar 2008
Posts: 41
|
cannot think, moving with css
I am having a slow thinking process today, below is my code. #main { border-style: solid; border-width: 1px; border-color: #1d1d1d; width: 947px; height: 215px; background-color: #0b0b0b; margin-top: 10px; } Basically on the screen, its just large grey box. I want to center it, is there any other way apart from using the margin property. I swear there is but like I said, im having a blonde moment if you will. cheers |
|
|
|
![]() |