Problem with CSS position.

Discussion in 'HTML' started by Michael Satterwhite, Dec 13, 2004.

  1. On my page, I'm positioning text on tabs. The following code appears on my
    page:

    <img src="images/plainTop.gif" border="0" alt="" />
    <div style="position: absolute; top:98px; font-size: small">
    <div style="position: absolute; left: 190px"><a href="aboutus.html">About
    Us</a></div>
    <div style="position: absolute; left: 321px"><a
    href="faq.html">FAQ</a></div>
    <div style="position: absolute; left: 415px"><a
    href="stocksprings.html">Stock Springs</a></div>
    <div style="position: absolute; left: 542px"><a href="sitemap.html">Site
    Map</a></div>
    <div style="Position: absolute; left: 655px"><a
    href="resources.html">Resources</a></div>
    </div>

    This displays perfectly in both Firefox and Mozilla. In Internet Explorer,
    however, the text doesn't appear at all. Would one of you experts be so
    kind as to point out my error?

    tia
    ---Michael
     
    Michael Satterwhite, Dec 13, 2004
    #1
    1. Advertisements

  2. Michael Satterwhite

    Ryan Stewart Guest

    "Michael Satterwhite" <satterwh.X$NO$S$> wrote in message
    news:drpvd.42657$...
    > On my page, I'm positioning text on tabs. The following code appears on my
    > page:
    >
    > <img src="images/plainTop.gif" border="0" alt="" />
    > <div style="position: absolute; top:98px; font-size: small">
    > <div style="position: absolute; left: 190px"><a href="aboutus.html">About
    > Us</a></div>
    > <div style="position: absolute; left: 321px"><a
    > href="faq.html">FAQ</a></div>
    > <div style="position: absolute; left: 415px"><a
    > href="stocksprings.html">Stock Springs</a></div>
    > <div style="position: absolute; left: 542px"><a href="sitemap.html">Site
    > Map</a></div>
    > <div style="Position: absolute; left: 655px"><a
    > href="resources.html">Resources</a></div>
    > </div>
    >
    > This displays perfectly in both Firefox and Mozilla. In Internet Explorer,
    > however, the text doesn't appear at all. Would one of you experts be so
    > kind as to point out my error?
    >

    Are you sure the text isn't somewhere unexpected? Maybe it's above or below
    where you expect it? I've had some odd issues with IE and absolute
    positioning in the past. Try putting some borders around your divs to see if
    they show up where you expect. If so, can you highlight and see the text? IE
    is also known in some circumstances to render text behind the background.
    When that happens, you can normally select it and it will be at least
    partially visible.
     
    Ryan Stewart, Dec 17, 2004
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Luqman
    Replies:
    1
    Views:
    815
    Luqman
    Feb 7, 2006
  2. news.frontiernet.net

    Design Position by tables or CSS: Problem

    news.frontiernet.net, Oct 3, 2003, in forum: HTML
    Replies:
    13
    Views:
    849
    Toby A Inkster
    Oct 5, 2003
  3. Cliff R.
    Replies:
    1
    Views:
    760
    Cliff R.
    Feb 2, 2005
  4. Paul Watt

    css text position problem

    Paul Watt, Mar 31, 2006, in forum: HTML
    Replies:
    7
    Views:
    2,339
    Beauregard T. Shagnasty
    Mar 31, 2006
  5. Adam Plocher
    Replies:
    4
    Views:
    26,727
    Adam Plocher
    May 26, 2006
  6. James Wong
    Replies:
    4
    Views:
    755
    James Wong
    Jul 14, 2004
  7. Replies:
    3
    Views:
    301
  8. James Black
    Replies:
    0
    Views:
    539
    James Black
    May 28, 2006
Loading...