Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Unexplainable margin

0 views
Skip to first unread message

Axel Siebenwirth

unread,
Jul 15, 2008, 9:10:39 AM7/15/08
to
Hi all,

at a very simple page I've encountered a problem I cannot explain.

http://projects.mooselook.de/landing_page/

Where does the empty space between the line and logo come from???

IE7 always displays the empty space.

When I change DTD to XHTML 1.0 Transitional Firefox displays it as I
expect it with the blue line right underneath the logo. No space.

I appreciate any ideas on this.

Thanks,
Axel

Andy Dingley

unread,
Jul 15, 2008, 9:31:30 AM7/15/08
to
On 15 Jul, 14:10, Axel Siebenwirth <a...@nospam.invalid> wrote:
> Hi all,
>
> at a very simple page I've encountered a problem I cannot explain.
>
> http://projects.mooselook.de/landing_page/
>
> Where does the empty space between the line and logo come from???


Possibly from default margins on <div>. You don't set these
explicitly.

You set
div.container {}
but not
div.container div {}


I'd personally be tempted to replace the blue rule image with a CSS
border.

Jim Moe

unread,
Jul 15, 2008, 12:56:04 PM7/15/08
to
On 07/15/08 06:10 am, Axel Siebenwirth wrote:
>
> at a very simple page I've encountered a problem I cannot explain.
> http://projects.mooselook.de/landing_page/
> Where does the empty space between the line and logo come from???
>
Try "vertical-align: bottom" for the <img>.

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)

dorayme

unread,
Jul 15, 2008, 6:45:50 PM7/15/08
to
In article <487ca1ed$0$7545$9b4e...@newsspool1.arcor-online.net>,
Axel Siebenwirth <ax...@nospam.invalid> wrote:

> Hi all,
>
> at a very simple page I've encountered a problem I cannot explain.
>
> http://projects.mooselook.de/landing_page/
>
> Where does the empty space between the line and logo come from???

Try

img {display: block;}

--
dorayme

0 new messages