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
Not sure where the gap above my header came from ?
Old 12-31-2008, 01:13 PM Not sure where the gap above my header came from ?
Experienced Talker

Posts: 30
Trades: 0
Could someone please have a quick look at:

The main logo and header area is meant to be at the top, but its dropped down around 150px, I have no idea why ?

Thanks

Ashley

Last edited by acknowledged74; 12-31-2008 at 02:35 PM..
acknowledged74 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 12-31-2008, 01:42 PM Re: Not sure where the gap above my header came from ?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
it's probably 146px further down

eg the exact height of the image that is in an absolutely positioned container but ISN'T relatively positioned inside it's container.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 12-31-2008, 01:56 PM Re: Not sure where the gap above my header came from ?
Experienced Talker

Posts: 30
Trades: 0
I've set all containers as position:relative; and its still doing it.

It that what you meant Chris ?

At the moment there is 'wrapper2' outside of 'header', which has both 'kings' and 'navigation' inside of it.

wrapper2 is default, header set to relative, and kings the same.

I've tried all varitaions that make sense and no luck. What am I doing wrong ?

Thanks for the answer by the way.

Ashley

Last edited by acknowledged74; 12-31-2008 at 02:12 PM.. Reason: more info
acknowledged74 is offline
Reply With Quote
View Public Profile
 
Old 12-31-2008, 02:17 PM Re: Not sure where the gap above my header came from ?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Now float it right and position it
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 12-31-2008, 02:21 PM Re: Not sure where the gap above my header came from ?
Experienced Talker

Posts: 30
Trades: 0
Hi

#kings is exactly where I want it.

Its the rest of the page that sin't where its meant to be.

If I can get this bit right then the sites finished, and that would be great.

Last edited by acknowledged74; 12-31-2008 at 02:38 PM..
acknowledged74 is offline
Reply With Quote
View Public Profile
 
Old 12-31-2008, 03:14 PM Re: Not sure where the gap above my header came from ?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
#kings is exactly where I want it.
Yep but it is that element which appears to be pushing everything downwards.

Put different coloured borders on your containers so you can see where each one is in relation to their parents and predecessors.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 01-02-2009, 06:04 AM Re: Not sure where the gap above my header came from ?
Experienced Talker

Posts: 30
Trades: 0
Hi

Hopefully a quick one, maybe I'm going mad.

The horizontal nav on the website sits fine in FF etc but drops down to far in IE7

please take a look scorpion

I've fiddled about with various settings the

#navigation ul {

margin-top:188px;

}

is perfect in FF but there must be another margin thats effecting the IE not the FF ?

Its like the last thing to finishing the website, so frustrating !!!

Many Thanks

Ash
acknowledged74 is offline
Reply With Quote
View Public Profile
 
Old 01-02-2009, 06:05 AM Re: Not sure where the gap above my header came from ?
Experienced Talker

Posts: 30
Trades: 0
Many thanks for the help !!

Last edited by acknowledged74; 01-02-2009 at 06:29 AM..
acknowledged74 is offline
Reply With Quote
View Public Profile
 
Old 01-02-2009, 06:32 AM Re: Not sure where the gap above my header came from ?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
fixing the navigation in Firefox would be more important I'd say.

I don't see any "extra gap" but you need to get rid of the blank line before the DTD.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to Not sure where the gap above my header came from ?
 

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.28141 seconds with 12 queries