Solved

CSS H1 tag Relative Positioning

Posted on 2013-01-05
1
262 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
1 Comment
 
LVL 53

Accepted Solution

by:
COBOLdinosaur earned 500 total points
Comment Utility
#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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
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 google.com/fonts: Browse or search based on font properties or name to find a suitable font for…
The viewer will learn how to dynamically set the form action using jQuery.

744 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now