www.dianthavanmarion.nl

Branding SharePoint

By Diantha van Marion

July 17th, 2009

Always wondered how you could put some branding on SharePoint? What is possible, what isn’t?

Then keep your eye on www.sharepointmagazine.net,
because my four articles about SharePoint’s Branding Limitations will be published
next week!

February 15th, 2008

Of course you build your navigation menu out of list-items. Inside the <li>tag
is another <ul> tag with some <li>tags, if your navigation structure has
multiple layers.
You also know that every unsorted or sorted list has a default whitespace on the left.
You properly don’t want that white space in your navigation menu, right? Here’s your
way to go:

  • Imagine the outer <ul> has a class name like ‘left menu’.
  • Also imagine that there are three top levels in this menu, ‘meat’, ‘bread’ and ‘fish’.
  • The meat-menu item has two sub items; ‘chicken’ and ‘Pork’.

Your list should look like this:

<ul class=”leftmenu”>
<li>meat
<ul>
<li>chicken</li>
<li>pork</li>
</ul>
</li>
<li>bread</li>
<li>fish</li>
</ul>

Which is the same as:

  • Meat

    • Chicken
    • Pork
  • Bread
  • Fish

Just add the following css-code to remove the left-whitespace for firefox:

ul.leftmenu ul{
padding-left:0px;
}




And add the following css-code to remove the left-whitespace for Internet
Explorer
:

ul.leftmenu ul{
margin-left:0px;
}




This is a typical example of how Internet Explorer and Firefox render differently.

Good luck!