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 7174275
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T16:00:05+00:00 2026-05-28T16:00:05+00:00

Have following strange issue, have 7 lines (same classes) but after 2 lines it’s

  • 0

Have following strange issue, have 7 lines (same classes) but after 2 lines it’s looks different.
I cannot find any problems in css or html, and this must be working in my opinion.

here the css:

.archive-items dl {
border-bottom: 1px solid #4F8FCC;
padding: 0 0 8px 0;
margin: 0;
width: 310px;
}

.archive-items dl:first-child {
border-top: 1px solid #4F8FCC;
padding-top: 5px;
margin: 20px 5px 5px 0;
}

.archive-items dl a {
color: #162E4F;
text-decoration: none;
display: block;
}

.archive-items dl a:hover {
color: #B51E89;
text-decoration:underline;
}

.archive-items dl dt,
.archive-items dl dd {
margin: 0;
line-height: 1em;
height: 1em;
}

.archive-items dt {
color: #4F8FCC;
font-size: 0.9em;
padding: 0 5px 5px 5px;
}

.archive-items dd {
padding: 0 5px 5px 5px;
}

here code:

<div class="archive-items">
<dl>
<dt class="datum">Jan 28, 2012</dt>
<dd class="link"><a href="#">Test</a></dd>
</dl><dl>
<dt class="datum">Jan 28, 2012</dt>
<dd class="link"><a href="#">Test</a></dd>
</dl><dl>
<dt class="datum">Jan 28, 2012</dt>
<dd class="link"><a href="#">Test</a></dd>
</dl><dl>
<dt class="datum">Jan 28, 2012</dt>
<dd class="link"><a href="#">Test</a></dd>
</dl><dl>
<dt class="datum">Jan 28, 2012</dt>
<dd class="link"><a href="#">Test</a></dd>
</dl><dl>
<dt class="datum">Jan 28, 2012</dt>
<dd class="link"><a href="#">Test</a></dd>
</dl><dl>
<dt class="datum">Jan 28, 2012</dt>
<dd class="link"><a href="#">Test</a></dd>
</dl><dl>
<dt class="datum">Jan 28, 2012</dt>
<dd class="link"><a href="#">Test</a></dd>
</dl><dl>
<dt class="datum">Jan 28, 2012</dt>
<dd class="link"><a href="#">Test</a></dd>
</dl><dl>
<dt class="datum">Jan 28, 2012</dt>
<dd class="link"><a href="#">Test</a></dd>
</dl>
</div>

Tested here http://jsfiddle.net/ZtVME/4/

here image what I see

example

  • 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. Editorial Team
    Editorial Team
    2026-05-28T16:00:06+00:00Added an answer on May 28, 2026 at 4:00 pm

    this happens because the first dl has the following css:

    .archive-items dl:first-child {
        border-top: 1px solid #4F8FCC;
        margin: 20px 5px 5px 0;
        padding-top: 5px;
    }
    

    If you change the padding of .archive-items dl to padding: 5px 0 8px; will be the same for all.

    Demo: http://jsfiddle.net/ZtVME/6/

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

Sidebar

Related Questions

So I have some strange issue with nl2br so I have the following code:
I'm having this strange issue with my ItemsControl grouping. I have the following setup:
I have a strange sorting issue with my models. Given the following: I have
I'm having a strange issue with drools : I have the following rules :
I have the following query, now the strange thing is if I run this
I found the following rather strange. Then again, I have mostly used closures in
I have a strange one. Create a new form. Then add the following function
This is a strange one that I cannot see to figure out. I have
I have a 'strange' problem, the following code converts the location lat value into
I have a strange issue: there is a SectionPart with composite, which is create

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.