Jump to content

How to reset UL/list direction?

- - - - -

  • Please log in to reply
2 replies to this topic

#1
LuthfiHakim

LuthfiHakim

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 763 posts
Somewhere in the css i use had made the bulleted list items to be listed horizontally instead of vertically. It has something to do with the menu, I believe. Usually it does not affect other sections. But the recent changes I made had it affect other section, footer section. Making my footer looks terrible. The problem is I am sure I never touch UL or LI related styles.

So how do I reset the direction back to vertical?

TIA

#2
Alexander

Alexander

    It's Science!

  • Moderators
  • 4,118 posts
  • Location:Vancouver, Eh! Cleverness: 200
I believe the CSS "display: inline;" will make the list inline (horizontal in a span for example), was that mentioned in your CSS for the list?

edit: maybe float: left does this too.

Edited by Alexander, 06 January 2011 - 10:18 PM.

Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.

#3
LuthfiHakim

LuthfiHakim

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 763 posts
I have no idea which part of the css making it goes horizontally. I have the idea though. But what I am after is not to modify the existing styles. But to declare styles only for the footer. So something like:

#footer ul { blah blah blah}

I'll check if #footer ul {float: left;} works.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users