You are here: Re: target attribute via CSS? « HTML « IT news, forums, messages
Re: target attribute via CSS?

Posted by Gιrard Talbot on 01/24/06 02:38

Marcus Stollsteimer wrote :
> Jonathan N. Little wrote:
>
>> Marcus Stollsteimer wrote:
>>> Hi group,
>>>
>>> is there a css-version of the target attribute, so that
>>> I can express
>>>
>>> <a href="gnat.html" target="somthing">Link</a>
>>>
>>> by
>>>
>>> <style type="text/css">
>>> a { target:something; }
>>> </style>
>>>
>>> and
>>>
>>> <a href="gnat.html">Link</a> ?
>> No.
>>
>> Firstly "target" is an HTML *attribute* not a CSS style *property*
>> and cannot set or create the attribute. Now you can style all A
>> elements that have target attributes with the selector:
>
> Sorry, what I really meant is:
>
> Can I replace the HTML attribute with some CSS style property
> that has the _same effect_, like
>
> a { some-target-property:something; }
>


Maybe there is an answer to your question but right now, it's impossible
to know what you are looking for. "Some CSS style property", "something"
are not what all of us consider as something specific, something
defined, something identified and something clear.

The FAQ on "How to open a referenced resource of a link in a new tab? or
in a specific tab?" may answer you:
DOM:window.open
http://developer.mozilla.org/en/docs/DOM:window.open#FAQ

GΓ©rard
--
remove blah to email me

 

Navigation:

[Reply to this message]


УдалСнная Ρ€Π°Π±ΠΎΡ‚Π° для программистов  •  Как Π·Π°Ρ€Π°Π±ΠΎΡ‚Π°Ρ‚ΡŒ Π½Π° Google AdSense  •  England, UK  •  ΡΡ‚Π°Ρ‚ΡŒΠΈ Π½Π° английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация