If i want to use css and i have this code in html:
<div id="Layer9" class="Layer9" style="position: absolute; left: 211; top: 135; width: 433; height: 514; z-index: 6; visibility: visible">
how do you write this in your stylesheet?
I tried this:
.Layer9 {position: absolute; left: 211; top: 135; width: 433; height: 514; z-index: 6; visibility: visible }
but somehow it doesn't workCouple of points:
1) if layer9 is only used once then use id. if it's used lots of times then use class. you may be confusing the pc by putting id and class.
2) Units for your distances and widths.
<div id="Layer9">
stylesheet:
#layer9 {
position: absolute;
left: 211px;
top: 135px;
width: 433px;
height: 514px;
z-index: 6;
visibility: visible;
}
Alternatively (if layer9 is used more than once)
<div class="Layer9">
stylesheet:
.layer9 {
position: absolute;
left: 211px;
top: 135px;
width: 433px;
height: 514px;
z-index: 6;
visibility: visible;
}
Does that help?yep,
ffs i forgot those px's
Thx m8no probs - <joke>you can send me some of those famous Belgian Chocolates as payment!</joke> LOL
<div id="Layer9" class="Layer9" style="position: absolute; left: 211; top: 135; width: 433; height: 514; z-index: 6; visibility: visible">
how do you write this in your stylesheet?
I tried this:
.Layer9 {position: absolute; left: 211; top: 135; width: 433; height: 514; z-index: 6; visibility: visible }
but somehow it doesn't workCouple of points:
1) if layer9 is only used once then use id. if it's used lots of times then use class. you may be confusing the pc by putting id and class.
2) Units for your distances and widths.
<div id="Layer9">
stylesheet:
#layer9 {
position: absolute;
left: 211px;
top: 135px;
width: 433px;
height: 514px;
z-index: 6;
visibility: visible;
}
Alternatively (if layer9 is used more than once)
<div class="Layer9">
stylesheet:
.layer9 {
position: absolute;
left: 211px;
top: 135px;
width: 433px;
height: 514px;
z-index: 6;
visibility: visible;
}
Does that help?yep,
ffs i forgot those px's
Thx m8no probs - <joke>you can send me some of those famous Belgian Chocolates as payment!</joke> LOL