WordPress.org

Forums

OL and UL not aligning properly placed adjacent to a floating div (3 posts)

  1. cableghost
    Member
    Posted 3 years ago #

    How may I get ol/ul lists to properly align when adjacent to a floating div?

    For example, I have tried using the following code for the div, but it does not properly margin ol/ul.

    .floating-div{float:left; clear: left; width: 336px !important; margin: 0 7px 0 0;}
    This may also be an issue with my ol/ul css, so I am listing the code I use for it as well:

    .post .b_text ul {margin: 0 0 24px 25px;}
    .post .b_text ol li {font-size: 13px;list-style: decimal outside none;}
    .post .b_text ul ol li {list-style: decimal outside none;}
    .post .b_text ol {margin: 0 0 15px 25px;}
    .post .b_text ul li {font-size: 13px;list-style: disc outside none;margin-left: 5px;}

    Thanks in advance.

  2. Darin Kotter
    Member
    Posted 3 years ago #

    It would be helpful if you have a link to your site you can post, so we can view the source there and mess with it.

  3. cableghost
    Member
    Posted 3 years ago #

    Thanks for the reply. I'm certain my css code simply needs modification.

Topic Closed

This topic has been closed to new replies.

About this Topic