How can I.....


  -----  
Author Message

Mikecp421
Member

Mon Aug 29, 2005 9:22 am   Post subject: How can I.....
make this table code resize for different screen resolutions?

Code:

{TPL_CONTENT_TOP_NOPADDING}
<table><div align="center">
<tr>
               <td colspan="2" align="center" height="9"><a href="http://www.meogee.com/viewtopic.php?t=1421" target="_blank"><img style="vertical-align:middle; margin:20px" src="templates/MorpheusXSteelBlue/images/cdc_banner.gif" width="250" height="51" border="0"><a href="http://www.meogee.com/privmsg.php?mode=post&u=26" target=" target="_blank"><img style="vertical-align:middle; margin:20px" src="templates/MorpheusXSteelBlue/images/rent_me_banner.JPG" width="250" height="51" border="0"><a href="http://www.hitechell.com" target="_blank"><img style="vertical-align:middle; margin:20px" src="templates/MorpheusXSteelBlue/images/hitechell_logo.gif" width="250" height="51" border="0"><a href="http://www.meogee.com/privmsg.php?mode=post&u=26" target="_blank"><img style="vertical-align:middle; margin:20px" src="templates/MorpheusXSteelBlue/images/rent_me_banner.JPG" width="250" height="51" border="0"></font></td>
</tr>
</div></table>
{TPL_CONTENT_BOTTOM}


i tried this;

Code:

<table width="100%">


and this;

Code:

<table width="100%" cellpadding="0" cellspacing="0" border="0">



but they didn't work
 

Thoul
Administrator

Mon Aug 29, 2005 7:31 pm   Post subject: re: How can I.....
Try this version. You had a div tag in a place where it usually can't be used, so that might have been interfering with the table size.

Code:

<table width="100%">
<tr>
               <td colspan="2" align="center" height="9"><div align="center"><a href="http://www.meogee.com/viewtopic.php?t=1421" target="_blank"><img style="vertical-align:middle; margin:20px" src="templates/MorpheusXSteelBlue/images/cdc_banner.gif" width="250" height="51" border="0"><a href="http://www.meogee.com/privmsg.php?mode=post&u=26" target=" target="_blank"><img style="vertical-align:middle; margin:20px" src="templates/MorpheusXSteelBlue/images/rent_me_banner.JPG" width="250" height="51" border="0"><a href="http://www.hitechell.com" target="_blank"><img style="vertical-align:middle; margin:20px" src="templates/MorpheusXSteelBlue/images/hitechell_logo.gif" width="250" height="51" border="0"><a href="http://www.meogee.com/privmsg.php?mode=post&u=26" target="_blank"><img style="vertical-align:middle; margin:20px" src="templates/MorpheusXSteelBlue/images/rent_me_banner.JPG" width="250" height="51" border="0"></font></div></td>
</tr>
</table>
 

Mikecp421
Member

Tue Aug 30, 2005 12:00 pm   Post subject: re: How can I.....
didn't work btw.
 

Thoul
Administrator

Tue Aug 30, 2005 6:17 pm   Post subject: re: How can I.....
The table itself should be resizing, but the images in the table won't because they have a fixed sized.
 

Mikecp421
Member

Wed Aug 31, 2005 10:01 am   Post subject: re: How can I.....
ohh ok yes thats whats happening, I thought the table would supercede the image sizes. Can I do something for that or no?
 

Thoul
Administrator

Wed Aug 31, 2005 7:07 pm   Post subject: re: How can I.....
Not really. The size of the images could be changed dynamically with JavaScript I suppose, but most images would look really, really bad and some resolutions when handled that way. They would be all stretched out.
 

Mikecp421
Member

Thu Sep 01, 2005 5:10 pm   Post subject: re: How can I.....
ok I just resized the images, thanks for your help
 

Page 1 of 1
Display posts from previous: