This was it: <base target="_blank"> in the head of the document.
I didn´t use the JS solution, I thought it did this same job but I think it doesn´t. Any way, if it does, this is simpler and lighter! :) It saved 6kb of the document, and it validates as transitional. Thank you all! Eugenio. On 7/25/06, Designer <[EMAIL PROTECTED]> wrote:
TuteC wrote: > Hello everyone. I have a web page that I use as a public favorites. I > have around a hundred different links to outside sites, and I use the > target=blank for each one. I searched at W3schools for a way to making > all the links in the page target=blank with CSS but couldn´t find one. > Is just that in a line of code I would save around 100s ' > target="_blank" '. > > Do you know a way of doing it in a tidy way? > > Thanks in advance; > Eugenio. Hi Eugenio, Don't forget the base tag, input into your header section: base target="_blank" It still won't validate as xhtml strict, but if you want a simple way to make all 'targets' be the same on that page, this is it! -- Best Regards, Bob McClelland Cornwall (UK) www.gwelanmor-internet.co.uk
****************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************
