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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T02:41:54+00:00 2026-06-15T02:41:54+00:00

I am learning on how to work with CSS. Currently, I am trying to

  • 0

I am learning on how to work with CSS. Currently, I am trying to learn about CSS positioning. I use different background color for each div section, so I know which area of the page that gets affected when I make code changes.

I am working right now on my header page and stumbled into one thing that I do not understand. I have a logo and put it inside its own div. The problem that I can see, below the logo there is a whitespace (i use pink background color for the div) and I cannot get rid of it. So below is the code that I use and the screenshot of what the header looks like currently.

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>Print Repair Form</title>
  <style type="text/css">
    * {
      margin:0;
      padding:0;
      font: 12px/1.5 Georgia, serif;
    }

    #page-wrap {
      width: 800px;
      margin: 0 auto;
    }

    #header {
      background-color:#88d;
      overflow: auto;
    }

    #logo {
      float:left;
      background-color: #ffccff;
    }

    #logo a img {
      border:none;
    }

    #address-container {
      display: table;
      float: left;
      width: 164px;
      background-color: #FC730A;
      height: 104px;
    }

    #address-content{
      display:table-cell;
      vertical-align: middle;
    }

    #repair-header {
      background-color:#d4d4d4;
      float:left;
      width:380px;
    }

    #customer-info {
      float: left;
      width:220px;
      background-color: #ffff99;
    }

    #wo-info {
      background-color: #99ff99;
    }

    #content {
      clear:both;
      background-color:#33d;
    }
  </style>
</head>
<body>
  <div id="page-wrap">
    <div id="header">
      <div id="logo">
        <a href="/fms/"><img src="/fms/images/windows8-cropped.jpg" /></a>
      </div> <!-- div logo -->
      <div id="address-container">
        <div id="address-content">
          456 Some Addresses <br />
          The City, XP 444411 <br />
          1-800-000-0000 <br />
          www.someaddress.com
        </div>
      </div>
      <div id="repair-header">
        <p>Repair Detail</p>
      </div>
      <div id="customer-info">
        <p>12345678</p>
        <p>Facility Name</p>
      </div>
      <div id="wo-info">
        <p>WO: 12345789</p>
      </div>
    </div> <!-- div header -->
    <div id="content">
      <p>Content is here</p>
    </div>
  </div> <!-- div page-wrap -->
</body>
</html>

web-header

  • 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-15T02:41:55+00:00Added an answer on June 15, 2026 at 2:41 am

    Add the property

    line-height: 0;
    

    to your logo div

    #logo {
      float:left;
      background-color: #ffccff;
      line-height: 0;
    }
    

    and modify your image css to:

    #logo a img {
      border:none;
      vertical-align:bottom;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am learning php, html and css now and I'm trying to use a
i work on a 64 bit intel processor...i was learning about big and little
I'm currently learning how eclipse plugins work. I want to get a table into
I'm learning about VB.Net and need to work with an SQLite database using the
I'm learning about interface properties and ran into something that I thought should work
What Tools do you people use to work with Scala? For my learning phase,
I'm learning to use GWT 2.0 and I'm trying to convert the StockWatcher demo
I'm learning about setTimeout vs setInterval and I have got setInterval to work but
I am new to programming (previously only did html/css/design) trying to start learning RoR
I'm currently learning about HTML,PHP,JavaScript and other fun web stuff. At this point, I

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.