CSS/HTML Justify

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sharkyboy
    New Member
    • Apr 2008
    • 11

    CSS/HTML Justify

    Hi,

    Is there anyway of justifying an unordered list so that its spreads right accross the full width of a page using CSS & HTML?

    Thanks,
    Mark
  • drhowarddrfine
    Recognized Expert Expert
    • Sep 2006
    • 7434

    #2
    In your CSS add:

    li{text-align:right}

    Comment

    • sharkyboy
      New Member
      • Apr 2008
      • 11

      #3
      Originally posted by drhowarddrfine
      In your CSS add:

      li{text-align:right}
      Sorry, i wasnt clear.

      What i meant was:

      Can you justify the text of a unordered list so that the start of the first li is at the far left and the end of the last li is at the far right and the individual li's are equally separated.

      Thanks
      Mark

      Comment

      • drhowarddrfine
        Recognized Expert Expert
        • Sep 2006
        • 7434

        #4
        Use the same thing but apply it to every <li> you want on the right. Otherwise, no.

        Comment

        Working...