-
[RESOLVED] [css]tab
Experts, can you please tell how to display a link in a new tab? for example if i click a link on my site, the current tab must not change, the link must be displayed in a new tab.
In addition, how can i set my website so that it will fit to any resolution?
thanks!
-
Re: [css]tab
There is no way to explicitly open a link in a new tab. Some browsers may open target="_blank" links in a new tab, rather than a new window as they ought to, but this is not a standard behavior.
If you want your website to adapt to any resolution, build your layout with percentage-based sizing on the primary container elements. This is often called a "liquid layout."
-
Re: [css]tab
Getting it to open in a new tab is a function of the browser... when the target="_blank" the browser will look in the options... if it needs to open a new tab, it does so... if it needs to open a new window completely, it does so... but it's a function of the browser, not anything you can do in the HTML or code (other than setting target="_blank" )
-tg
-
Re: [css]tab
thank you so much. it helps me a lot.. :)
-
Re: [RESOLVED] [css]tab
Just as a side note, you cant use target="_blank" in XHTML Strict (Well you can but its not valid). The target attribute is still in the DOM so you have to set the value using javascript.
-
Re: [RESOLVED] [css]tab