More table problems

liunx

Guest
My table on the button bar of this site won't go to the height that I want it.<br />
<br />
Here's the site:<br />
<!-- m --><a class="postlink" href="http://pliskin.rselite.com/Otacon/test.html">http://pliskin.rselite.com/Otacon/test.html</a><!-- m --><br />
<br />
any help?<!--content-->a couple of things, try adding <br />
cellpadding="0" cellspacing="0" to your table tags, use the width and height in css, otherwise it's deprecated, ie:<br />
<br />
style="height: 35; width:800;"<br />
<br />
if that doesnt work try changing the images to block level elements<br />
add a style to either the tr or the td <br />
style="display: block;"<br />
<br />
here's a bit of info about inline (<!-- m --><a class="postlink" href="http://devedge.netscape.com/viewsource/2002/img-table/">http://devedge.netscape.com/viewsource/2002/img-table/</a><!-- m -->) content and gaps in tables :)<!--content-->The solution is to get rid of your white space.<br />
<br />
TD tags should be opened and closed on the same line if you trying to use them for layout. For example...<br />
<br />
<td><br />
blah bblah<br />
</td><br />
<br />
the above is wrong.<br />
<br />
<td>blah blah</td><br />
<br />
the above is correct.<br />
<br />
By having a return of carriage or spaces inside the TD's you are forcing the browser to render the TD a little larger than you want it.<!--content-->No major [problems (<!-- m --><a class="postlink" href="http://validator.w3.org/check?uri=http%3A%2F%2Fpliskin.rselite.com%2FOtacon%2Ftest.html&doctype=HTML+4.01+Transitional&charset=iso-8859-1+%28Western+Europe%29&ss=1&outline=1&sp=1&verbose=1">http://validator.w3.org/check?uri=http% ... &verbose=1</a><!-- m -->)] with the code.<br />
<br />
Don't forget to add alt="some text" to each of the <img> tags. This gives non-visual browsers, and browsers with image loading turned off, a helping hand. Search engines index that text as well.<!--content-->Thanks for the help everyone! I got my problem sorted out...<!--content-->
 
Back
Top