0

How to add div to navigation menu item? Basically, I want to add div before each list item in menu so they separate the items, I cant use paddings or margins, because if I use them submenu values from menu creates white background at sides of each dropdown menu option, or stays at same place and are misaligned with menu option.

0

IMO there should be nothing you can't do with CSS.

You can fairly easily discover and override default CSS styles and take advantage of selectors to do and undo styling throughout the markup.

However, there are other approaches, in case you want to go that way:

0

Fixed this problem, instead adding new controls, I just used paddings and margins, plus, I hid iframe which created white background (needed IE specific css):

-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
filter: alpha(opacity=0);

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.