Now from this I frame I would like to click a link and change the main frame in which the iframe is embedded. How is it done?[/QUOTE] Make up your mind. Here, the style="" will be precedant.
For that matter, if you're going to add style="", do all selectors, not just some: