ASPX templates
Version 5.x > ASPX templates > Have to avoid inline Style of CMSListMenu View modes: 
User avatar
Member
Member
remya.p-nlindia - 7/7/2011 6:10:41 AM
   
Have to avoid inline Style of CMSListMenu
i have to avoid the inline styles from the CMSListMenu.
I have to avoid the inline bullets,padding and margin while applying a listmenu in my pages. please give your suggestions.

User avatar
Kentico Developer
Kentico Developer
kentico_ondrejv - 7/8/2011 6:50:44 AM
   
RE:Have to avoid inline Style of CMSListMenu
Hello,

As far as I'm aware there are no additional in-line styles in the CSS List Menu web part / CMSListMenu control. Could you please provide us with more details about your aim. Probably the HTML code itself would be great.

On the other hand, if you mean styling of its look and feel you can do that easily using CSS styles. Please take inspiration e.g. here: CSS Play or here: Listamatic.

Best regards
Ondrej Vasil

User avatar
Member
Member
remya.p-nlindia - 7/8/2011 7:22:05 AM
   
RE:Have to avoid inline Style of CMSListMenu
While applying CMSListMenu in any page, its coming like some spacing and bullets in the leftern side of the menu items.I have to remove these empty spacing and bullets,have to align menu items in the leftern side of the div.

I think these bullets are coming due to some inline stles in kentico cms. I had replaced the listmenu with repeater and apply styles in the transactions.Like that i solved my issue. i would like to know, how to avoid the styles in the cms listmenu.

User avatar
Kentico Developer
Kentico Developer
kentico_ondrejv - 7/11/2011 1:22:00 AM
   
RE:Have to avoid inline Style of CMSListMenu
Hello,

I see now. This is actually default unordered list behavior - I mean, it's not about any inline style. You may try to disable CSS styles on your site completely to see the look and feel will be the same (regarding bullets).

As for the solution, you can use approach I mentioned previously. It is possible to get rid of the bullet using CSS styles.

Best regards
Ondrej Vasil

User avatar
Member
Member
remya.p-nlindia - 7/11/2011 3:48:40 AM
   
RE:Have to avoid inline Style of CMSListMenu
Thank you very much Mr.Ondrej Vasil