Announcement

Collapse
No announcement yet.

Centering the navbar

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [Forum] Centering the navbar

    Admit it, you've been asked this question loads. But I'll be damned if I can search out a topic on it that explains in clear English if its possible. And after 25 minutes of Google searching, and searching this site - I'm bored.

    So basically, is it possible to make the navbar in the center, so for e.g. its like this:


  • #2
    Anyone help?

    Comment


    • #3
      add this to additional.css template

      Code:
      .navtabs {
      text-align: center;
      }
      .navtabs li {
      display: inline-block;
      float: none;
      }
      I did it before a project. It works mostly ok but it does not work on IE6/7 iirc. They need some additional fixes which are pretty tricky.

      Comment


      • #4
        Thanks, worked like a charm!

        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...
        X