HTML Question - Trying to get 3 widgets in a single horizontal line, in an HTML...

Scoops

New member
...block (Simple Portal)? I want to put a few HTML blocks in a line. How do I do that? Everything I try just stacks them on top of each other. I'm trying to take 3 different widgets and put them in one HTML block side-by-side. I'd also like to do the same for two of my affiliate blocks, because they compliment each other very well.

I'm very much new at this, so the simpler the explanation, the better lol. I'm pretty much just the owner and idea guy but am learning a lot and loving it. I'm finding it to be very addicting, especially CSS (actually just the style sheets lol).
 
if the widgets are all in a DIV find out the ID of these DIVs

Then using CSS simply align one on the right side, one on the left and one in the middle using float.

div#widget1{
float: left;
}

div#widget2{
float: center;
}

div#widget2{
float: right;
}

You could also use tables, but that's just bad codework and SOOOO web1.0
 
Back
Top