Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 150373
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T09:16:49+00:00 2026-05-11T09:16:49+00:00

For some reason this class outputs ok in IE but in Firefox the words

  • 0

For some reason this class outputs ok in IE but in Firefox the words and the lines ( | ) are not centered:

.horz_list li {     display: inline;      background-color: #CEE3F8;       border-right-style:thin;      padding-right: 4px;      padding-left: 4px;   } 

This is the page for the output:

<div id='top_nav'>   <ul class='horz_list'>     <li><a href='<?php echo APP_DIR.'index.php?action=newest'; ?>'>Nuevas</a></li>     <li><a href='<?php echo APP_DIR.'index.php?action=comments&param=new'; ?>'>Comentarios</a></li>     <li class='last'><a href='<?php echo APP_DIR.'index.php?action=submit'; ?>'>Enviar</a></li>   </ul> <!-- ul.horz_list --> </div> <!-- top_nav --> 

If anyone know why is this, thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T09:16:50+00:00Added an answer on May 11, 2026 at 9:16 am

    Try changing the li’s properties

    .horz_list li{     display: block; /* block level */     float: left;  /* float them inline to the left */     overflow: hidden; /* this will force the div to stretch to it's contained element */     background-color: #CEE3F8;       border-right-style:thin;      padding-right: 4px;      padding-left: 4px;   } 

    … or if you want what Ben described, the whole block centred, use

    .horz_list {    margin: 0 auto;   } 

    Ensure it’s containing block has a width, even if it’s 100%.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

For some reason this text isn't being centered. #highlightheader { background-color:#006600; color:white; font-size:30px; text-align:center;
For some reason, this rule is applied in Chrome on Mac, but not on
For some reason this () character shows up in Firefox 10 randomly throughout my
For some reason this statement is working fine: vms.Where(vm => vm.MessageType == ValidationMessage.EnumValidationMessageType.Warning) But
For some reason this program is saying that 'switch' is not defined. What is
This should be pretty simple but for some reason, I can't get this program
For some reason I'm not getting the expected output on this curl function, IF
I wrote this HttpRequest method, but for some reason it always goes to 404
For some reason this isn't working, am I missing something obvious? RewriteRule ^(.*)infopopup.html$ /acatalog/infopopup.html
For some reason this line of code is giving me quite a problem. struct

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.