Home › Forums › CSS › Aligning items in CSS › Re: Aligning items in CSS
March 12, 2013 at 8:34 am
#127863
Paulie_D
Member
>I’ve removed the position:relative, is that correct?
It’s probably not doing anything so it can’t hurt.
You can combine this
#slider {
float:left;
}
and
#slider {
border:15px solid #000000;
width:550px;
height:300px;
margin:10px;
box-shadow:0 7px 10px 0 #444444;
}
into this
#slider {
border:15px solid #000000;
width:550px;
height:300px;
margin:10px;
box-shadow:0 7px 10px 0 #444444;
float:left;
}
If you want…