RE: Template Layout Stretches to fit Browser (Full Version)

All Forums >> [Web Development] >> Microsoft FrontPage Help



Message


BobbyDouglas -> RE: Template Layout Stretches to fit Browser (1/13/2005 1:58:09)

Ah, always something so simple, that should work if you add <tr> after the table tag, then add </tr> before the </table> tag.

I thought it is always best to specify px in the width/height....




ravenous_wolf -> RE: Template Layout Stretches to fit Browser (1/13/2005 8:16:35)

quote:

ORIGINAL: BobbyDouglas

Ah, always something so simple, that should work if you add <tr> after the table tag, then add </tr> before the </table> tag.

I thought it is always best to specify px in the width/height....


I added <tr> after the table tag and </tr> before the </table> tag.

And I removed the px from 800.

I saved it and published it to the web. Unfortunately, it still didn't work. The template layout still stretched to fit the browser.

Is there anything else that I have to insert in between the <tr> and the </tr> tags?




Kitka -> RE: Template Layout Stretches to fit Browser (1/13/2005 8:47:59)

quote:

I wrote:
A table should have these components:
<table> <tr> <td> Data here </td> </tr> </table>

For the table you just added, you are missing the table row <tr> and table data <td> tags (both opening and closing).
Try adding those and it should work.


You have added the <tr> tags as I suggested but not the accompanying <td> tags.

Straight under your body tag you need to place this:

<table width="760"><tr><td>

then...

After your last </div> tag, you should have all this:

</td></tr></table>
</body></html>


Then nothing more.

It works on my computer, so good luck.




ravenous_wolf -> RE: Template Layout Stretches to fit Browser (1/13/2005 9:56:33)

I will insert the <tr> tags later on today and see how it turns out...




ravenous_wolf -> RE: Template Layout Stretches to fit Browser (1/13/2005 23:07:05)

YOU GUYS ROCK!!!

I tried the fix and the template layout stretched only to the specified length at the higher screen resolutions. It worked like a charm!!!

The template layout now works and looks exactly the way I wanted it to...

Thanks Kitka...

And a special thanks to Mr. Bob especially for answering my long barrage of questions...




BobbyDouglas -> RE: Template Layout Stretches to fit Browser (1/13/2005 23:09:39)

Its rather hard to focus at 4am when all you can think about is a nice cozy bed.

Did you have to insert the <td> tag as well?




ravenous_wolf -> RE: Template Layout Stretches to fit Browser (1/13/2005 23:15:00)

Yes, it took the <td> tags to solve the problem. It didn't work until I inserted them just right now.

And it was a long night last night. I was barely able to keep my eyes open :) and it was harder to keep them open during the morning and afternoon at work... :)





Page: <<   < prev  1 [2]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.078125