...

View Full Version : Changing text position



nick2price
07-24-2012, 01:17 AM
Hi, for my site, I use a table to display some data. The format is pretty much like


<td><a href="#">Buy a <strong>Pen</strong><span class="tableText">from <strong>1.00</strong></span></a></td>


And the way it is set up with css, it displays on my site like (dots do not display, this is only used to create the space).

Buy a Pen.............................................from 1.00

So everything works perfectly, but now I am working with my media quiries. What I need is the tableText inside every <td> to display on a new line, so the above would be like

Buy a Pen
from 1.00

Is it possible to create basically a paragraph with css, or create a new line? I cant change the html because otherwise it will change the layout to my desktop version of the website.

Cheers

tempz
07-24-2012, 02:37 AM
<table style="width: 11%">
<tr>
<td><a href="#">Buy a <strong>Pen</strong></a></td>
</tr>
<tr>
<td><span class="tableText">from <strong>1.00</strong></span></td>
</tr>
</table>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum