Hi, My website uses masterpage (ASP.NET website) and it is divided into five sections: header, footer, content, left and right columns (sections). I am trying to place google search adsense in the left column of my masterpage (under treeview control). When i try to insert the code which is given to me by adsense in the left column of the masterpage it gives me an error message that 'Error 1 Cannot switch views: Validation (XHTML 1.0 Transitional): Element 'style' cannot be nested within element 'div'.' here is the code given by adsense: <style type="text/css"> @import url(branding.css); </style> <div style="background-color:#FFFFFF;color:#000000"> <div> <form action="http://localhost:49834/stylesheets/Default.aspx" id="cse-search-box"> <div> <input type="hidden" name="cx" value="partner-pub-5548434563324556195:6xhrt6-u954" /> <input type="hidden" name="cof" value="FORID:11" /> <input type="hidden" name="ie" value="ISO-8859-1" /> <input type="text" name="q" size="25" /> <input type="submit" name="sa" value="Search" /> </div> </form> </div> <div> <img src="http://www.google.com/images/poweredby_transparent/poweredby_FFFFFF.gif" alt="Google" /> </div> <div> Custom Search </div> </div> I googled and found below method to get rid of this error, which tell me to add 'style' element in the header section of the html in this way: <head> <style type="text/css"> <--- @import url(branding.css); </style> ---> </ head> but when i run my website (after using the above method) the header section of the page disappears entirly, infact the entire section above the adsense disappears!! I cannot see the textbox and submit button of the search engine. Can anyone tell me how to make this work in masterpages ? Thanks a lot