Jump to content

<td> regards


genzedu777

Recommended Posts

Hi,

 

I have a question, i will like to align my words in the <td>. Currently the content skip to a new line, i will prefer it to be on just one line. Attached is the example.

 

Is there a way to adjust the width? I have tried, but it didnt work.

td {

width: 300px;

}

 

Thanks

 

[attachment deleted by admin]

Link to comment
Share on other sites

Hi,

 

Thanks for the info, it works now, it is align according to the box. However all the contents happen to be at the extreme left, I will like it to be aligned vertically as well.

 

I have tried using positioning on <tr>, but it does not move at all. May I know did I miss out anything? Thanks

 

#container {

position: absolute;

top: 110px;

width: 920px;

height: 2000px;

border: solid 1px #CDCDCD;

background: white;

font-family: Arial, Verdana, Tahoma, Helvetica, sans-serif;

font-size: 50%;

}

#container table {

width: 100%;

}

#container tr {

position: relative;

left: 120px;

}

 

[attachment deleted by admin]

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.