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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T11:25:46+00:00 2026-06-11T11:25:46+00:00

My header got an image, and im trying to place a text block over

  • 0

My header got an image, and im trying to place a text block over the image in order to make a part of the image “clickable”. However, when i do that, a white space below the header and above the body shows up.

Does anyone know how can i correct this? Img: https://i.stack.imgur.com/dIC9F.jpg

CSS

    .meio {
        background: url("http://www.oneideaperday.com/meio5.png");
        background-repeat: repeat-y;
        background-position:50% 0%;
        text-indent: 250px;
           }

    .img {
      margin: 0;
      padding: 0;
      display: block;
      vertical-align:bottom;
      position:relative; top:5px;
      text-align: center;
          }

     .image {
             position:relative;
             float:center;
         text-align: center
             }

     .image .text {
               opacity: 0;
                   position:absolute;
                   top:55px; 
                   left:505px;
                   width:300px; 
                   }

     .img .termos {
                   position:absolute;
                   top:55px; 
                   left:835px;
                   width:300px;
               -webkit-transform: rotate(45deg); 
               -moz-transform: rotate(45deg);
               font-size: 10px;
               opacity: 0;
                   }

HTML

    <!DOCTYPE html>
<html>
<head>
    <link rel="stylesheet" href="style.css" />
<body>
    <div class="img">
    <img src="http://www.oneideaperday.com/header1.png" alt=""/>
        <div class ="termos">
            <p>Termos de Uso</p>
    </div>  

    <div class="meio">
        a</br>
        a</br>
        a</br>
        a</br>
        a</br>
        a</br>
        a</br>
        a</br>
        a</br>
        a</br>
        a</br>
        a</br>
    </div>


    <div class="image">
      <img alt="" src="http://www.oneideaperday.com/footer.png" />
      <div class="text">
        <p><a href="http://www.acumula.com.br">Acumula.com.br</a></p>
      </div>
    </div>

</body>
</head>
</html>
  • 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-11T11:25:47+00:00Added an answer on June 11, 2026 at 11:25 am

    I added a closing </div> to your markup just before <div class="meio"> and the whitespace gap went away for me. As @pebbl said, you have a lot of markup errors, and correcting that one seems to have fixed your immediate concern.

    <!DOCTYPE html>
    <html>
    <head>
        <link rel="stylesheet" href="style.css" />
    <body>
        <div class="img">
          <img src="http://www.oneideaperday.com/header1.png" alt=""/>
          <div class ="termos">
              <p>Termos de Uso</p>
          </div>  
        </div>
        <div class="meio">
            a</br>
            a</br>
            a</br>
            a</br>
            a</br>
            a</br>
            a</br>
            a</br>
            a</br>
            a</br>
            a</br>
            a</br>
        </div>
    
    
        <div class="image">
          <img alt="" src="http://www.oneideaperday.com/footer.png" />
          <div class="text">
            <p><a href="http://www.acumula.com.br">Acumula.com.br</a></p>
          </div>
        </div>
    
    </body>
    </head>
    </html>​
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got the following function that generates and saves an image based a text
in my header I've got a large image. Above that image I want to
Can't get Location header from response at all. Wireshark says that i've got one:
I request a web page that sends a Content-Encoding: gzip header, but got stuck
I've got a header where I'm adding a little gradient spacer image, and it's
I'm trying to make a CSS fixed width, two column, header and footer layout.
I'm trying to dynamically generate an image file that will be composed by other
So I've got this code that has an image and when you click it
I got good result in PHP/GD to write text to image template, text wraps
I got this problem trying to get the header-bg div to always be the

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.