Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Dreamweaver (all versions) section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old September 24th, 2003, 06:43 AM
Authorized User
Join Date: Aug 2003
Location: , , India.
Posts: 78
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to spraveens
Default regarding tables


My Problem is that when the length of the text inside a table is on the increase , the width of the table automatically increases,now I want the width of the table to be constant and the text inside the table should be wraped(goto next line on reaching the end of table)
How do I do It?please give code!!
Reply With Quote
  #2 (permalink)  
Old September 24th, 2003, 07:21 AM
Imar's Avatar
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts

Hi Praveen,

The problem with table widths is that the browser will see the width as a recommendation. This means that when it needs more room for content, it will just take more room.

There are a couple of ways around this. You can use CSS to force the width of the table columns. Alternatively, you can add spacer images to the first or last cell of each column to force the width. Using spacer images is considered "bad practice" and "old skool" but if you need to support older browsers as well, it's a viable solution, IMO.

Take a look at the following article:


You may want to follow the 4 links / examples on this page as they show you a couple of solutions.

If that doesn't help, please post your table with content, so we can take a look at it.



Imar Spaanjaars
Everyone is unique, except for me.
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
creating tables within tables in access??? carswelljr Access 3 August 23rd, 2006 01:21 PM
Fixed tables and/or fixed bkgrnd in tables slg111875 Dreamweaver (all versions) 1 June 22nd, 2006 02:31 PM
Tables mistry_bhavin ADO.NET 2 May 4th, 2004 09:16 AM
Regarding Tables spraveens HTML Code Clinic 2 October 20th, 2003 04:46 AM
Tables andy24 Classic ASP Databases 3 July 23rd, 2003 11:09 AM

All times are GMT -4. The time now is 07:56 PM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.