...

View Full Version : problem w/ IE7 - Please Help.



welshsoccer
03-24-2008, 01:49 PM
Cant find the problem in my code. In Firefox my page works great but in IE7 a 3 px line is added just below the masthead and right above the container and left nav. I cannot figure this out and it is driving me crazy. Please help and thanks in advance.



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML" 1.0 Strict//EN"
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhmtl" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="Page-Enter" content="blendTrans(Duration=1.0)" />
<meta http-equiv="Page-Exit" content="blendTrans(Duration=1.0)" />
<meta name= "description" content="" />
<meta name= "keywords" content"" />
<title>Sacred Heart United U16 Boys Team - Home - Warner Robins, GA </title>
<link href="stylesheets/index.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="scripts/highslide.js"></script>
<script type="text/javascript" src="scripts/highslide-html.js"></script>
<link href="stylesheets/highslide-html.css" rel="stylesheet" type="text/css" />
<link rel="SHORTCUT ICON" href= "images/shield.ico">

<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>

<script type="text/javascript">
_uacct = "UA-3085407-1";
urchinTracker();
</script>

<script type="text/javascript">
hs.graphicsDir = 'images/graphics/';
hs.outlineType = 'rounded-white';
hs.outlineWhileAnimating = true;
</script>

<script type="text/javascript">
if (window!= window.top) top.location.href = location.href;
</script>

</head>
<body>
<div id="wrapper">
<div id="masthead">
<h1>Sacred Heart United, Warner Robins, GA 31093 U16 Boys Soccer Team</h1>
</div> <!-- end masthead -->
<div id="nav">
<h2>RELATED LINKS</h2>
<ul>
<li><a href="./index.html"><font color="#414141">Home</font></a></li>
<li><a href="./sacredheart.html">Sacred Heart</a></li>
<li><a href="./schedule.html">Schedule</a></li>
<li><a href="./photos.html">Photos</a></li>
<li><a href="./Sponsers.html">Sponsors</a></li>
<li><a href="./results.html">Site Search</a></li>
</ul>
<br />
<h2>NEXT GAME</h2>
<marquee style=" font-family:Arial, Helvetica, sans-serif; font-weight:bold; font-size: 12pt; color: #f17748">
<span class="style2">
Sacred Heart United March 15th 2:00 pm
</span></marquee>

<br />
<br />
<h2>CONTACT COACH</h2>
<ul>
<li>Ozie Foster</li>
<li>(478) 213-8558</li>
</ul>
<br />
<br />
<h2>Unable to Find <br />
Content?</h2>
<ul>
<li>Click Google icon below to search entire site</li>
</ul>
<a href="http://sacredheartunited.com/results.html" target="_self">
<img src="http://www.google.com/coop/intl/en-US/images/custom_search_sm.gif" border ="0"></a>
<br />
<br />
<br />
</div> <!-- end nav -->
<div id="container">
<p>SPRING 2008 SEASON</p>
<img class="teampics" src="images/halftime.jpg" width="621" height="364" alt="Team photo" />
<br />
<br />
<br />
<div id="contact">
<h4>Team Contacts</h4>
<table>
<tr>
<th>Title</th>
<th>Name</th>
<th>E-mail address</th>
<th>Phone</th>
</tr>
<tr>
<td>Head Coach/Trainer</td>
<td>Ozie Foster</td>
<td>ozie.foster.ctr@robins.af.mil</td>
<td>(478) 213-8558</td>
</tr>
<tr>
<td>Coach/Trainer</td>
<td>Kevin Shanahan</td>
<td>kevin.shanahan@robins.af.mil</td>
<td>(478) 396-6033</td>
</tr>
<tr>
<td>Team Mom</td>
<td>Mrs.</td>
<td>email</td>
<td>(478) </td>
</tr>
<tr>
<td>Team Mom</td>
<td>Mrs.</td>
<td>email</td>
<td>(478) </td>
</tr>
<tr>
<td>Web Master</td>
<td>Ozie Foster</td>
<td>ozie_lee@yahoo.com</td>
<td>(478) 213-8558</td>
</tr>
</table>
</div>

<br />
<p> Important News...</p>
<br />
<br /> 3v3 Tournament, Coming Soon.
<br /> Bake Sale
<br /> Practice Schedule


</div> <!-- end container -->
<div id="warning">
<div id="footer">

<p>Do not reproduce or distribute the content of this site to a wider audience without coordination with the owner of this website.

</div> <!-- end warning -->
</div> <!-- end footer -->
</div> <!-- end wrapper -->

</body>
</html>


css is attached.

Thanks again

abduraooft
03-24-2008, 04:00 PM
Try

#masthead h1 {
/*margin: 0 0 0 -10000px;*/
position:absolute;
text-indent:-10000px;

}

welshsoccer
03-24-2008, 04:24 PM
That worked great. Thanks



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum