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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T21:20:43+00:00 2026-05-25T21:20:43+00:00

I just changed some styling and broke my site :) and have not much

  • 0

I just changed some styling and broke my site 🙂 and have not much clue how to set it back.

I put a new image as the logo. Before it was large-font text. And now the div ends at the bottom of other text and not at the bottom of the logo.

See how it is broken here: http://www.problemio.com – see on very top – i need to make the div extend to the bottom of the image on the left.

Here is my css:

.banner 
{
    width:60em;
    margin: 0 auto;
    position: relative;
    padding: 0.3em 0;
    z-index: 1;
}

.banner .site_title 
{
    background: url("http://www.problemio.com/img/ui/problemio.png") no-repeat scroll 0 0 transparent;
    padding:5px 60px;
    font-weight: bold;
    color: #ffce2e;
    text-shadow: 2px 2px 2px rgba(0,0,0,0.8);
    font-size:2.5em;
    text-align: left
}

and here is the HTML I use:

<div class="banner">
<!--  title and login/sign up go here -->
    <a href="http://www.problemio.com">
        <div class="site_title">

        </div>
    </a>

And I am trying to make the image appear in the site title div. I think I should use the img tag, right? How should I augment my styles though?

Thanks,
Alex

  • 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-05-25T21:20:44+00:00Added an answer on May 25, 2026 at 9:20 pm

    You’re not setting a height on your banner or site_title divs, so they are only going to be as high as the elements inside them, which in the case of the banner div appears to be text links.

    In your CSS code, you’re setting the background-url inside both the .banner and .site_title classes. This is redundant and can lead to things looking weird if you give only one of the divs a margin. Why not get rid of the site_title div and just make it an image? This should fix your height issues as well.

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

Sidebar

Related Questions

I have just installed a new ssl certificate on GlassFish 3. I also changed
I have just changed some toolbars from Q3ToolBars (with QToolButtons explicitly added to them)
I have just changed my database connection. I am not used to the PDO
So I just changed the PageControl project from Apple's site here . The issue
I have just changed my WPF application from .Net3.5 to .Net4. Doing this caused
I just changed my external broadcast receiver class to my service since..some android method
I just changed a classic asp page to load a div with some data
We (our IT partner really) recently changed some DNS for a web farmed site
Apple just released iPhone SDK 3.1.2. I was wondering wether they changed some libraries
I've changed some code to convert a std::set to a boost::ptr_set . However, 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.