Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Aligning items in CSS Re: Aligning items in CSS

#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…