Support » Fixing WordPress » OL and UL not aligning properly placed adjacent to a floating div

  • 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.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘OL and UL not aligning properly placed adjacent to a floating div’ is closed to new replies.