Solved

CSS H1 tag Relative Positioning

Posted on 2013-01-05
1
279 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

Database Solutions Engineer FAQs

In this series, we will discuss common questions received as a database Solutions Engineer at Percona. In this role, we speak with a wide array of MySQL and MongoDB users responsible for both extremely large and complex environments to smaller single-server environments.

Question has a verified solution.

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

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?
Australian government abolished Visa 457 earlier this April and this article describes how this decision might affect Australian IT scene and IT experts.
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…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

617 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