Frontpage 2003 Margins are wrong

C

ChristineO

Somehow - I've managed to mess up the margins/layout of my home page. I
didn't change any setting - but now the bar on the left is stretched out -
and the content, which is supposed to be centered is stretched wide as well.
When I am working on the page and view it in Frontpage, it looks fine. When
looking at it on the web - it spans across the screen a great distance. Can
anyone tell me some things I can look at to try to fix it? It's
www.ncrcha.com Compare the home page to any of the other pages and you can
see what I mean. Again - when I'm working on it in Frontpage - the layout
looks great (just as the other pages on the site do).

Thank You.
 
S

Steve Easton

The home page has an empty table that has the width set to 121% and it's
right between the top image and the table that holds your main content.

<table border="0" cellpadding="0" cellspacing="0" width="121%">
<tr>
<td style="border-bottom-style: solid; border-bottom-width: 1" align="right">
<h4>&nbsp;</h4>
</td>
</tr>
</table>

You can delete it

--

Steve Easton
Microsoft MVP FrontPage
FP Cleaner
http://www.95isalive.com/fixes/fpclean.htm
Hit Me FP
http://www.95isalive.com/fixes/HitMeFP.htm
 
R

Rob Giordano \(Crash\)

Looks like you may have dragged your table out to 124%, in Code View change
it back to 100% see if that helps.

--
~~~~~~~~~~~~~~~~~~
Rob Giordano
Microsoft MVP Expression





| Somehow - I've managed to mess up the margins/layout of my home page. I
| didn't change any setting - but now the bar on the left is stretched out -
| and the content, which is supposed to be centered is stretched wide as
well.
| When I am working on the page and view it in Frontpage, it looks fine.
When
| looking at it on the web - it spans across the screen a great distance.
Can
| anyone tell me some things I can look at to try to fix it? It's
| www.ncrcha.com Compare the home page to any of the other pages and you
can
| see what I mean. Again - when I'm working on it in Frontpage - the layout
| looks great (just as the other pages on the site do).
|
| Thank You.
 
R

Ronx

You have several errors in the home page, the errors causing the width
problems are oversized tables and cells.

Example:
<table border="0" cellpadding="0" cellspacing="0" width="121%">

The width is specified as 121% - the maximum width is 100%, anything
more than this will cause a scroll bar and ever increasing browser
width.

There are other cells and tables with similar (over 100% width)
problems.


Additionally, some tables and cells have their heights set at 1px high.
There are some browsers out there that will take this literally, and
hide the content, since the table is not tall enough to display it.
Height is not a valid attribute for a table (but is valid for a cell -
but if used for a cell, should be specified correctly.

A third error is, for example, <td style="border-bottom-style: solid;
border-bottom-width: 1"
When using styles, the measurement must include the units of
measurement. The example should be:
<td style="border-bottom-style: solid; border-bottom-width: 1px" Some
browsers will ignore the style if the units are not given. This error
is repeated in several locations.

You should also remove spaces from file and folder names. Spaces in
file/folder names can cause broken links in some browsers.

There may be other errors in the code, but fixing these should fix the
layout and display problems you asked about.
 
C

ChristineO

Oh my gosh - you folks are GREAT! Thanks for the info. This is a site that I
was given to keep updated - and I have no prior web experience. I've just
been hodge podging things together. So it's great to hear what you've found
that needs to be fixed. Thanks so much. I'll work on it tonight and see if I
can fix it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top