4 replies [Last post]
yylex
Offline
newbie
Last seen: 16 years 1 week ago
Joined: 2004-11-23
Posts: 2
Points: 0

Hi,

Anyone know what styles apply to <AREA> tag?
I tried to use <AREA style="border-style:solid; border-width:1px" ..../>
and it seemed not have any effect.

Thanks

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 5 years 47 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

&lt;AREA&gt; TAG

Hi yylex,
Would you not have declare the 'shape' and 'coord' values of the area tag first, thus defining it as an entity, something for the styles to actually apply to ?
Ignore me if I'm being dumb, not that familiar with their use,

Hugo.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

yylex
Offline
newbie
Last seen: 16 years 1 week ago
Joined: 2004-11-23
Posts: 2
Points: 0

&lt;AREA&gt; TAG

Hi Hugo

Thanks for your response.
I did include 'shape' and 'coord' attributes in my AREA tag, and my image map works ok, except the style does not take any effect.

yylex

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 5 years 47 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

&lt;AREA&gt; TAG

Could do with seeing a little more code really, css/html , check for errors.

Hugo.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

i8ramin
i8ramin's picture
Offline
Regular
Glen Cove, NY
Last seen: 16 years 1 week ago
Glen Cove, NY
Joined: 2004-11-24
Posts: 49
Points: 0

&lt;AREA&gt; TAG

To my understanding the AREA tag is only used to define a clickable area on an image map. It doesn't follow the same rules as other inline or block elements when it comes to styling. I'm not 100% sure about this, but I really doubt you can apply any styles do them.. why would you want to anyway? just curious