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 10-25-2005, 03:07 PM table inside a div
Average Talker

Posts: 19
Trades: 0
I have a table inside a div.
This table should be at a width of approximately 60% of the screen. however, there are fields within the table that at times, for some reason make the table wider than it should be. The is program generated. I've gone down through it and for a while, it's fine, and then at some point it gets to a field which is wider than it can accomodate, and there's a nowrap on the <td>, so something happens to the table that makes it wider. This is really frustrating.
Originally, this table was fine (to my knowledge), but I had to add a navigation div which floats next to the table to the left. So I figured that if I reduced the width of the table, that would solve things, but it doesn't. Also, because the table seems to have its own width problem, the table doesn't go next to the navigation div, but below it.
I went and and cut the report in half or so, and then it situates itself to the right of the nav div just fine.

My question is, can I put this table inside a div and set a width to that div, and have that width strictly enforced so that the table can't go beyond that?
HockeyFan is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-25-2005, 04:38 PM
0beron's Avatar
Defies a Status

Posts: 1,832
Location: Somewhere else entirely
Trades: 0
If there is a no-wrap on the table cell contents, do you intend them to spill out of the table cell if the contents are too big?
__________________
UPDATE 0beron SET talkupation = talkupation + lots WHERE post = 'helpful';

Please login or register to view this content. Registration is FREE
(aka MSN handwriting for forums)
0beron is offline
Reply With Quote
View Public Profile Visit 0beron's homepage!
 
Reply     « Reply to table inside a div
 

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.42198 seconds with 12 queries