Log In · Register

 
quick div problem, please it'll take like 13 seconds to help
add1cted2f1re
post May 7 2006, 09:33 PM
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
 
 
Start new topic
Replies
freeflow
post May 7 2006, 09:52 PM
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 wink.gif
If you have too you can change the
top & left to margin-top and/or margin-left
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: