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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T03:13:43+00:00 2026-06-04T03:13:43+00:00

The current html of the website I work for is a mess, some because

  • 0

The current html of the website I work for is a mess, some because of the project itself (the pages are different from each other but have the same idea,like a newspaper) and some because the html team sux, lol.

The idea is that I can have a row, or two columns without a border between then, two columns with a border, or a combination of these.

I wrote the following css and html, it looks now organized, and you can use any of the combinations:

CSS:

/* start structure */

div#wrapper {
    margin: 0 auto;
    width: 1024px;
}

.group:after{
    visibility: hidden;
    display: block;
    content: "";
    clear: both;
    height: 0;
}

body {
    font-family: "Trebuchet MS";
}

div#content {
    border: 1px solid #b2b2b2;
}

div.row {
    margin: 10px;
}

div.row.bb {
    margin-bottom: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #b2b2b2;
}

div.row.bt {
    margin-top: 0;
    padding-top: 10px;
    border-top: 1px solid #b2b2b2;
}

div.column {
    margin: 10px;
    float: left;
}

div.column.left {
    width: 660px;
}

div.column.right {
    width: 322px;
}

div.column.left.br {
    width: 659px;
    margin-right: 0;
    padding-right: 10px;
    border-right: 1px solid #b2b2b2;
}

/* end structure */

HTML:

<div id="wrapper">
    <div id="content">
        <div class="row">a</div>
            <div class="row bt bb">b</div>
            <div class="columns group">
            <div class="column left br"><p>c</p><p>c</p><p>c</p><p>c</p></div>
            <div class="column right">d</div>
        </div>
        <div class="row bt bb">a</div>
        <div class="columns group">
            <div class="column left"><p>c</p><p>c</p><p>c</p><p>c</p></div>
            <div class="column right">d</div>
        </div>
        <div class="row bt">a</div>
    </div>
</div>

But I found a problem. When using two columns with border div.column.left.br, if the right column is taller than the left column, the border ends where the left column ends. I know I can solve it by putting the border both on the left and right columns, but I’m ending with a 2 pixel border.

How can I solve it in my context?

  • 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-06-04T03:13:44+00:00Added an answer on June 4, 2026 at 3:13 am

    Add both a border-left on the right column and a border-right on the left column. Then move the right column to the left 1px.

    jsFiddle Example

    New CSS

    <style type="text/css">
    /* start structure */
    
    div#wrapper {
        margin: 0 auto;
        width: 1024px;
    }
    
    .group:after{
        visibility: hidden;
        display: block;
        content: "";
        clear: both;
        height: 0;
    }
    
    body {
        font-family: "Trebuchet MS";
    }
    
    div#content {
        border: 1px solid #b2b2b2;
    }
    
    div.row {
        margin: 10px;
    }
    
    div.row.bb {
        margin-bottom: 0;
        padding-bottom: 10px;
        border-bottom: 1px solid #b2b2b2;
    }
    
    div.row.bt {
        margin-top: 0;
        padding-top: 10px;
        border-top: 1px solid #b2b2b2;
    }
    
    div.column {
        margin:10px 0;
        padding: 0 10px;
        float: left;
    }
    
    div.column.left {
        width: 660px;
    }
    
    div.column.right {
        width: 322px;
    }
    div.column.left.br + div.column.right {
        border-left: 1px solid #b2b2b2;
        margin-left:-1px;
    }
    
    div.column.left.br {
        width: 659px;
        margin-right: 0;
        padding-right: 10px;
        border-right: 1px solid #b2b2b2;
    }
    
    /* end structure */
    </style>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

my current website is HTML based. my xml: <markers> <marker nn=00001 name=Starbucks address=Street1 lat=-22.9063
I'm using ajax in my website to call some information from a UserControl called
can i adding some value attribute on all src tags in current html page
I have the following HTML: Current HTML <div id=testContainer> <a href=testPage.htm target=_top> <img src=/res/images/testImage_M.jpg?lc=en-GB&lv=5.jpg
The JavaScript code window.print() can print the current HTML page. If I have a
Is there a javascript script that returns the current html of the window? I
Using the guide http://symfony.com/doc/current/cookbook/doctrine/file_uploads.html i'm trying to customize error message, but i've a problem:
I read this: http://symfony.com/doc/current/book/service_container.html It said: $mailer = $this->get('my_mailer'); As an added bonus, the
I'm currently working on a little html/js site and my current goal is to
I need to insert an HTML string into the <head> tag of the current

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.