Sent by Gunlaug_Sørtun on 12 September 2007 16:04
Phil Turner wrote:
> Thanks Drew / Georg Using Margin - right has fixed the problem,
>
> I understand this "Wrong doctype for use of target-attributes on
> links btw. Only allowed in Transitional (not Strict)."
>
> However I dont know what to replace " Parent" with in the target -
> attributes or where to find this information to gain more knowledge /
> understanding
<quote - from my authoring tool's HTML 4 reference>
The TARGET attribute is used with frames to specify in which frame the
link should be rendered. If no frame with such a name exists, the link
is rendered in a new window unless overridden by the user. Special frame
names begin with an underscore:
• _blank renders the link in a new, unnamed window
• _self renders the link in the current frame (useful for overriding a
BASE TARGET)
• _parent renders the link in the immediate FRAMESET parent
• _top renders the link in the full, unframed window
</quote>
In actual use with a Transitional or Strict doctype (not frames), the
'_parent' opens new pages in the same window or tab. Thus, deleting the
target-attribute altogether has exactly the same effect as keeping it,
as "same window/tab" is the default "unless overridden by the user".
I see no frames on your site and the links open in same window/tab.
So, I advice you to delete the target-attribute, as nothing will change
but the validity of your source code.
regards
Georg
--
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/