Html – doesn’t work on IE7


It seems that the following piece of HTML is ignored in IE7 but works ok in IE6/FF. It supposes to override all the html links to be opened in the desired frame

 <base target="rightFrame">  

The above code is the header of a left frame that holds an Infragistics UltraWebTree (tree menu) which doesn't support the TargetFrame property.

Is there another way to add the target attribute to all the links elements on the desired page.

Any server or client-side code workarounds?

The site is built on ASP.Net 1.1 and Infragistics V 2.0

the web page is aspx an the doctype is

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >

Best Solution

The href="" attibute is mandatory on the base tag - that's one possible explanation. You don't say what doctype you're using, but target is not allowed in strict XHTML.

Edit: tested it without href and it worked ok... that leaves the doctype, or something else.