| | |
table shrinking
Please support our HTML and CSS advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Thread Solved |
well the problem i have is that when i use tables on every diffrent screen the cells change their shape to fit the screen so all the text is wraped accordingly. is it possible to stop table from shrinking at a certain point so that the text wont wrap more to screw up the page. I am not very skilled at CSS but know little. any idea on how i can fix this problem...
•
•
Join Date: Dec 2004
Posts: 1,655
Reputation:
Solved Threads: 35
That's what CSS is for: positioning, sizing, and styling HTML elements. It sounds like you're either not sizing your table elements, or if you are, you're using percentages.
Instead, you should provide CSS rules for the table, tr, and td elements, using absolute pixel measurements.
For example:
Place that in the head of your document, and any table will be 500 pixels wide, no matter the browser window size or screen resolution.
Instead, you should provide CSS rules for the table, tr, and td elements, using absolute pixel measurements.
For example:
HTML and CSS Syntax (Toggle Plain Text)
<style type="text/css"> table {width: 500px;} </style>
Last edited by tgreer; Aug 3rd, 2006 at 12:51 pm.
What would you suggest the most common width size for a table with least comflicts with computer resolutions. as my screen resolution is 1280 x 1024 px so i see almost every website fine but that is not with everyone and i am trying to figure what size should my table should be so there are less chances of scroll bars popping up.
![]() |
Similar Threads
- Copying table from one mdb to another (ASP)
- Need help with HTMl Table echoing? (PHP)
- Table of Contents Script (Java)
Other Threads in the HTML and CSS Forum
- Previous Thread: Redirect with pre-sized pop-up code help
- Next Thread: getting the text field value
Views: 1798 | Replies: 3
| Thread Tools | Search this Thread |
Tag cloud for HTML and CSS
2002 appointments asp background backgroundcolor beta browser bug calendar cart center cgi code codeinjection corporateidentity create css deleted design development displayimageinsteadofflash dreamweaver drupal emailmarketing epilepsy explorer firefox flash font fonts form format free frontpage google griefers hackers hitcounter hover html ide ie7 ie8 iframe image images internet internetexplorer intranet iphone javascript jpeg layout macbook maps marketshare microsoft missing mozilla multimedia navigationbars news offshoreoutsourcingcompany opacity opera optimization perl pnginie6 positioning problem scroll seo shopping studio swf swf. templates textcolor theme timecolor titletags url urlseparatedwords visual visualization web webdevelopment webform website windows7 wordpress xml xsl






