Is there any way to lock a table’s size? I am making the template for my site, and there is white space between two images (top and bottom).
The white space (a cell) will expand and condense with the browser window, instead of staying the correct size.
Use a CSS style for your table’s size. It will keep it locked no matter what. You should be doing complete css for your layout but if it is on a deadline I wouldn’t. Hope this helps!
HTMLGuy
Scotty, the transition to coding in full CSS layout takes time. No one should enforce an overnight transition on you. Take your time to get to know all the painful CSS idiosyncrasities that makes life hell for CSS newbies. There’s an excellent css resource in the Sitepoint CSS forms which covers 100% height and width elements (http://www.sitepoint.com/forums/showthread.php?t=171943).
In the meantime, here a solution with some css and html corrections which gets your template working in IE, FF and NN:
The given code will work better. Usually when you lock a content cell to a certain height, the table breaks when a user bumps up the font size or a user with large default font sizes loads the page.
Is there a simple CSS code to get this working?
All I need is for the space in between the two images to be able to stretch (up and down) to fit content. Whether by table or CSS.
Again, I can’t see the code you gave??? I cn only see things in the PHP blocks.