|
Posted by John Hosking on 09/02/07 13:01
Ralf wrote:
>
> here's my URL: http://www3.telus.net/peaklong/test/intro.htm
>
> my INTRO & BACKGROUND pages behave fine except for mysterious extra
> padding-right in my outer content box; all other site pages, the outer box
> sits fiine but this mysterious extra padding is now added to my inner
> content box.
When you say "extra padding-right", I think you really mean "space on
the right side (of something) that you didn't expect." I'm not sure it's
really padding-right. It's often hard to tell from behavior whether one
is looking at an element's right margin or its container's right padding
(or both).
IAC: Your #header-graphic { width: 100%; } makes it try to be the same
full width as div.content2, but you're starting it 10px to the right
because of the left margin in margin: 5px 10px 9px 10px;. So one obvious
workaround/solution is to remove the width declaration from #header-graphic.
Or maybe you want to try adding right padding to your outer box, and
resize the contents accordingly: .content2 { padding-right: 20px; }
BTW, I didn't detect a difference between the Intro and Background pages
relative to any of the others. They all look the same (content excepted)
to me in FF.
>
> My bottom nav-bar was meant to follow the page-width of my Mainbody area,
> but the only way I can approximate that is by bumping up the width to 103%
> in the CSS.
You're mixing percentages with pixels, and doing it with elements that
have differing margins, padding, and/or borders. If you aim at margins
and padding, and let the widths come naturally, maybe you'll see better
results. As it is, I get a permanent horizontal scrollbar (I suspect the
following ruleset:
#page-header {
position: absolute;
top: 8px;
left: 8px;
width: 100%;
...etc. }
Leave the left and top if you want, but get rid of at least one of the
other declarations.)
BTW #2: For CSS issues, make sure you read (and post in) the NG
comp.infosystems.www.authoring.stylesheets.
HTH.
--
John
Pondering the value of the UIP: http://improve-usenet.org/
Navigation:
[Reply to this message]
|