Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Text cell of pages not sticking to cell widths of template

Status
Not open for further replies.

wildfire07

Programmer
Jan 1, 2007
3
GB
Hello all and happy new year!

I have a problem with a website i am designing. I needed the site to fit the browser window so that the user did not have to scroll horizontally...to do this i changed the dimensions of the template table to w = 1000px H = 600 px. This is how the template is designed

IMG]http://i122.photobucket.com/albums/o251/jinxyfeet_photos/templatescreen.png[/IMG]

Video/audio goes into the right cell - however the center cell (Where the text goes) is where i am having the most trouble. The cell expanded with the text instead of the text fitting the dimensions of the cell. In order to correct this i defined the width of the cell 775px and used this code

<td width="775px" style="table-layout:fixed"

This fixed the problem with most pages

socialnetworkingscreen.png


However some pages expanded with the text as did the top banner; despite me changing the template code :(

p2pstretch1.png


So there is my problem. IM banking on your guys new year good will.. please i really am stuck!

If i can make it any clearer just say

Alex
 
Use CSS for layout rather than tables.
Use tables for tabular data.

Greg
"Personally, I am always ready to learn, although I do not always like being taught." - Winston Churchill
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top