Hi BobCSD,
It is possible to use two SPAN tags or even just one for the first column. The first column/span will have its class attribute set to 'col-1' and a CSS property to the set the padding 'padding-left: 20px;'. So, when you need to make the first column/span invisible you just need to set this CSS property 'display: none;' this will hide the content and the padding of the first column/span, then your second column/span or just text will automatically be aligned to the left.
Note: this will work with some bit of text, if you have more text that can cause a new line then you will need to use DIV tags instead of SPAN tags, but you will need also to put other CSS properties to get the desired effect.
Please, take a look at the code snippet attached (I have uploaded it too):
Main Topics
Browse All Topics





by: KravimirPosted on 2009-10-16 at 07:25:50ID: 25589844
There are multiple ways to do that. Which one is best for what you're trying to achieve depends on the specifics.
In the simplest case give the left one float:left and a right margin.