Solved

CSS H1 tag Relative Positioning

Posted on 2013-01-05
1
275 Views
Last Modified: 2013-01-05
Hello

Is there anyway I can remove the green bar from under my header and above my naviagtion on the following webpage. I have relatively positioned the Memorial Cards Ireland tag to the top right of the banner picture.

http://www.reflectionsmemorialcards.co.uk/memorialIreland/index2.html#

 .header h1 {
      font-family: "Trajan Pro";
      color: #1f8a9a;
      font-weight: 900;
      font-size: 24px;
      position: relative;
      top: -160px;
      left: 500px;
      margin: 0px;
      padding: 0px;
}

<!--HTML Code Below-->

  <div class="header">
   <img src="bannerH1.jpg" width ="900" height ="160">
              <h1>Memorial Cards Ireland</h1>
</div>
0
Comment
Question by:Kevin_Coors
[X]
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
1 Comment
 
LVL 53

Accepted Solution

by:
COBOLdinosaur earned 500 total points
ID: 38747163
#nav {margin-top:-30px;}

The -30px is a guess.  I moght actually need -35px or -33px , but it is right around that value.

Cd&
0

Featured Post

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

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

Suggested Solutions

An enjoyable and seamless user experience can go a long way on an eCommerce site. While a cohesive layout and engaging copy play roles in creating a positive user experience, some sites neglect aspects that seem marginal but in actuality prove very …
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

726 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