Table + Image Percentages

liunx

Guest
Hi all,<br />
<br />
I need some help woth my table layout. I am using my own graphic for the table border, which is in a seperate cell. Go to <!-- m --><a class="postlink" href="http://moh-ch.tripod.com">http://moh-ch.tripod.com</a><!-- m --> to see the code, so you know what I am talking about. I want to use percentages so that my tables fill the screen, whatever size, but I cannot use percentages on image widths. So how do I get around that problem? Thanks for your help<!--content-->You are close to having valid code! See the link, and then clean up the last few errors. With no errors in the code it will be easier to see where any other problem really is: <!-- m --><a class="postlink" href="http://validator.w3.org/check?uri=http%3A%2F%2Fmoh-ch.tripod.com%2F&charset=%28detect+automatically%29&doctype=%28detect+automatically%29&ss=">http://validator.w3.org/check?uri=http% ... lly%29&ss=</a><!-- m --> .<br />
<br />
Add type="text/javascript" to all script tags.<br />
<br />
Change & to &amp; in all URLs.<br />
<br />
Add alt="some text" to all img tags.<br />
<br />
The border=" needs fixing. Part missing!<br />
<br />
Check nesting of font and span, and for missing end tags.<br />
<br />
Don't forget to add META tags for Content-Type, Content-Language, Keywords and Description.<br />
<br />
Post back here for instructions on how to fix errors that you cannot seem to fix yourself.<!--content-->Thank you! I haven't run it through there yet. This sin't my best site, just a kind of 'test' account on Tripod. I will fix them because I may want to use this code in my final version.<br />
<br />
Cheers ;)<!--content-->Im pretty sure the only way to do what you want is to use percentages for image widths. Why can't you use them?<!--content-->don't use percentages in the images. it will stretch the image out and it will get pixelated. you need to use percentages in the table and just have the image tile through the cell.<!--content-->Thnks Scoutt. My image is a gif, and is only a few pixels wide already, but I make the width (or height) as big as the cell so not to create large loading times. Since it is a gif, it does not pixelate. I will use the image to tile the cell. Why did't I think of that! :confused: <br />
<br />
Thanx ;)<!--content-->because you only have 52 posts :D just kidding.<br />
<br />
always make the width and height the size of the image not the cell and set the cell to a width of 100% and height of 100%<!--content-->
 
Top