Reply LinkBack Thread Tools Search this Thread
Old 03-12-2006, 09:37   #1 (permalink)
brooks
inventer of the left-hand
 
brooks's Avatar
 
Join Date: Aug 2006
Location: Gypsyville
Posts: 1,317
In reference to my last thread; FF adding its own margin?

Hi there. As you've probably seen I'm updating my portfolio at the moment, and I had some IE problems to sort out, which are now pretty much sorted, but someone pointed me to the fact that Opera displayed my site incorrectly, although playing with the CSS i've found that it is more than likely FF having a laugh at me.

Quote:
Originally Posted by Jayx
Not quite all-right in Opera

That's what happened, and I found it's because I had a "margin-top: -55px". And I wondered why, it turns out FF doesn't like it's width being changed, it randomly adds some space.

Code:
#container{ padding-top: 10px; color: #333; margin: 0 auto; width: 730px; }

produces this:

http://resized.filevend.com/anon/bCv08K7q.jpg

Code:
#container{ padding-top: 10px; color: #333; margin: 0 auto; }

simply removing the width makes it display at the correct height:

http://resized.filevend.com/anon/KVfChN4t.png

I hope I'm not missing anything stupid, view the site css at:

www.upleft.co.uk/stylesheet.css
www.upleft.co.uk

Last edited by brooks : 03-12-2006 at 11:46.
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8