Removing margins in main body with Shared Borders

liunx

Guest
Hope someone knows the answer to this. <br />
<br />
I'm a FrontPage 2000 user, and don't really know much HTML code... just enough to get me in trouble.<br />
<br />
On my site (<!-- m --><a class="postlink" href="http://www.safetynettrading.com">http://www.safetynettrading.com</a><!-- m -->) I'm using shared borders throughout my site. I managed to get rid of the pesky margins FrontPage automatically provides, but it only worked on the shared borders, the main body of the page still appears to have a margin on the left side.<br />
<br />
It's easiest to see on this page: <br />
<br />
<!-- m --><a class="postlink" href="http://www.safetynettrading.com/challenge.htm">http://www.safetynettrading.com/challenge.htm</a><!-- m --><br />
<br />
You'll note that on the far left side, there is no border. That's a Shared Border. Moving to the right, just past the shadow of the green marble, there's a white space before the image starts. I can't get rid of that white space.<br />
<br />
Any suggestions? Thanks.<!--content-->I see the white space....but honestly....with the fading 'shadow' of the marble...the white space doesnt look bad. Also, it expands as the screen resolution gets larger than 800x600. Even in 1200x740 it looks good. I really don't see much of a problem, except the graphics are pretty distorted.<!--content-->I pretty much agree with Dr.Web's assesment. But in looking at the code I see an empty cell just before the image is displayed:<br />
---------------------------------<br />
</div><br />
</td><td valign="top" width="24"></td><!--msnavigation--><td valign="top"><br />
<div align="left"><br />
<table border="0" cellpadding="0" cellspacing="0" width="514" height="1"><br />
<tr><br />
<td height="28" valign="top" align="left" width="514" bgcolor="#FFFFFF"><img border="0" src=http://www.htmlforums.com/archive/index.php/"images/challenge_reduced.jpg" align="left" width="514" height="414"></td><br />
</tr><br />
<tr><br />
----------------------------------<br />
I don't know if that is causing the white margin but you might try adding something into that data cell and see if it shows up in that margin. If it does that is probably the source of the margin. But as you have lots of tables and embedded tables it might only be part of the problem. Looks like way too much code to me for such a simple layout.<br />
<br />
An easy way to hunt down the culprit when dealing with tables is too assign each seperate table a different border color. That will generally allow you tell which table is causing an alignment problem.<br />
<br />
Some of the graphics do look pretty yucky. Probably too much compression was applied during the process. But they load fast so the trade-off might be worth the poor image quality.<br />
<br />
Regards,<br />
Kevin<!--content-->Kevin has some pretty good advice there. You also have the second table on the page set to width=992, you might want to use a percentage as this causes a horizontal scroll bar on my 800 x 600 resolution. Good Luck!<!--content-->
 
Back
Top