Wrox Programmer Forums
|
HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the HTML Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 24th, 2007, 08:46 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 518
Thanks: 0
Thanked 0 Times in 0 Posts
Default table width auto

table width can be auto ?

<table width=1000 height="25">

we have to display data in table, some query retrieve more
records and same retrive less.
It can be possible that table width can be defind auto.
when retrive more record it automatic increase the width.
other wise we have to increase the width 1000 to 1500 etc..

regards
Mateen
 
Old May 24th, 2007, 08:54 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 425
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Yes, with CSS. But it's unnecessary. What you describe is the default behavior of a table. Don't use width and height at all and it'll happen.

--
http://yupapa.com





Similar Threads
Thread Thread Starter Forum Replies Last Post
Table: width setting for a cell Venki XSLT 2 July 14th, 2008 09:05 AM
Auto Sizing Div Width with window resizing javs Javascript 1 March 20th, 2008 01:13 AM
table width auto mateenmohd Classic ASP Basics 2 May 25th, 2007 09:46 AM
How to force table cell to a certain width? TheMajor HTML Code Clinic 1 April 17th, 2007 01:57 PM
Table adjusting its own width mahulda General .NET 3 August 5th, 2004 04:00 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.