same target

liunx

Guest
i need to know how to make all my href's target the same frame using a css.

can anyone help?CSS is a tool that allows you to style your page in a particular way. It does not control content on the page. For that, you use HTML.

<a href=http://www.webdeveloper.com/forum/archive/index.php/"link.html" target="_self">This opens in the same frame</a>you can also name your frames then use this:

<a href=http://www.webdeveloper.com/forum/archive/index.php/"#" target="your_frame_name">This will also appear in the same frame.</a>And you can set the "target" attributes globally by using the transitional DTD and the BASE element. See <!-- m --><a class="postlink" href="http://www.w3.org/TR/html4/struct/links.html#edef-BASE">http://www.w3.org/TR/html4/struct/links.html#edef-BASE</a><!-- m -->.
 
Back
Top