Posts: 457
Name: Randy
Location: Northern Wisconsin
|
Quote:
|
If i specify width and float for the second column(span) also then it works. But i don't want to do that in that way.
|
But that's how you do it. You float the columns and specify a width for each, otherwise the right content will always kick back to the far left side of the containing div.
Also, I would use div's for those. Why use span and then have to specify "block"? Div's are block by nature.
Also, your spans could end up inheriting other span styling in the same container as well.
A link always helps too when available.
Last edited by racer x; 09-25-2010 at 11:55 AM..
|