quick div problem, please it'll take like 13 seconds to help |
quick div problem, please it'll take like 13 seconds to help |
![]()
Post
#1
|
|
![]() My name is really Matt... if you care. ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 1,442 Joined: Oct 2005 Member No: 258,234 ![]() |
how do u customize a div in the style.css file?
i know u have CODE <div class="CLASS"> and then in the style file u put CODE .CLASS { but i want to know how to move it (w/ margins or w/e) change the b/g color, etc PLEASE help |
|
|
![]() |
![]()
Post
#2
|
|
t-t-t-toyaaa ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 19,821 Joined: Apr 2004 Member No: 11,270 ![]() |
CODE <style type="text/css"> .divname{ position:absolute; top: #px; left: #px; width: #px; height: #px; z-index: #; } </style> then CODE <div class="divname"> content </div> or CODE <style type="text/css"> #divname{ position:absolute; top: #px; left: #px; width: #px; height: #px; z-index: #; } </style> then CODE <div id="divnamhere"> content </div> there you go ![]() If you have too you can change the top & left to margin-top and/or margin-left |
|
|
![]() ![]() |