Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 01-20-2005, 02:08 PM   #1 (permalink)
 
Newb Techie

Join Date: Jan 2005

Posts: 1

jcb1987

Default Retrieving Tabel Heights

Hey,

Is it possible to not set a table height, just let the tabel's content determine its height and then retrieve the height of the table its self? The height of table cells would work too.

Thanks
jcb1987 is offline  
Old 01-20-2005, 02:16 PM   #2 (permalink)
 
Ultra Techie

Join Date: Oct 2004

Posts: 600

Roshi229

Send a message via AIM to Roshi229 Send a message via Yahoo to Roshi229
Default

i would think you would have an easier time to do this with CSS...

What is CSS?
CSS stands for Cascading Style Sheets
Styles define how to display HTML elements
Styles are normally stored in Style Sheets
Styles were added to HTML 4.0 to solve a problem
External Style Sheets can save you a lot of work
External Style Sheets are stored in CSS files
Multiple style definitions will cascade into one

http://www.htmlhelp.com/reference/css/

good luck
~KB
__________________
http://www.kbdigisol.com

<form action=\"http://www.srsyo.org/tfsearch.php\" method=\"get\">
<input type=\"text\" name=\"search\"> <input type=\"submit\" name=\"submit\" value=\"Search first, ask later!\"></form>
powered by emily .
Roshi229 is offline  
Old 01-21-2005, 10:45 AM   #3 (permalink)
 
True Techie

Join Date: Jul 2004

Posts: 235

crazybeans

Default

You don't really have to do this. Determining the dimensions of your table is simple geometery. You match image dimensions with that specific cell's dimensions, then you create neighbor cells next to the image table to contain your text or other images. This way you can fully control your table elements. I usually do not put images and text in the same cell because different browsers calculate image and text placement different. This is the old way of doing web pages I might warn you but it is probably the easiest for beginners. If you really want control you should learn CSS like Roshi229 mentioned. Good luck.

P.S. If for some crazy reason you still want to determine the tables dimensions after automatic placement, you could view it in your web browser and press the "Print Screen" button to take a screen shot. Then you could paste it in an image browser and crop the table out of the screen shot. Depending on what program you are using you can check the dimensions of the new image. If you can't do this in your software, save the file and view it in explorer. That should tell you the dimensions.
__________________
Come visit a new technology and digital image arena website where you may compete in monthly image contests and chat about technology. t3ch.l33t is currently searching for members to help manage different areas of the site. t3ch.l33t Image Arena Home

http://img.photobucket.com/albums/v3...ch_l33tsig.jpg
crazybeans is offline  
 
Closed Thread

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