I'm developing an ASP.NET application.
I'm making use of a LinkButton Object to post my forum to the server.
The LinkButton is converted into a hyperlink once it is rendered as HTML for the browser.
Instead of displaying simple hyperlinks (to change my languages), I'd like to use <div> tags that represent buttons.
In order to extend the hyperlink so that the whole <div> acts like a button, right now I am placing a <div> within the <a> like so:
Expand|Select|Wrap|Line Numbers
- <a id="Lbtn_English" href="javascript:__doPostBack('BlahBla','')" style="color:White;text-decoration:none;">
- <div id="English" class="languageSelectionButton" style="background-color:Blue;">
- English
- </div>
- </a>
Could someone recommend how to get around this problem using HTML?
(So that I can figure out how to get my ASP.NET code to render valid HTML)
Thanks
-LilOlMe