Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Text on top of image doesn't work in IE

Reply
Thread Tools

Text on top of image doesn't work in IE

 
 
Hvid Hat
Guest
Posts: n/a
 
      06-03-2008
Hi

I'm having a problem with the following: http://www.frip.dk/fripdotdk/ie.html

In Firefox the text looks correctly for both but in IE it doesn't work when I
add text in front of the anchor, e.g.

<div>&gt; <a href="page.html">Does not work in IE</a></div>

<div><a href="page.html">Works in IE</a></div>

Can anyone tell me what I'm doing wrong?
 
Reply With Quote
 
 
 
 
Els
Guest
Posts: n/a
 
      06-03-2008
Hvid Hat wrote:

> I'm having a problem with the following: http://www.frip.dk/fripdotdk/ie.html


> Can anyone tell me what I'm doing wrong?


Your code is invalid.
You have have a div with class 'banner', inside of which you have a
link, inside of which you have another div, inside of which another
link.
You can't have a <div> inside a link, nor one link inside of another
one.

--
Els http://locusmeus.com/
 
Reply With Quote
 
 
 
 
Nik Coughlin
Guest
Posts: n/a
 
      06-04-2008
"Hvid Hat" <(E-Mail Removed)> wrote in message
news:4845b428$0$56784$(E-Mail Removed) k...
> Hi
>
> I'm having a problem with the following:
> http://www.frip.dk/fripdotdk/ie.html
>
> In Firefox the text looks correctly for both but in IE it doesn't work
> when I
> add text in front of the anchor, e.g.
>
> <div>&gt; <a href="page.html">Does not work in IE</a></div>
>
> <div><a href="page.html">Works in IE</a></div>
>
> Can anyone tell me what I'm doing wrong?


Not familiar with CSS background images then?

 
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
Text to line up level with top of image tshad HTML 7 05-11-2010 06:46 PM
Can I draw text on top of an image? active ASP .Net 2 06-28-2007 01:19 PM
Top lenses versus top telescopes for telephoto work Rich Digital Photography 10 12-29-2006 12:30 AM
Why does my Top DashBoard Image do not touch top of the screen? Frederic HOUDE HTML 4 08-30-2004 11:22 PM
Aligning one image on top of an (almost identical) image Aaron Queenan Digital Photography 13 04-14-2004 09:08 PM



Advertisments