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
https://forums.phpfreaks.com/topic/217623-regards/
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
https://forums.phpfreaks.com/topic/217623-regards/#findComment-1130234
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.