|
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]
|