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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T16:26:44+00:00 2026-06-08T16:26:44+00:00

I would like the end result to look like this: https://dl.dropbox.com/u/65978956/Capture.JPG The #logo image

  • 0

I would like the end result to look like this:
https://dl.dropbox.com/u/65978956/Capture.JPG

  1. The #logo image is positioned inside the .page div with some text overflowing the div.
  2. The #logo image’s position has to be relative to the .page div´s position so that it would always be positioned the way it is on the picture.

The problem is, that since I can only get the #logo to overlap when I set its position as absolute the .page div no longer auto-resizes with the content vertically.

The overflow-x and overflow-y values don’t allow me to achieve what I am looking for

body {
    background-color: beige;
}

.page {
    margin: auto;
    position: relative;
    width: 984px;
    min-height: 800px;
}

#logo {
    background-image: url(../Content/Site_Images/logo.png);
    background-repeat: no-repeat;
    height: 444px;
    left: -98px;
    margin-top: 5px;
    opacity: 0.7;
    position: absolute;
    width: 381px;
    z-index: -1;
}

and my view file:

<body>
  <section class="Page">
    <figure id="logo"></figure>

    @*--Other omitted sections--*@
    .....
    .....
  </section>
</body>

What should I be doing to get the desired effect.

Thanks for helping

EDIT.

jsFiddle: http://jsfiddle.net/ngsEG/1/

See how the content does not resize and the image is displayed correctly. If I add overflow:hidden to the .page section, then the page resizes, but the image overflow is also hidden.

  • 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-08T16:26:46+00:00Added an answer on June 8, 2026 at 4:26 pm

    Okay, with the fiddle you posted, it becomes apparent that your issue has nothing to do with the absolute position of the logo. Rather, your @*--Other omitted sections--*@ and its css was the issue, namely, the float on #MainContent was not being wrapped by the .Page element. Because of what you are trying to do with the logo, I agree, the typical fixes of overflow: hidden or auto do not work here. However, the old clearfix solution should. So:

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

    See the fiddle.

    Note: if IE7 or less support is needed, see the additional info in the clearfix link above.

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

Sidebar

Related Questions

i have this code, and need help with the logic end. I would like
I have a MySQL table (A) and I would like the end result to
I would like to add a Javascript at the end of some ajax content,
I would like to remove/uninstall directX End-User that I downloaded and installed it from
I would like to search into directory for all files end by .m for
I would like my text entry to round off decimals and have the end
For the code below, I would like to append echo $_SERVER['QUERY_STRING']; to the end
Would like someone to take a look at my script and tell me where
I have data like this: ID ATTRIBUTE START END 1 A 01-01-2000 15-03-2010 1
I get this syntax on the internet and modified some parts. I would like

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.