Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Nov 2006
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Problem targeting the list decoration to center next to text

    Hi there,

    This is probably an easy question for some. Here is the issue.

    I have a regular list item in css. ul li etc. The problem I am having is that depending on how large my font is, the disc beside it seems to drop and not center or align centrally beside the text.

    Is there some way to target the disc to center next to the text beside it?

    Thanks

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,852
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    I have a regular list item in css. ul li etc. The problem I am having is that depending on how large my font is, the disc beside it seems to drop and not center or align centrally beside the text.
    Please post a link to your page or post the complete HTML+CSS
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #3
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,675
    Thanks
    22
    Thanked 1,827 Times in 1,811 Posts
    Hello Capone,
    Yes, a link to the page would help. At least post your entire code so we can see how you're styling this ul.

    I've always had better luck with positioning bullets a different way. Have a look at an example here.
    Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
    Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •