Ian wrote:
I currently have a web site that is reading from a MySQL database and
displays the results of a database search as an HTML TABLE. Everything
works fine but there is an irritation I am trying to work round. Some
of the time all the displayed information in the table will fit into a
screensize of 1024 (or whatever the users browser/screensize is set to)
but on other occasions it doesn't and various fields are then
automatically wrapped round within their cells. One very simple way
round this is to set the table width to be greater than the screensize
but what I would really like to have is that the TABLE is automatically
set to whatever size it needs, irrespective of whether it exceeds the
width of the user's browser screen. Is there any easy way of doing
this
?
You would have to modify the script that outputs the table in such way
that it will adjust the type size (easier to do it with CSS) when the
amount of symbols combined across all the fields in one row is greater
than a certain number. Can't give you that number because don't know how
many columns and how much text (any graphics?) we are talking about.
Sincerely,
Dmitri
http://www.1-script.com/1_search/
Get search engine for your site
http://www.1-script.com/install/
Check out my CGI scripts installation offer
-------------------------------------
##-----------------------------------------------##
Article posted with Web Developer's USENET Archive
http://www.1-script.com/forums
no-spam read and post WWW interface to your favorite newsgroup -
comp.infosystems.
www.authoring.html - 7452 messages and counting!
##-----------------------------------------------##