Forums

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

Home Forums CSS Creating tables with DIV Re: Creating tables with DIV

#50698
Cotton
Member

I’m not sure if I follow, but… why don’t you put the section in a div with text-align to the right, then make a class for the name and float it left.

CSS

Code:
div#statusBox {width: 20%; float: right; text-align:right;
div#statusBox .name {float: left;}

HTML

Code:
Name: Status:

Name will be on the left edge, status on the right.