onggie
01-26-2005, 12:09 AM
Hi,
Hope someone can help me! I have been stuck on this for hours now.
The first problem I am having, is that when I put a picture in cell, and use it as a background, it keeps repeating. I don't want it to tile.
The second problem is that when ever I put the table to 100% for the width. It still wont stretch for any resolutions! Also is there any way to have the picture looking the same, or just about the same in most resolutions?
Thirdly, people say using <div> is a lot better. How do I add <div> code to what I have now
-Thanks Heaps
These are 2 images at 2 different resolutions, this is what happens when I set everything to 100%, for the width.
1024x768
http://img190.exs.cx/img190/2008/firstres9xe.jpg
800x600
http://img190.exs.cx/img190/3062/secres3qp.jpg
This is the code
----------------------------
<html>
<head>
<title>index.jpg</title>
<meta http-equiv="Content-Type" content="text/html;">
<!--Fireworks MX 2004 Dreamweaver MX 2004 target. Created Tue Jan 25 16:38:35 GMT+1100 (AUS Eastern Daylight Time) 2005-->
</head>
<body bgcolor="#ffffff">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<!-- fwtable fwsrc="index.png" fwbase="index.jpg" fwstyle="Dreamweaver" fwdocid = "632514108" fwnested="0" -->
<tr>
<td><img src="images/spacer.gif" width="179" height="1" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="1" height="1" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="620" height="1" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="1" height="1" border="0" alt=""></td>
</tr>
<tr>
<td> </td>
<td colspan="2"> </td>
<td> </td>
</tr>
<tr>
<td rowspan="2" colspan="2" background="images/index_r2_c1.jpg"> </td>
<td background="images/index_r2_c3.jpg"> </td>
<td><img src="images/spacer.gif" width="100%" height="55" border="0" alt=""></td>
</tr>
<tr>
<td rowspan="2"> </td>
<td><img src="images/spacer.gif" width="100%" height="409" border="0" alt=""></td>
</tr>
<tr>
<td colspan="2"> </td>
<td><img src="images/spacer.gif" width="100%" height="70" border="0" alt=""></td>
</tr>
</table>
</body>
</html>
----------------------------
I also tryed to add this in the head but nothing happen!
<style>
#header {
width: 100%;
margin-left: 0%;
border-bottom: 1px solid #859081;
border-left: 4px solid #859081;
font-size: 15pt;
font-color: #7892A8;
font-family: Arial;
font-style: bold;
}
</style>
If anyone can solve my problem, I will be very greatful!
Hope someone can help me! I have been stuck on this for hours now.
The first problem I am having, is that when I put a picture in cell, and use it as a background, it keeps repeating. I don't want it to tile.
The second problem is that when ever I put the table to 100% for the width. It still wont stretch for any resolutions! Also is there any way to have the picture looking the same, or just about the same in most resolutions?
Thirdly, people say using <div> is a lot better. How do I add <div> code to what I have now
-Thanks Heaps
These are 2 images at 2 different resolutions, this is what happens when I set everything to 100%, for the width.
1024x768
http://img190.exs.cx/img190/2008/firstres9xe.jpg
800x600
http://img190.exs.cx/img190/3062/secres3qp.jpg
This is the code
----------------------------
<html>
<head>
<title>index.jpg</title>
<meta http-equiv="Content-Type" content="text/html;">
<!--Fireworks MX 2004 Dreamweaver MX 2004 target. Created Tue Jan 25 16:38:35 GMT+1100 (AUS Eastern Daylight Time) 2005-->
</head>
<body bgcolor="#ffffff">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<!-- fwtable fwsrc="index.png" fwbase="index.jpg" fwstyle="Dreamweaver" fwdocid = "632514108" fwnested="0" -->
<tr>
<td><img src="images/spacer.gif" width="179" height="1" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="1" height="1" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="620" height="1" border="0" alt=""></td>
<td><img src="images/spacer.gif" width="1" height="1" border="0" alt=""></td>
</tr>
<tr>
<td> </td>
<td colspan="2"> </td>
<td> </td>
</tr>
<tr>
<td rowspan="2" colspan="2" background="images/index_r2_c1.jpg"> </td>
<td background="images/index_r2_c3.jpg"> </td>
<td><img src="images/spacer.gif" width="100%" height="55" border="0" alt=""></td>
</tr>
<tr>
<td rowspan="2"> </td>
<td><img src="images/spacer.gif" width="100%" height="409" border="0" alt=""></td>
</tr>
<tr>
<td colspan="2"> </td>
<td><img src="images/spacer.gif" width="100%" height="70" border="0" alt=""></td>
</tr>
</table>
</body>
</html>
----------------------------
I also tryed to add this in the head but nothing happen!
<style>
#header {
width: 100%;
margin-left: 0%;
border-bottom: 1px solid #859081;
border-left: 4px solid #859081;
font-size: 15pt;
font-color: #7892A8;
font-family: Arial;
font-style: bold;
}
</style>
If anyone can solve my problem, I will be very greatful!