![]() | | ||||||||
| | #1 |
| Warrior Member Join Date: Sep 2008
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
|
I want to center my website and behind the centered div tag i want to have a plain gray background but i can't seem to get any codes to work. Please give me the exact codes and where to put them...i dont know if i should put it in a css or right in the page code. |
| | |
| | |
| | #2 |
| Happily Self-Employed War Room Member Join Date: Jan 2007 Location: Philadelphia, PA
Posts: 797
Thanks: 16
Thanked 345 Times in 53 Posts
|
Whether you put the CSS in the page or in a separate file is irrelevant, the effect is the same if you target the appropriate element. HTML Code: <div style="background: #ccc">Gray Background Div</div> |
| | |
| | |
![]() |
|
| Tags |
| background, centered, code, css, div, exact, put, tag |
| Thread Tools | |
| |
![]() |