Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Problem with CSS position.

Reply
Thread Tools

Problem with CSS position.

 
 
Michael Satterwhite
Guest
Posts: n/a
 
      12-13-2004
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

 
Reply With Quote
 
 
 
 
Ryan Stewart
Guest
Posts: n/a
 
      12-17-2004
"Michael Satterwhite" <satterwh.X$NO$S$(E-Mail Removed)> wrote in message
news:drpvd.42657$(E-Mail Removed)...
> 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.


 
Reply With Quote
 
 
 
Reply

Thread Tools

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 On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CSS Layout question - how to duplicate a table layout with CSS Eric ASP .Net 4 12-24-2004 04:54 PM
confused - html validates, css validates but validate css from the html causes errors Titus A Ducksass - AKA broken-record HTML 6 11-15-2004 12:59 PM
Set CSS property equal to another CSS property? Noozer HTML 10 10-13-2004 09:20 PM
Is there a way to set the a CSS property to be explicitly the same as another CSS property? Joshua Beall HTML 1 12-10-2003 07:21 PM
print.css and screen.css tom watson HTML 1 09-09-2003 02:48 PM



Advertisments