Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Adding an image via CSS to the side nav menu

  Asked By: Palak    Date: Feb 06    Category: Sharepoint    Views: 2151

This might be an easy question. I am working with the asp:menu control
on the master page and am trying to add a simple small image to the
front of each menu item.

I can't find the correct CSS style to overwrite to do this, even though
I have the entire list of styles for that control.

Does anyone know how to do this??



1 Answer Found

Answer #1    Answered By: Justin Mckee     Answered On: Feb 06

What I generally do in cases like this is to open the page  in the
browser, right-click, select View Source, and CTRL-F to the text in one of
the menu  items. From there, you can see exactly what classes are applied on
which elements.

Of course there are probably some decent debugger tools out there that
can do this, but I'm sort of old-school when it comes to markup.

Didn't find what you were looking for? Find more on Adding an image via CSS to the side nav menu Or get search suggestion and latest updates.