1 reply [Last post]
byronwells
byronwells's picture
Offline
newbie
Last seen: 3 years 42 weeks ago
Joined: 2013-04-09
Posts: 2
Points: 4

Alright guys

I am wondering if there is any way that you can position a navigational bar in the centre by using a div class command and not the UL class command?

Please see here http://www.unlockingblueprints.com/ in regards to the bottom navigational link.. I have put the UL class inside a DIV Class which has a size 975PX same as the rest of the page, however I can't work out how to make it central..

I can't really change the UL class because that is used by the membership script itself...

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 19 hours 28 min ago
Dallas
Timezone: GMT-6
Joined: 2004-06-25
Posts: 9745
Points: 3824

Terminology

A list is held in a UL, OL or DL element. In this case the unordered list, UL, is the correct container.

ul#footer-menu {
  text-align: center;
  }
 
ul.sm li {  /* why not simply #footer-menu li {}? */
  display: inlne-block;
  position: relative;
  }

It does not help that you're using that silly, get-it-all-wrong Bootstrap.

cheers,

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.