VS 2010 tab Menu changing the class/stylehttp://forums.asp.net/t/1549082.aspx/1?VS+2010+tab+Menu+changing+the+class+styleSat, 24 Apr 2010 18:25:13 -040015490823793351http://forums.asp.net/p/1549082/3793351.aspx/1?VS+2010+tab+Menu+changing+the+class+styleVS 2010 tab Menu changing the class/style <p>Hi all,</p> <p>I have a trial version of VS2010 and created a simple out of the box ASP .Net web application.&nbsp; I have been playing around with the css file for the project and have yet to figure out how to&nbsp;effect the menu tabs.&nbsp; It does not seem like it should be that hard.&nbsp; Please help.&nbsp;</p> 2010-04-20T04:33:23-04:003797981http://forums.asp.net/p/1549082/3797981.aspx/1?Re+VS+2010+tab+Menu+changing+the+class+styleRe: VS 2010 tab Menu changing the class/style <p>It is used by order list and underorder list. If you have sample asp.net template application you can explore the css files where you can find the following class which is created for menu</p> <p>div.menu ul<br> {<br> &nbsp;&nbsp;&nbsp; list-style:none;<br> &nbsp;&nbsp;&nbsp; margin:0;<br> &nbsp;&nbsp;&nbsp; padding:0;<br> &nbsp;&nbsp;&nbsp; width:auto;<br> }<br> <br> div.menu ul li<br> {<br> &nbsp;&nbsp;&nbsp; padding-left: 8px;<br> }<br> <br> div.menu ul li a, div.menu ul li a:visited<br> {<br> &nbsp;&nbsp;&nbsp; background-color: #465c71;<br> &nbsp;&nbsp;&nbsp; border: 1px #4e667d solid;<br> &nbsp;&nbsp;&nbsp; color: #dde4ec;<br> &nbsp;&nbsp;&nbsp; line-height: 2.8em;<br> &nbsp;&nbsp;&nbsp; padding: 4px 20px;<br> &nbsp;&nbsp;&nbsp; text-decoration: none;<br> }<br> <br> div.menu ul li a:hover<br> {<br> &nbsp;&nbsp;&nbsp; background-color: #bfcbd6;<br> &nbsp;&nbsp;&nbsp; color: #465c71;<br> &nbsp;&nbsp;&nbsp; text-decoration: none;<br> }<br> <br> div.menu ul li a:active<br> {<br> &nbsp;&nbsp;&nbsp; background-color: #465c71;<br> &nbsp;&nbsp;&nbsp; color: #cfdbe6;<br> &nbsp;&nbsp;&nbsp; text-decoration: none;<br> }</p> <p>As menu controls are render as unorder list. You can change your menu look<br> </p> 2010-04-22T06:34:26-04:003802496http://forums.asp.net/p/1549082/3802496.aspx/1?Re+VS+2010+tab+Menu+changing+the+class+styleRe: VS 2010 tab Menu changing the class/style <p>Thanks for your reply, I totally get how css work. However for some reason, I screwed something up Doh! and the css has no effect on this project.&nbsp; I recreated the project from scratch and now it is responding to changes that&nbsp;I make in my css.</p> <p>&nbsp;</p> <p>&nbsp;</p> 2010-04-24T18:25:13-04:00