Problem with CSS position.

  • Thread starter Michael Satterwhite
  • Start date
M

Michael Satterwhite

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
 
R

Ryan Stewart

Michael Satterwhite said:
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.
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top