Solved

How do I remove this mystery space in mt template

Posted on 2009-05-13
3
276 Views
Last Modified: 2013-11-05
I have this strange mystery space in this web site template I am working on.
It can be seen on the home page here:
http://02c4a6b.netsolhost.com/
Notice I have a filler image inside the template content area (the FPO image) and see how to the right of that in that main <TD> there is 5px or so of whitespace. I need this image to be flush with the right hand side, but as you can see it is causing the template to break apart.

If you "view source" you will see that the content area TD starts at line 104
My main stylesheet is
http://02c4a6b.netsolhost.com/sitestyle.css

What is that space? More importantly, How do I get rid of it? It has to be something in the style sheet I am missing.
0
Comment
Question by:marms676
  • 2
3 Comments
 
LVL 10

Expert Comment

by:mstrelan
ID: 24381769
Your main table declaration has width of 1066px. your left column has width of 184px right column 74px.

1066 - 184 - 74 = 808. Which is 8 px wider than your <img>
0
 

Author Comment

by:marms676
ID: 24384992
Yes, I know the image is too wide for the final template (I intend to modify that), but that is not the problem. If it was, the image would at least go flush with the right hand side and then start to break the template apart. Any content I put in there will not go flush to the right side of the template.

Note this page
http://02c4a6b.netsolhost.com/how-we-got-started.html
See how the text stops at about that same distance to the right?

0
 
LVL 10

Accepted Solution

by:
mstrelan earned 500 total points
ID: 24390587
no i was saying the image is too small for the area you have specified.
the table is 1066px, declared in <table width=1066>
the left column is set to 184 and the right column is 74... the middle column takes up the remaining area which is 808px. since the image only takes up 800 pixels there is a spare 8px.

solution change your table to width=1058 or just take the width out completely.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article discusses four methods for overlaying images in a container on a web page
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question