|
#1
|
|||
|
|||
|
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. |
|
#2
|
||||
|
||||
|
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>
__________________
Scott Moderator : Macintosh : Website & Graphics Adobe Certified Expert: Illustrator Royalty-Free Vector Stock Art |
|
#3
|
|||
|
|||
|
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 |
|
#4
|
||||
|
||||
|
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 |
|
#5
|
|||
|
|||
|
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 |
![]() |
| Bookmarks |
«
Previous Topic
|
Next Topic
»
| Topic Tools | |
|
|
All times are GMT +1. The time now is 01:02 AM.
[
RSS ]








