ASP.NET Menu control automatically adding inline style -


I 2010 and the ASP.Net menu control is adding the following inline style:

  style = "float: left;"   

I added the following to declare the control:

  include style = "false" CssClass = "myClass" style = ""   

Without success


The menu is rendering in such a way:

  & lt; Div class = "myMenu" style = "swim left;" & Gt; & Lt; Ul id = "menu" style = "float: left .... ....   

Floating top level div is not required. I'm not sure how to fix it

float: left is making the menu item side-by-side -Side appear. Is not it what you want?

If you really want this, then you can try modifying your CSS:

  .myclass {float: none! Important;}    

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -