HTML Tutorial


 /help/HTML Help Forum   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
fitting table to screen
Post new topic   Reply to topic    HTML Help Forum -> HTML Table
View previous topic :: View next topic  
Author Message
alicia



Joined: 17 Sep 2004
Posts: 1

PostPosted: Fri Sep 17, 2004 12:20 pm     fitting table to screen Reply with quote

the homepage to my website fits perfectly on the screen on my home computer (probably because that's where I made it) but at work, it is too big and won't fit on the screen. which drives me crazy.

I have the outermost table set to 100% width rather than a pixel number. My understanding is with that setting it's supposed to adjust to the screen size of the user.

I suspect the reason it gets too wide on my screen at work is because i have images across the top of my table and the widths of them added together is larger than 100% of the pixel width of that screen.

but, of course if i change the size of my images, they won't look right on different screens. i even tried using percentages for the widths of the cells containing the images -- adding up to 100% across the row. but that doesn't work.

so, my question is: is there a way to do this -- to have images that cross the entire width of a table, but still have the table adjust to fit within the width of the viewing area on any screen??

my homepage is at: http://bennetgirls.com

thanks for any help or suggestions.

Alicia
eXcentra



Joined: 12 May 2004
Posts: 91

PostPosted: Fri Sep 17, 2004 3:26 pm     Reply with quote

I'm guessing that your workplace's monitor size is 800x600 and your home computer's monitor is 1024x768 or greater. As far as my knowledge goes, you can't resize the images to make them fit a smaller resolution. (I've tried researching this and I've come up with nothing Sad)
So I can only say that you have to work with 800x600 as the overall lengths and widths. (A lot of people still use 800x600 so it's best to stick with that size)
mjpliv



Joined: 11 May 2004
Posts: 402
Location: Nova Scotia

PostPosted: Mon Sep 20, 2004 7:33 am     Reply with quote

Use percentages for your picture sizes as well.

Here is a sample page forcing the pics to fit using percentages .

http://www.buildersmatrix.com/info/size.html

The top row uses a single table data with the picture size controled by the IMG tag.

The second row has all of the IMG tags set for 100% width but they are in three separate table data cells that are set to percentages.

The end result is the same.
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum -> HTML Table All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
DARFUR
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial