Results 1 to 2 of 2

Thread: XHTML 1.0 Strict & IE 6.0 Imaging problem

  1. #1
    Join Date
    May 2007
    Posts
    1

    XHTML 1.0 Strict & IE 6.0 Imaging problem

    Hi

    I am making a website which has to be FF, Opera, Safari and IE 6.0 & 7.0 compatible. Also, it has to be XHTML 1.0 Strict validated and CSS 2.0 Validated.

    Anyway, in Opera and FF, the website looks +- the same, but IE 6.0 is like always causing problems...

    When I open my website, the top menu links (news, bio, gigs, etc) are displayed in some sort of descending manner in IE 6.0. The other browsers manage to display it correctly.

    What can I do to make internet explorer show all these buttons (images) on a same level?

    Thanks

    ps Please excuse my attempt to express myself in english :x it's not my native language

  2. #2
    Join Date
    Feb 2006
    Location
    Salisbury UK
    Posts
    4,332
    This works but I think there should be a better cure:-

    <ul id="nav">
    <li><a href="#" id="anews"></a></li>
    <li style="margin-top: -2px;"><a href="#"
    id="abio"></a></li>
    <li style="margin-top: -2px;"><a href="#"
    id="agigs"></a></li>
    <li style="margin-top: -2px;"><a href="#"
    id="apics"></a></li>
    <li style="margin-top: -2px;"><a href="#"
    id="alinks"></a></li>
    <li style="margin-top: -2px;"><a href="#" id="acontact"></a></li>
    </ul>

    Notice that the first li tag for anews does not have the margin style. Firefox is unaffected but in IE7 it raises the second to last images up in line with the first.
    Code downloaded to my PC will be deleted in due course.
    WIN7; IE9, Firefox, Opera, Chrome and Safari for Windows; screen resolution usually 1366*768.
    Also IE6 on W98 with 800*600 and IE8 on Vista 1440*900.

Similar Threads

  1. Return of the "my XHTML wont render properly in IE" problem
    By Dev in forum Web Design, HTML Reference and CSS
    Replies: 1
    Last Post: 04 Dec 2005, 06:48 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •