Table is stretching!

liunx

Guest
Hey I'm wondering if someone knows how to help me...<br />
<br />
I'm making a website for my dad's business and I'm using some PHP for some information. Well, anyway I have this pretty table that has a logo in the top left corner and a sidebar and main section that use the PHP include() command. That's all ok.<br />
<br />
The problem is, when the main window has a lot of information, the table stretches to show it. However, it stretches the logo image that I really dont want. I guess it's more of a problem considering my use of PHP and the fact that I can't predict how large the main window will be.<br />
<br />
Anyway, check out:<br />
<br />
<!-- m --><a class="postlink" href="http://www.altaircomputer.com.au/_test/view.php?area=sales&page=test1">http://www.altaircomputer.com.au/_test/ ... page=test1</a><!-- m --><br />
<br />
and<br />
<br />
<!-- m --><a class="postlink" href="http://www.altaircomputer.com.au/_test/view.php?area=sales&page=test2">http://www.altaircomputer.com.au/_test/ ... page=test2</a><!-- m --><br />
<br />
to see what I mean.<br />
<br />
Thanks to anyone that can offer some help.<br />
<br />
Geelen.<!--content-->give your table cell a fixed height!!<!--content-->I had a look at the test2 page. It seems like you've tried to put something like height="62" to the logo cell. I don't know about Netscape etc. but at least in IE you'll need to do style="height:62" to make it work. Since I don't know about Netscape and other's differences I can't tell if height="62" would work in others than IE. Anyway, to make it sure, you could include both height="62" and style="height:62" in the <TD> tag.<!--content-->Check out the minor problems with the HTML on [page 1 (<!-- m --><a class="postlink" href="http://validator.w3.org/check?uri=http%3A%2F%2Fwww.altaircomputer.com.au%2F_test%2Fview.php%3Farea%3Dsales%26page%3Dtest1&charset=%28detect+automatically%29&doctype=HTML+4.01+Transitional&ss=1&outline=1&sp=1">http://validator.w3.org/check?uri=http% ... ine=1&sp=1</a><!-- m -->)] and on [page 2 (<!-- m --><a class="postlink" href="http://validator.w3.org/check?uri=http%3A%2F%2Fwww.altaircomputer.com.au%2F_test%2Fview.php%3Farea%3Dsales%26page%3Dtest2&charset=%28detect+automatically%29&doctype=HTML+4.01+Transitional&ss=1&outline=1&sp=1">http://validator.w3.org/check?uri=http% ... ine=1&sp=1</a><!-- m -->)]. All very easy fixes. There are also several examples of browser specific code in there.<!--content-->Thanks! Problem fixed.<!--content-->
 
Back
Top