Solved

How do I remove this mystery space in mt template

Posted on 2009-05-13
3
274 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Centering a nested div 16 58
Host asp.net pages 5 25
Poster Video HTML 5 Scale to fit video 3 37
Error in JQuery 5 38
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
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…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

911 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now