HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
table width questions
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Table
View previous topic :: View next topic  
Author Message
JaySin69



Joined: 13 Apr 2005
Posts: 2

PostPosted: Wed Apr 13, 2005 4:29 pm     table width questions Reply with quote

using width percentages shouldnt the tables and images within resize on different resolutions? if not how does one make a site compliant with all types of resoultions without having to rescale all your graphics?

also im having problems with my tables, for some reason even though i have set the width to 100% the tables still send a few pixels off screen, enabling the horizontal scroll bar. I dont want the horizontal scroll bar at all.

any imput would be helpful, ive been looking all over and trying everything with no success.
degsy



Joined: 23 Feb 2005
Posts: 2440
Location: North East, UK

PostPosted: Wed Apr 13, 2005 4:32 pm     Reply with quote

It would depend on your coding?
JaySin69



Joined: 13 Apr 2005
Posts: 2

PostPosted: Wed Apr 13, 2005 6:20 pm     Reply with quote

Here is the code, the problem has something to do with putting images into the tables cells, though i dont know why, or how to solve this problem.

<table style="width: 100%; text-align: left;" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td style="vertical-align: top;"><img alt="" src="navbar.jpg" usemap="#navBarMap" border=0 ismap
style="width: 100%; height: 20px;"><br>
</td>
</tr>
<tr>
<td style="vertical-align: top;"><img alt="" src="logo.jpg"
style="width: 100%; height: 100px;"><br>
</td>
</tr>
<tr>
<td style="vertical-align: top;"><img alt="" src="bluebar01.jpg"
style="width: 100%; height: 20px;"><br>
</td>
</tr>
</tbody>
</table>
<table style="width: 100%; text-align: left;" border="0" cellpadding="0" cellspacing="0" >
<tr>

<td align="center" valign="center">
gjhggjgjhgj
</td>

<td width="20%" align="right" bgcolor="#E2E6EE">


</td>

</tr>

</table>



<table style="width: 100%; text-align: left;" border="0" cellpadding="0" cellspacing="0" background="bluebar01.jpg">

<tr>
<td height="20" width ="100%"> <p> Developed by Jason Forte</p></td>

</tr>

</table>
degsy



Joined: 23 Feb 2005
Posts: 2440
Location: North East, UK

PostPosted: Thu Apr 14, 2005 6:34 am     Reply with quote

The code displays fine for me.
Although I couldn't check with the proper images showing.
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Table All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial