Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Unexplained top-margin
Old 09-27-2011, 03:52 PM Unexplained top-margin
NoeG's Avatar
Experienced Talker

Posts: 45
Name: Noe Garcia
Location: The great state of TEXAS we'll kick yer ***!
Trades: 0
I cant figure out why I'm getting a top margin in FF I'm not sure if it works in IE 8 and down but it works in IE9

my website is http://mmasaint.com

when I clear my cache it works fine the black top div is set at the very top of the page with 0 top margin but it doesn't stay like that it moves down about 25px

I reset my style to

Code:
*{margin:0; padding:0; border:0;}
and it always works just not in this case.

here's a snippet from the section it's in

Code:
#top{
width:100%;
overflow:hidden;
background-color:#000;
}

#header{
width:1024px;
margin:0 auto;
}

#logo{
width:200px;
float:left;
}

#top-nav{
width:500px;
float:left;
margin-top:15px;
color:#FFF;
}
__________________

Please login or register to view this content. Registration is FREE
|personal portfolio and blog
NoeG is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 09-28-2011, 11:31 AM Re: Unexplained top-margin
Junior Talker

Posts: 1
Trades: 0
hi,
Works fine with FF here.
try to set an height for #header, it may help.
daviddeseine is offline
Reply With Quote
View Public Profile Visit daviddeseine's homepage!
 
Old 09-28-2011, 01:32 PM Re: Unexplained top-margin
vangogh's Avatar
Post Impressionist

Latest Blog Post:
Why Responsive Design?
Posts: 10,815
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
Seems to be working fine for me too. I checked in both FF and Safari. Since it works for you as well when you clear your cache I'm wondering if the issue is something local to your machine. Have you checked on any other computers?
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 09-28-2011, 01:45 PM Re: Unexplained top-margin
Average Talker

Posts: 17
Trades: 0
No difference here between IE 8 and 9. There is a difference between FF and IE, but only in FF do I have an ad blocker.
__________________
Frank

Please report back how suggestions worked out.
FrankknarF is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Unexplained top-margin
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.50676 seconds with 12 queries