|
Convenient web based access to our favorite web design Usenet groups
|
 |
This is Interesting: Free Magazines for Graphics designers and webmasters
| Author |
| Thread |
 |
|
|
|
|
|
 |
 |
|
|
|
  07-16-04 - 12:17 AM
|
Brian wrote:
> Shame on me for not testing my site
> http://www.tsmchughs.com/ in MSIE at "larger" font size. I
> just did today, and found an unpleasant result. The content
> gets pushed behind the navigation, which has position:
> absolute.
>
> There's a second problem which is merely cosmetic. The
> width of headings in a secondary navigation are not taking
> the full width of the containing block.
>
> Here's a simplified test case, with both problems detailed.
>
> http://www.tsmchughs.com/test/
The first problem:
To see what is happening, change the background-color of the
div#navigation. In IE the border (8em) doesn't scale with the
text. Widths, margins and paddings do, but borders
(apparently!) don't.
Solution: instead of border-left:8em, use margin-left:8em.
You'll have to set the colour of that navigation background
another way though, or else it will end at the bottom of the
viewport, and go up (leaving the html background visible) when
scrolling up.
Second problem:
The Li elements push the right side of the box further to the
right.
If you take out the padding of .5em on either side of the A
element inside the Li's, it's solved. But then there is no
indent.
For that you add
.pageNav LI{
text-indent:.5em;
}
--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Now playing: Ugly Kid Joe - Cats In The Cradle
|
|
|
| [
Post Follow-Up to this message ]
|
|
|
|
|
 |
| All times are GMT. The time now is 04:20 AM. |
 |
|
|
|
|
|  |
|