Go Back   Cyber Tech Help Support Forums > Software > Web Development & Graphic Design

Notices

Reply
 
Topic Tools
  #1  
Old September 25th, 2003, 08:24 AM
sher07 sher07 is offline
Member
 
Join Date: Jul 2003
Posts: 85
HTML Nesting Table -- How?

Dear friends:

Please see my site at:

http://www.immortalgems.com/

Please compare the right margins (at 1024 X 768 resolution) with the original version at:

http://www.immortalgems.com/original/index.html

I opened the original template PSD image for the home page in Photoshop 7, removed all the layers and slices that filled up the main panel, leaving everything else just as it is. I then switched to ImageReady, saved the HTML index.html file and images Optimized As and then created a site in GoLive 6 and uploaded it as is.

For purposes of comparison, I also created a site in Dreamweaver and checked it in its Preview in Browser and saw the exact same problem: if you switch your resolution to 800 X 600, everything looks perfect. However, at 1024 X 768, the right margin is white instead of being an extension of the page background and the bottom panel does not extend all the way to the right screen margin.

I've been told that I need a containing table with WIDTH=100% to contain the fixed size pixel table in order to resolve this issue.

I did a search for a tutorial on containing tables in Google. I found one at:

http://www.designplace.org/tutorials.php?page=1&c_id=5

I tried to apply it to my site. But I've obviously failed as you can see it at:

http://www.immortalgems.com/index-m.html

Please scroll down till you see the image.

I'd appreciate help on resolving this issue.

Is there a way to edit the image size in Photoshop/ImageReady to automatically generate the correct HTML page?

All my thanks.

Benjamin

Last edited by sher07; September 25th, 2003 at 10:49 AM.
Reply With Quote
  #2  
Old September 25th, 2003, 09:46 AM
Buzz's Avatar
Buzz Buzz is offline
Cyber Tech Help Moderator
 
Join Date: Sep 2000
O/S: MacOS
Location: Oregon, USA
Posts: 3,362
Hi Benjamin,

If you look at your beginnign code for the page:

Code:
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%">
  <tr> 
   <td><div align="left"><b>The containing table</b></div>


<TABLE WIDTH=770 BORDER=0 CELLPADDING=0 CELLSPACING=0>
You'll see you do have a nested table. Your first table is set to 100% the screen availability. You're nested table is set to a max width of 770 pixels however. Therefore your nested table will remain the same size (770 px) at all times. If you wish to make the table fit the page you need to change the width of the nested table to 100% similar to the containigng table. Based upon your layout, however, it may cause serious issues with elements and images lining up.
__________________
Scott
Moderator : Macintosh : Website & Graphics
Adobe Certified Expert: Illustrator
Royalty-Free Vector Stock Art
Reply With Quote
  #3  
Old September 25th, 2003, 10:54 AM
sher07 sher07 is offline
Member
 
Join Date: Jul 2003
Posts: 85
Dear Scott and friends:

Thanks so much for your kind help. I've changed the width=770 to width=100% in the fixed table, but, as you anticipated, this wreaks havoc with the original design. Could you please provide specific suggestions on how I might correct this?

All my thanks.

Benjamin
Reply With Quote
  #4  
Old September 25th, 2003, 06:44 PM
Buzz's Avatar
Buzz Buzz is offline
Cyber Tech Help Moderator
 
Join Date: Sep 2000
O/S: MacOS
Location: Oregon, USA
Posts: 3,362
The only real fix would be to redesign. If you know you want your page to expand based upon the viewers monitor resolution, you must design the page with that in mind.

Other than that, you can center your nested table and add a background image to the page or an appropriate color to the background.
__________________
Scott
Moderator : Macintosh : Website & Graphics
Adobe Certified Expert: Illustrator
Royalty-Free Vector Stock Art
Reply With Quote
  #5  
Old September 27th, 2003, 11:49 PM
sher07 sher07 is offline
Member
 
Join Date: Jul 2003
Posts: 85
Dear Buzz and friends:

Thanks so much for the good advice. I'll think about it and see what can be done.

Thanks again.

Benjamin
Reply With Quote
Reply

Bookmarks

Topic Tools

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
Forum Jump


All times are GMT +1. The time now is 01:02 AM.

[ RSS ]