Home › Forums › CSS › Creating tables with DIV › Re: Creating tables with DIV
October 21, 2008 at 11:40 pm
#50698
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;}
div#statusBox .name {float: left;}
HTML
Code:
Name: Status:
Name will be on the left edge, status on the right.