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. Advertising

  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. Advertising

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:
    657
    Luqman
    Feb 7, 2006
  2. James Wong
    Replies:
    4
    Views:
    503
    James Wong
    Jul 14, 2004
  3. Replies:
    3
    Views:
    184
  4. James Black
    Replies:
    0
    Views:
    403
    James Black
    May 28, 2006
  5. brendan
    Replies:
    0
    Views:
    199
    brendan
    Aug 29, 2006
Loading...

Share This Page