|
| |
|
|
BobbyDouglas
Posts: 5432 Joined: 5/15/2003 From: Arizona Status: offline
|
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....
_____________________________
Arizona Web Design - Mr Bobs Web Design in Arizona The Arizona Web Hosting Challenge
|
|
|
|
ravenous_wolf
Posts: 174 Joined: 11/27/2004 Status: offline
|
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
Posts: 2507 Joined: 1/31/2002 From: Australia Status: offline
|
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.
_____________________________
Kitka **It is impossible to make anything foolproof because fools are so ingenious.**
|
|
|
|
ravenous_wolf
Posts: 174 Joined: 11/27/2004 Status: offline
|
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
Posts: 174 Joined: 11/27/2004 Status: offline
|
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
Posts: 5432 Joined: 5/15/2003 From: Arizona Status: offline
|
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?
_____________________________
Arizona Web Design - Mr Bobs Web Design in Arizona The Arizona Web Hosting Challenge
|
|
|
|
ravenous_wolf
Posts: 174 Joined: 11/27/2004 Status: offline
|
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... :)
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|