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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T13:19:41+00:00 2026-05-20T13:19:41+00:00

In the following HTML/CSS code I’m having two issues: The result class boxes have

  • 0

In the following HTML/CSS code I’m having two issues:

  1. The result class boxes have double sized outlines on the top, left, and bottom.
  2. The group class elements stretch off past the right side of the screen.

What can I change to make all the block elements end cleanly on the right-side of the screen and give them all 1px outlines?

Thanks,
PaulH

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
    <title></title>   
    <style type="text/css">
    .result
    {
        border: 1px solid #FFFFFF;
        outline: 1px solid #98BF21;

        color: #FFFFFF;
        background-color: #98BF21;

        font-size: 11px;
        font-weight: bold;

        text-align: center;
        text-decoration: none;

        width: 70px;
        display: inline-block;
    }

    .group
    {
        border: 1px solid #98BF21;
        background-color: #EEFFCC;
        position:relative;
        left: 72px;
    }

    .summary
    {
        outline: 1px solid #98BF21;

        color: #333333;
        background-color: #EEFFCC;

        font-size: 15px;
        font-family: "Lucida Console","courier new";

        line-height: 25px;
    }

    .summary p
    {
        padding-left: 7px;
        margin: 0px;
        display: inline;
        vertical-align: middle;
    }

    .detail
    {
        font-size: 13px;
        font-family: "Lucida Console","courier new";
    }

    .detail p
    {
        padding-left: 7px;
        margin: 5px 0px;
        white-space: pre;
    }

    </style>
    </head>
<body>
<div class="summary"><span class="result">esse &#xFE3E</span><p>consectetur adipisicing elit, sed do eiusmod tempor incididunt ut</p></div>
<div class="group">
    <span class="detail">
        <p>labore et dolore magna aliqua</p>
    </span>
    <div class="summary"><span class="result">esse »</span><p>Ut enim ad minim veniam, quis nostrud exercitation</p></div>
</div>
</body>
</html>

Edit:
I’m using Firefox 4.0B12. For whatever reason IE8 doesn’t show the double outlines.

Edit2:
The desired output would be something like this. Single, non-overlapping outlines all ending at the same point on the right-side of the screen.

+------+-------------------------------------------------------------------+
| esse | consectetur adipisicing elit, sed do eiusmod tempor incididunt ut |
+------+-------------------------------------------------------------------+
       | labore et dolore magna aliqua                                     |
       +------+------------------------------------------------------------+
       | esse | Ut enim ad minim veniam, quis nostrud exercitation         |
       +------+------------------------------------------------------------+
  • 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-20T13:19:41+00:00Added an answer on May 20, 2026 at 1:19 pm

    change: left: 72px;
    to: margin-left: 72px;

    Can you provide more details about the lines, or maybe an image of what you want it to look like.

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

Sidebar

Related Questions

I have the following code <html> <head> <title>Test</title> <style type=text/css> <!-- body,td,th { color:
I have the following html/css code . When I have the screen resolution to
I have a problem with a following HTML/CSS code: CSS * { padding: 0;
I have the following HTML code: <ul class=blogEntry> <li class=title section> <span><asp:Literal ID=litTitle runat=server
I have the following HTML (excerpt from larger code-base) <div class=diary-event ui-corner-all title=[title]> <span
Consider the following code : HTML: <div id='button' class='enabled'>Press here</div> <div id='log'></div> CSS: #button
I have the following HTML / CSS: <table> <tr> <td> <div> <pre> <code> This
I have the following HTML code: <div class=outer_container> <div id=imgContainer> <img src=/some/image /> </div>
I have the following HTML/CSS code in which a line of text is shown
I have the following HTML (note the CSS making the background black and text

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.