View Full Version : DIV Positioning


e_curls
04-20-2004, 04:23 AM
hi....i'm having a lot of trouble figuring out how to fix the positioning of my layers on my site.....

this is the stylesheet code for the specific section that is div'd:


.lreview {
margin-left:0px;
top:0px;
margin-top:50px;
padding-left:5px;
padding-right:5px;
background-color:#fff;
width:250px; /* ie5win fudge begins */
width: 270px;
border:1px #f6a180 solid;
}

.rreview {
margin-left:275px;
top:0px;
margin-top:0px;
padding-left:5px;
padding-right:5px;
background-color:#fff;
width:245px; /* ie5win fudge begins */
width: 265px;
border:1px #f6a180 solid;
}

but when i fit it into everything properly on my site...it shows up like this....

jadingheart (http://www.jadingheart.com/reviews/music/music2.html)

please help me out....
thanks...
em

kicker91
04-20-2004, 04:27 AM
Suggestion:

In the div with the white box, just leave everything alone and add <center>. :)

e_curls
04-20-2004, 04:32 AM
i don't really get what you mean - div in the white box?

kicker91
04-20-2004, 04:33 AM
How about this...

In .rreveiw {, add this:
text-align:center;

e_curls
04-20-2004, 04:35 AM
that didn't work ..... ugh....this is so frustrating....lol

edit:

did you mean get rid of everything else in rreview and just put the centering?

e_curls
04-20-2004, 04:36 AM
did you mean get rid of everything else in rreview and just put the centering?

kicker91
04-20-2004, 04:37 AM
Get rid of the margins/paddings...

e_curls
04-20-2004, 04:44 AM
this is what happens now ....

jadingheart (http://www.jadingheart.com/reviews/music/music2.html)

Rosey
04-20-2004, 04:57 AM
how do you want it to look?

e_curls
04-20-2004, 04:58 AM
i would like my boxes to be side by side....in a column format...