Forum Moderators: open

Message Too Old, No Replies

text layout in table - pretty simple but i cant figure it

text layout in table

         

herbacious

2:04 pm on May 14, 2003 (gmt 0)

10+ Year Member



Hi there peeps

i am currently modifying a site - but i am finding that some text in a table wraps further over to the left than the line starts on (if that makes sense) and i don't know why - but it doesn't look good

could some friendly soul sticky mail me please and i will give you the url so you can see what i mean

cheers :-)

BlobFisk

2:08 pm on May 14, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hey herbacious,

I think that it would be better discussed on the thread, rather than on a series of Sticky Mails. This way, other people who may encounter this problem will have access to the solution.

If I read your post correctly, something like this is happening in the table:

...Some text in the table is wrapping
further to the left on the second line.

Do you have any CSS associated with the text? By how much further to the left is it wrapping. Could you post the code snippet of (just) the <td> where this is happening - it may help.

herbacious

11:12 am on May 15, 2003 (gmt 0)

10+ Year Member



hi there -

this is the code:

style -
A.nav { margin-left:10px; text-decoration:none; color:#ffffff; font-size:10px; font-family:arial,helvetica,sans-serif;}

<td width=146 valign='top' align='left'>

<!-- Right iframe //-->
<!-- BESTSELLERS //-->

<img src='http://url/isroot/live2play/images/rightimages/hp_bestsellers.gif' alt='best sellers'>

<a class='nav' href='http://www.url.net/index.php?prodcode=KC3-playnow'>ENCORE "PLAYNOW" ELECTRIC GUITAR SET</a><br>

i think it could be the margin-left attribute, but why doesnt it keep the margin when it wraps the text..?

thanks a lot for your help

mossimo

2:10 pm on May 15, 2003 (gmt 0)

10+ Year Member



To the best of my knowledge when a link is forced to wrap to the next line it will ignore any special rules such as margin or padding.

You may just want to add a <BR> and make the second line a link with the same destination as the first. I see nothing wrong with your code nor can I figure out any other type of fix. I tried. :(

herbacious

2:34 pm on May 15, 2003 (gmt 0)

10+ Year Member



thanks a lot for your effort

i will make it two links as you suggest - simple and effective :-)

take it easy