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

  • Home
  • SEARCH
  • 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 9020639
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T05:04:17+00:00 2026-06-16T05:04:17+00:00

I am attempting to create a bucket in HTML and CSS by placing a

  • 0

I am attempting to create a bucket in HTML and CSS by placing a header image on top of a bottom image. When i do this in dreamweaver, there is no gap between the two objects. However, when I upload it to a server, a gap develops between the two images. Any help or suggestions?

enter image description here

 <div class="wrapBucketInnerLeft">
        <div class="bucketLeft">
            <h2 class="bucketHeader"><img src="images/bucket_header_text_basic.png" width="212" height="36" alt="Basic Plan" /></h2></td></tr>

            <div class="bucketDetails">
            <ul>
                <li>Feature 1</li>
                <li>Feature 2</li>
                <li>Feature 3</li>
                <li>Feature 4</li>
            </ul> 
            <div class="bucketBottom">               
            <p class="cost">$1.95</p>
            <a href="#"><img class="button" src="images/button_bucket.png" width="117" height="42" alt="Learn More" /></a></div>
        </div>
        </div>
         <!--Bucket 2-->

        <div class="bucketRight">
            <h2 class="bucketHeader"><img src="images/bucket_header_text_economy.png" width="212" height="36" alt="Basic Plan" /></h2>
            <div class="bucketDetails">
                <ul>
                    <li>Feature 1</li>
                    <li>Feature 2</li>
                    <li>Feature 3</li>
                    <li>Feature 4</li>
                </ul>                
                <div class="bucketBottom">               
                <p class="cost">$1.95</p>
                <a href="#"><img class="button" src="images/button_bucket.png" width="117" height="42" alt="Learn More" /></a></div>
        </div>
        </div>
        </div>

CSS:

.bucketHeader {
background-image:url(images/bg_header_bucket.png);
background-repeat:no-repeat;
background-position:top center;
height:46px;
margin:0px 0px 0px 0px;
    padding:14px 0px 0px 18px;
}

.bucketDetails {
    background-image:url(images/bg_bucket.png);
    background-repeat:no-repeat;
    background-position:top center;
    height:278px;
    margin:0px 0px 0px 0px;
    padding:0px;
}

.bucketBottom p.cost {
    font-size:28px;
    font-weight:bold;
    color:#335191;
    margin:0px 0px 6px 0px;
    padding:0px;
}
.bucketBottom{
    text-align:center;

}
a img.button {
    border:none;
}
  • 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-16T05:04:18+00:00Added an answer on June 16, 2026 at 5:04 am

    well i know what is it! padding of .bucketHeader

    .bucketHeader {
    background-image:url(images/bg_header_bucket.png);
    background-repeat:no-repeat;
    background-position:top center;
    height:46px; // here reduce the height of this div until the gap between them is removed, i think it should be 28px
    margin:0px 0px 0px 0px;
    padding:14px 0px 0px 18px; // here you see you have given padding of 14px of both top and bottom, this increases the height of div magically which you can't see because your image has background-repeat:no-repeat
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I attempting to create custom tabs using this . But when I try to
I am attempting to create a X by Y checkerboard (by this, I simply
I am attempting to create a scrolling table with a fixed header. Problem is
I am attempting to create an html document parser with Python. I am very
I am attempting to create a single sign on experience between an asp.net site
I am attempting to create a CLI DLL to bridge between my unmanaged C++
I'm attempting to create a very large image in Java like so: BufferedImage bi
I've been attempting to create a resizable textbox (ASP.NET multiline TextBox / HTML textarea
I am attempting to create and store a jpeg image on the fly with
This script is attempting to: create a new folder scan an InDesign document for

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.