Jump to content

Recommended Posts

Hi I was working on displaying horizontal elements with unordered list.  I am able to display the elements properly. But the bullets won't show up. Any help would be really appreciated!

Here is my code:

 

 

.blogs-listing

{

 

  background: white;

  padding: 0 8px 30px;

  position: relative;

  margin: 10px 0;

 

}

 

.blogs-listing ul

{

  padding: 0;

  border: 0;

  overflow: hidden;

  margin: 0;

 

 

}

 

 

.blogs-listing a {

 

display: block;

font-size: 12px;

color:#878787;

font-family: Arial;

font-weight:bold;

 

 

 

 

}

 

 

.blogs-listing ul li

{

 

  margin:15px 0 15px 9px;overflow:hidden;text-align:center;

  width:120px;

  float: left;

 

  font-family: arial, sans-serif;

  font-size: 0.8em;

  color: #5c5c5c;

 

  display:inline-block;

  font-size: 12px;

  vertical-align:left;

  white-space:nowrap;

 

}

 

.blogs-search-box-wrapper

{

  background: url('/images/box.png') no-repeat;

  height: 50px;

  position: relative;

  /*margin: 0px 0px 0px 10px;*/

  top:15px;

  right:357px;

 

}

 

Link to comment
https://forums.phpfreaks.com/topic/240903-unordered-bullets-dont-show-up/
Share on other sites

do you have some html with that. Right now a cause could be the following i see some overflow hidden being used and padding and margin set to 0, but if you can provide some html it will be much more useful. Online example would be even better.

Thank you for your replies. I cannot give access to that website as it is .htaccess protected. Here is my html code. it is pretty straight forward.

  <div class="blogs-listing">

    <ul>

      <li><a href='sitename/'>Technical Article</a></li> <li><a href='sitename/'>Tutorial</a>

      </li>

      <li><a href='sitename/'>Field Report</a></li> <li><a href='sitename/'>Personal</a>

      </li>

    </ul>

</div>

 

    </div>

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.