Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Old 01-20-2009, 02:39 PM Table width
Experienced Talker

Posts: 48
Name: Harold
Trades: 0
Hi all, I have a simple inquiry. I'm trying to limit the width of the content that appears in the table below, which is generated from a database. I want to add a tag or code so that the maximum character width in the Dealer Details is 50 characters wide, and any additional content is brought down to a new row. Can someone help me?

<tr>
<td class="{phpStoreFinderStyle}FieldCaptionTD">Detail s</td>

<td class="{phpStoreFinderStyle}DataTD">{Dealer_Detail s}</td>

</tr>
Hans G. is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-20-2009, 07:17 PM Re: Table width
Experienced Talker

Posts: 48
Name: Harold
Trades: 0
Anyone?
Hans G. is offline
Reply With Quote
View Public Profile
 
Old 01-20-2009, 08:23 PM Re: Table width
Zycron's Avatar
Novice Talker

Posts: 10
Name: Keith
Trades: 0
Cell widths can be in either pixels or %. 50 characters (12pt font) is 400 pixels, so:

Code:
<td width="400" class="{phpStoreFinderStyle}DataTD">{Dealer_Detail s}</td>
__________________

Please login or register to view this content. Registration is FREE
Zycron is offline
Reply With Quote
View Public Profile Visit Zycron's homepage!
 
Old 01-20-2009, 08:36 PM Re: Table width
Truly's Avatar
Ultra Talker

Posts: 322
Trades: 0
Hans its probably best for you to use CSS. The site that has helped me get to where I am now (not good but hopefully past the awful stage ) was http://www.w3schools.com
__________________
DVD Movie Release Database:
Please login or register to view this content. Registration is FREE
Truly is offline
Reply With Quote
View Public Profile
 
Old 01-20-2009, 10:36 PM Re: Table width
Skilled Talker

Posts: 68
Name: Avi Zolty
Location: Atlanta
Trades: 0
try putting a <table> </table> tag around it
then you can specify (in your case) width.
for example
<table width="500">

__________________
"If you say something interesting, people will remember your name" ~ Anonymous


Please login or register to view this content. Registration is FREE
.asp <- Irony
Zoltar1992 is offline
Reply With Quote
View Public Profile
 
Old 01-21-2009, 02:18 AM Re: Table width
Experienced Talker

Posts: 48
Name: Harold
Trades: 0
thanks for your help!
Hans G. is offline
Reply With Quote
View Public Profile
 
Old 01-21-2009, 02:35 AM Re: Table width
francis84's Avatar
Super Spam Talker

Posts: 931
Trades: 0
My friend (who knows a lot in web designing) told me that it has something to do in CSS.
He is asking if its in PHP?
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
francis84 is offline
Reply With Quote
View Public Profile Visit francis84's homepage!
 
Reply     « Reply to Table width
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.71699 seconds with 12 queries