CSS problems

Posted on 2011-03-11
Last Modified: 2012-05-11
I have some CSS problems on this page:

The leaderboard ad is supposed to sit under the navigation but it is floating to the right. any idea how to fix this? i attached a screen of what it should look like.
Question by:lvollmer
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
LVL 14

Expert Comment

ID: 35112741
start with this updating this style:


by adding this:

float: left;

Author Comment

ID: 35112751
i added that, and it didn't seem to do anything
LVL 14

Expert Comment

ID: 35112891
You added it wrong.  You have:

margin-left: 500px;
width: 100px float: left;

it should be:

margin-left: 500px;
width: 100px;
float: left;

Accepted Solution

jjperezaguinaga earned 500 total points
ID: 35113094
Greetings Ivollmer,

Now that looks like a work for my Firebug! After tweaking a little bit I got your answer:

/*Modify inner-eyebrow id with this data*/
#inner-eyebrow{float: left;margin-left: 500px;position: absolute;}

/*Add the class "banner" to the a with the onclick javascript and add this css*/
.banner {margin-left: 750px; position:absolute;}

/*Modify head-img class with this data*/
.head-img {float:right; margin-right: 250px;}

Open in new window

Hope it helps!
Best regards,

Author Closing Comment

ID: 35131519

Featured Post

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Embedd an image or live dashboard into Slack 1 55
Execute jQuery after Function 4 41
iframe stay to the left of page 5 30
How does this modal work? 3 34
FAQ pages provide a simple way for you to supply and for customers to find answers to the most common questions about your company. Here are six reasons why your company website should have a FAQ page
This article was originally published on Monitis Blog, you can check it here . Today it’s fairly well known that high-performing websites and applications bring in more visitors, higher SEO, and ultimately more sales. By the same token, downtime…
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at Browse or search based on font properties or name to find a suitable font for…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question