Connecting Tech Pros Worldwide Help | Site Map

Unexplainable margin

  #1  
Old July 15th, 2008, 02:15 PM
Axel Siebenwirth
Guest
 
Posts: n/a
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
  #2  
Old July 15th, 2008, 02:35 PM
Andy Dingley
Guest
 
Posts: n/a

re: Unexplainable margin


On 15 Jul, 14:10, Axel Siebenwirth <a...@nospam.invalidwrote:
Quote:
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.
  #3  
Old July 15th, 2008, 06:05 PM
Jim Moe
Guest
 
Posts: n/a

re: Unexplainable margin


On 07/15/08 06:10 am, Axel Siebenwirth wrote:
Quote:
>
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)
  #4  
Old July 16th, 2008, 12:40 AM
dorayme
Guest
 
Posts: n/a

re: Unexplainable margin


In article <487ca1ed$0$7545$9b4e6d93@newsspool1.arcor-online.net>,
Axel Siebenwirth <axel@nospam.invalidwrote:
Quote:
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
Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
IE6 not displaying text correctly - IE 7 & Firefox 3 are fine! littlealex answers 1 June 27th, 2008 04:27 PM
CSS problems with IE6...perfect with Opera and Firefox...strange, uh ;-) atarumorooka@yahoo.com answers 0 June 24th, 2007 12:15 PM