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
Old 01-18-2010, 06:33 AM IE8 aaagggghhhh!!!
pealo86's Avatar
Super Spam Talker

Posts: 876
Name: Matt Pealing
Location: England, north west
Trades: 0
I think it's the element
Code:
<div id="header">
that's causing the problem, notice how in IE8 (only!) that the height of it seems to be doubled, and the background is repeated, even though I've specifically said in the stylesheet not to repeat the background

http://bit.ly/60dd4O

I have a feeling that the problem will be in here somewhere:
Code:
<div id="header">
<a id="page-top">        </a><a id="logo" href="http://www.mattpealingdesign.co.uk/-mattpealing.co.uk" bitly="BITLY_PROCESSED"><img src="http://www.mattpealingdesign.co.uk/-mattpealing.co.uk/wp-content/themes/mattpealing/image/logo.gif" alt="Matt Pealing Logo"/></a>
        <a id="creative-output" href="http://www.mattpealingdesign.co.uk/-mattpealing.co.uk/wp-login.php" bitly="BITLY_PROCESSED"><img src="http://www.mattpealingdesign.co.uk/-mattpealing.co.uk/wp-content/themes/mattpealing/image/creative-output.gif" alt="Creative Output Version 4.0"/></a>
    </div>
and...

Code:
#wrapper {
    width:970px;
    margin:0 auto 40px;
    overflow:auto;
    background:url(image/wrapper-mid.jpg) no-repeat center 190px;
}

#header {
    height:190px;
    position:relative;
    background:url(image/header.jpg) no-repeat;
}

#header #logo {
    position:absolute;
    bottom:120px;
    left:30px;
}

#header #creative-output {
    position:absolute;
    right:30px;
    top:30px;
}
I've been looking at the code and tweaking it for ages but nothing makes any difference! If anyone could help that would be great.

Thanks.
__________________

Please login or register to view this content. Registration is FREE
pealo86 is offline
Reply With Quote
View Public Profile Visit pealo86's homepage!
 
 
Register now for full access!
Old 01-18-2010, 06:40 AM Re: IE8 aaagggghhhh!!!
pealo86's Avatar
Super Spam Talker

Posts: 876
Name: Matt Pealing
Location: England, north west
Trades: 0
Actually I've realised it's

'<a id="page-top" />'

at the top of the body section.

I've tried altering the height, float and display properties but nothing seems to fix it??
__________________

Please login or register to view this content. Registration is FREE
pealo86 is offline
Reply With Quote
View Public Profile Visit pealo86's homepage!
 
Old 01-18-2010, 06:48 AM Re: IE8 aaagggghhhh!!!
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,371
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
'<a id="page-top" />'

anchors are NOT self closing elements so the entire page is wrapped in the anchor.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is 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-18-2010, 06:50 AM Re: IE8 aaagggghhhh!!!
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,371
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
AND named anchors are not really necessary any more.

You can use an element's ID as the document fragment marker
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is 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-18-2010, 07:05 AM Re: IE8 aaagggghhhh!!!
pealo86's Avatar
Super Spam Talker

Posts: 876
Name: Matt Pealing
Location: England, north west
Trades: 0
I see! Thanks for the tip
__________________

Please login or register to view this content. Registration is FREE
pealo86 is offline
Reply With Quote
View Public Profile Visit pealo86's homepage!
 
Reply     « Reply to IE8 aaagggghhhh!!!
 

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