cykcykacz
18.07.2013, 08:05:21
Hej,
mam taki problemik:
I jak zrobić żeby "box2" był przed "box"?
A i css:
#page {width:600px;height:auto;}
#box {width:600px;height:20px;}
#box2 {width:600px;height:20px;}
b4rt3kk
18.07.2013, 08:10:31
cykcykacz
18.07.2013, 08:14:55
Hehehe,
może źle sformuowałem pytanie ale przy takim html jak to ustawić css?
b4rt3kk
18.07.2013, 08:21:11
Zapewne chodzi o SEO? Możesz się bawić w position: relative lub użyć JS. Przestawienie kolejności tak jak napisałem wyżej odpada?
cykcykacz
18.07.2013, 08:32:26
Mam:
#page {width:800px;height:auto;margin:0 auto;}
#box {background-color: pink;
height: 20px;
position: relative;
top: 20px;
width: 800px;
z-index: 10;}
#box2 {background-color: orange;
height: 20px;
position: relative;
top: -20px;
width: 800px;}