Log In · Register

 
 
Closed TopicStart new topic
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
 
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
 
add1cted2f1re
post May 7 2006, 10:08 PM
Post #3


My name is really Matt... if you care.
******

Group: Member
Posts: 1,442
Joined: Oct 2005
Member No: 258,234



z-index does what?

and THANK YOU SO MUCH TOYA

again!
=]
 
Mulder
post May 7 2006, 10:15 PM
Post #4


i lost weight with Mulder!
*******

Group: Official Designer
Posts: 4,070
Joined: Jan 2005
Member No: 79,019



its the layer

same thing with <div style="position: absolute" .... z-index=1

so, z-index 1 means layer 1. z-index 15 means layer 15.
 
add1cted2f1re
post May 7 2006, 10:27 PM
Post #5


My name is really Matt... if you care.
******

Group: Member
Posts: 1,442
Joined: Oct 2005
Member No: 258,234



ah

lol, thanks michelle
 

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