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.

HTML Forum


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



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Old 09-15-2009, 10:44 AM Uneven nav in IE8
Experienced Talker

Posts: 37
Name: Ryan
Location: Indianapolis, IN
Trades: 0
http://thinkcassis.com/brand360/why.html

Is there any reason why the first and last nav item's shift up approx. 1 pixel?

It's only in IE8.

*edit*
I take that back, it's all versions of IE...

Here's the code.

HTML Code:
    <div id="navigation">
                    <ul id="nav">
                        <li id="home"><a href="index.html">home</a></li>
                        <li id="why" class="current"><a href="why.html">why brand360?</a></li>
                        <li id="merch"><a href="apparel.html">merchandise &amp; apparel</a></li>
                        <li id="events"><a href="events.html">corporate golf events</a></li>
                        <li id="contact"><a href="contact.html">contact</a></li>
                    </ul>
                </div><!-- /navigation -->
Code:
#interior #header #top #navigation {
    width: 520px;
    height: 102px;
    float: left;
}
#interior #header #top #navigation #nav {
    font-variant: small-caps;
    list-style-type: none;
    font-size: 13px;
}
#interior #header #top #navigation #nav a {
    text-decoration: none;
    display: block;
    padding-top: 40px;
    color: black;
}
#interior #header #top #navigation #nav li {
    float: left;
    display: block;
}
#interior #header #top #navigation #nav #why.current,#interior #header #top #navigation #nav #merch.current,#interior #header #top #navigation #nav #events.current,#interior #header #top #navigation #nav #contact.current {
    border-top: 4px solid #231F20;
}
#interior #header #top #navigation #nav #home:hover,#interior #header #top #navigation #nav #why:hover,#interior #header #top #navigation #nav #merch:hover,#interior #header #top #navigation #nav #events:hover,#interior #header #top #navigation #nav #contact:hover {
    border-top: 4px solid #231F20;
}
#interior #header #top #navigation #nav #home {
    width: 31px;
    margin-right: 13px;
    border-top: 4px solid transparent;
}
#interior #header #top #navigation #nav #why {
    width: 96px;
    margin-right: 13px;
    border-top: 4px solid transparent;
}
#interior #header #top #navigation #nav #merch {
    width: 142px;
    margin-right: 13px;
    border-top: 4px solid transparent;
}
#interior #header #top #navigation #nav #events {
    width: 143px;
    margin-right: 13px;
    border-top: 4px solid transparent;
}
#interior #header #top #navigation #nav #contact {
    width: 51px;
    border-top: 4px solid transparent;
}

Last edited by indyryan; 09-15-2009 at 01:44 PM..
indyryan is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Reply     « Reply to Uneven nav in IE8
 

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