Website Wierdness
In the beginning when I was in the beta testing stages of my new design it looked EXACTLY the same in Dreamweaver as it did in my browser.. so I released the design to the public then something WIERD happened.
In my design I have a small header table at the top that is 100% wide by 95px tall so it won't stretch. In the middle it is 100% wide by 100% tall and that is where the content goes for each page. And my footer table is 100% by 40px so IT stays the same. In three of my pages there isn't enough content to make the page long enough to scroll but for some reason it's acting like there are like 20 line breaks above and below my content making a LOT of dead space around it and it looks UGLY.
Here's what I mean:
Does anyone know how to fix this?
BTW you can check out my source code at jamesmeister.com if you think you can help me.
Thanks!
Mac Guru
In my design I have a small header table at the top that is 100% wide by 95px tall so it won't stretch. In the middle it is 100% wide by 100% tall and that is where the content goes for each page. And my footer table is 100% by 40px so IT stays the same. In three of my pages there isn't enough content to make the page long enough to scroll but for some reason it's acting like there are like 20 line breaks above and below my content making a LOT of dead space around it and it looks UGLY.
Here's what I mean:
Does anyone know how to fix this?
BTW you can check out my source code at jamesmeister.com if you think you can help me.
Thanks!
Mac Guru
Comments
The easiest way would be to make that bottom part a nested table. Insert a table at the end of the middle part that is 40px high. Such as :
<table height=95>
top part
</table>
<table height=100%>
middle part
<table height=40>
bottom part
</table>
</table>
(actually, you won't need that "height=100%" if you do it this way since the height will automatically resize)
This way the bottom table scales with the middle table as it extends since it will always be at the bottom of the middle table.
[ 07-23-2002: Message edited by: pyr3 ]</p>
Thanks thout it was worth a shot.
Mac Guru
Then again, I could be completely wrong.
Hope I helped some.
<tr>
<td width="100%" colspan="2">
<table>
this is the bottom table
</table>
</td>
</tr>
that should fix everything except the issue of making it longer length-wise.
[ 07-24-2002: Message edited by: pyr3 ]</p>
Mac Guru
Thing is, it was working but somehow DOESN'T now. VERY strange.
Mac Guru
Create a table set which consist of 3 rows (the table height is 100%).
Top row (height 95px) with a nested table with your logo and menu
Middle row (unspecified height) with a nested table with your content (this table is 100% in height so that it will scale in this row)
Bottom row (height 40px) with a nested table with your footer.
It's pretty easy to change, since you've already put the different parts in their own tables!
Edit: Here's how it'll <a href="http://idisk.mac.com/rtorp/Public/macguru/tableset.htm" target="_blank">look</a>
[ 07-24-2002: Message edited by: Pixelpusher ]</p>
<strong>You will run into these problems, because it's not legal HTML to specify the height in that way. Unfortunately, you can't do it in CSS either (and you should be using CSS for your layout, rather than tables).</strong><hr></blockquote>
You beat me to it unremarkable is definitely right, learn CSS and use it. Your code is a mess, give me 20 minutes with it and I'll fix it right up...
o I just cleaned and reformatted it so it would *work*
o I did not reconstruct your HTML to optimize it. I just made it work. Paying clients get the full spa treatment
o I didn't get rid of any of your outdated and vintage HTML tags. I suggest you look at the latest CSS spec. I think you would actually be surprised at what you're supposed to be doing in CSS.
Due to the above, I just went ahead and completely omitted the DOCTYPE from the beginning of the document. The code is in no way conforming to it, so why bother having it?
Oh, right, <a href="http://www.turborodent.com/newjames.html" target="_blank">here is the evidence</a>. Tested in Mac OS X and Windows XP, all rendering issues from your current design have been eliminated. If you can't figure out what I did by reading the comments...
Basically, when you're designing something like this, you have to take a sort of Frames based approach to it. If you know how to write HTML for framesets by hand, you'll understand the "Global Embedding Table" I have enclosed your original code in. All major elements are separated by comments, it should be pretty intuitive.
<a href="http://www.turborodent.com/newjames.html" target="_blank">http://www.turborodent.com/newjames.html</a>
Enjoy!
EDIT: This is essentially what pixelpusher said and did above my original post. I completely missed his comment, so give him credit too
[ 07-24-2002: Message edited by: M3D Jack ]
[ 07-24-2002: Message edited by: M3D Jack ]</p>
Middle row (unspecified height) with a nested table with your content (this table is 100% in height so that it will scale in this row)
Bottom row (height 40px) with a nested table with your footer.<hr></blockquote>
I feel stupid that I didn't think of putting the top part in the table as well. d'oh! Most woes can be solved by nesting table inside of tables inside of tables though. You just have to know how to do it the right way.
Is there any way you could contact me in AIM? I would really love to talk with you about how to apply this across my design. Thanks, I KIND of understand what you've done and can probably apply it to the light pages but am a tad weary I'd screw it up on the portfolio and icon sections since those have a lot of cells.
??edit?? ok so if I understand correctly it will work if I just copy the center Table from my current pages and replace the center cell (content) from the other? Or is that too sloppy?
AIM: PRSop2000
Thanks,
Mac Guru
[ 07-24-2002: Message edited by: Mac Guru ]</p>
What the heck? I've never liked Omniweb and I have half a mind to ignore this since 82% of my veiwers are using IE5.0+ on both windows and Mac, and 10% use Netscape, so 2% isn't in my worry zone.
Lemme know if you think of something.
Mac Guru