[Last Call] Learn how to a build a cloud-first strategyRegister Now


Trying to move DIV element down inside container via CSS

Posted on 2012-08-10
Medium Priority
Last Modified: 2012-08-10
On http://truckauctionsqa.leaseplan.com/view-auctions/sales/

I want to move the class="header" div further down so that it's somewhere in the middle vertically of the truck banner.

Whenever I try to add margin-top=... it moves down the entire id="main" element for some reason?
Question by:SWB-Consulting
  • 2

Accepted Solution

SWB-Consulting earned 0 total points
ID: 38282604
I figured it out via padding the header element at the top and then reducing its width.

Author Closing Comment

ID: 38282605
I figured it out via padding the header element at the top and then reducing its width.

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
The first step to building an amazing About page is to figure out what you want the page to say about your company. You then must grab the attention of the reader, boast a bit, tell a story and let others brag about you. With a little bit of thought…
In this tutorial viewers will learn how to style different bullet points for unordered lists in CSS. Begin with a normal unordered list; the default bullet point is a solid circle: In the CSS, create a defined class of unordered list by typing "ul.S…
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
Suggested Courses

834 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