Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

CSS H1 tag Relative Positioning Cannot remove space in Internet Explorer

Posted on 2013-01-05
1
Medium Priority
?
281 Views
Last Modified: 2013-01-06
Hello

The following url renders fine in Firefox but There is a h1 space just above the navigation menu and under the banner that I cannot remove in IE

http://www.memorialcardsireland.com/galleriffic-2.0/example-2.html

The problem is with the h1 tag I have relatively positioned to appear on top of the banner

<div class="header">
   <img src="../bannerH1.jpg" alt="Memorial Cards Banner" width ="900" height ="160">
 <h1>Memorial Cards Ireland</h1>
</div>

Open in new window


Could someone help please?

Thanks
0
Comment
Question by:Kevin_Coors
1 Comment
 
LVL 16

Accepted Solution

by:
HagayMandel earned 2000 total points
ID: 38748116
Change this h1 to:
<span id="my_title">Memorial Cards Ireland</span>

And the  css:

#my_title {
font-family: "Trajan Pro";
color: #1F8A9A;
font-weight: 900;
font-size: 24px;
position: absolute;
top: 12px;
right: 200px;
}

Open in new window

0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
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?
In this Micro Tutorial users will learn how to embed custom fonts into websites using @font-face in CSS Select a font: Ensure the EULA allows you to use @font-face: Download the font: Get the browser-compatible files you need: Edit your CSS       - Name …
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
Suggested Courses

972 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