Ashkwil
01-23-2012, 04:49 PM
Hey guys im a little stumped as i have an issue with IE not being compatible with a site im making!
www.ash-kwil.co.uk/dean2
Thats the site, now the logos of the car brands should be to the left of the chunk of text and fit nicely, however on IE they do not. Also the navigation does not appear properly in IE (im using firefox) and in both i have a line under the nav going through the flash scroller which i cant get rid of if someone can help with that also.
here is an example of what it looks like here:
Firefox:
http://img220.imageshack.us/img220/4135/firefoxl.th.jpg (http://imageshack.us/photo/my-images/220/firefoxl.jpg/)
Uploaded with ImageShack.us (http://imageshack.us)
IE:
http://img830.imageshack.us/img830/6195/66433178.th.png (http://imageshack.us/photo/my-images/830/66433178.png/)
Uploaded with ImageShack.us (http://imageshack.us)
As you can see its a mess in IE, the nav is not styled and the BG of the nav is repeated twice and the DIVs containing text and SWF car badges are staggered!
HTML of index.html
<HTML>
<head>
<CENTER>
<link rel="stylesheet" href="style.css"/>
<div id="container">
<div id="logo">
<IMG SRC="logo.jpg"><br>
</div>
</head>
<div id="header" align="center">
<br><br><br><br><br><br>
<hr><nav><ul><li>
<a href="./" title="Home">
<strong>Home</strong>
<span>Our homepage</span>
</a>
</li>
<li>
<a href="./" title="About Us">
<strong>About Us</strong>
<span>Who we are</span>
</a>
</li>
<li>
<a href="./" title="Vehicle Tinting">
<strong>Vehicle Tinting</strong>
<span>Our tinting service</span>
</a>
</li>
<li>
<a href="./" title="Vinyl Wrapping">
<strong>Vinyl Wrapping</strong>
<span>Our vinyl wrapping service</span>
</a>
</li>
<li>
<a href="./" title="Galleries">
<strong>Galleries</strong>
<span>View our work</span>
</a>
</li>
<li>
<a href="./" title="Cotact Us">
<strong>Contact Us</strong>
<span>Get in touch</span>
</a>
</li>
<li>
<a href="./" title="FAQ's">
<strong>FAQ's</strong>
<span>Frequently Asked<br>Questions</span>
</a>
</li>
</ul></nav></div>
<div id="flash" align="center">
<!-- bar slider click SWF -->
<div id="flashmo_slider">
<iframe scrolling="no" style="border: 0px;" width="902px" align="center" height="260px" src="http://www.ash-kwil.co.uk/dean2/NEWSLIDER/bar_slider_click_1.html"></iframe>
</div>
<!-- bar slider click SWF -->
</div>
<body>
<div id="main text" style="background-color:#FFFFFF;height:400px;width:401px;float:left;">
<h1>Welcome to Performance Auto Tints,
<p>Based near Pontefract West Yorkshire, Performance Auto Tints are proud <b><u><font color="red">NOT</font></u></b> to offer a mobile tinting service. <br><br>
You wouldn't allow your car to be resprayed at the roadside so why settle for second best when it's being tinted?<br><br>
With 20 years installation experience and by only operating from out indoor tint bay, we are able to guarantee a first class finish on each and every car.<br><br>
Coupled with our unrivalled lifetime guarantee we are West Yorkshires' if not Yorkshires' premier tinting and vinyl wrap company.<br><br>
Having tinted over 450 cars in 2011 alone and more than 1200 since June 2009 we are vastly experienced with all major car manufacturers and models</P>
</div>
<div style="float: right;height: 200px;width: 501px;">
<object width="501" height="400"
classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://fpdownload.macromedia.com/
pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0">
<param name="SRC" value="http://ash-kwil.co.uk/dean2/carbrands.swf">
<embed src="http://ash-kwil.co.uk/dean2/carbrands.swf" width="501" height="400"></embed>
</object>
</div>
<img src="footer.jpg">
</center>
</body>
</html>
CSS File:
body{
padding:0;
margin:0;
font:76% tahoma, verdana, sans-serif;
background:#FFFFFF;
color:#929292;
}
img.floatleft {
float: left;
margin: 4px;
}
img.floatright {
float: right;
margin: 4px;
}
a{
text-decoration:none;
color:#286ea0;
}
a:grey{
colour :#ffffff;
}
a:hover{
text-decoration:underline;
}
#container{
width:902px;
padding:10px 10px 10px 10px;
background:#ffffff;
border: 0px;
}
h1{
margin-bottom: 0px
font-size:2.1em;
font-weight:normal;
color: #262626;
}
h2{
margin:0 0 20px 0;
font-size:2.1em;
font-weight:normal;
}
h3{
margin:20px 0 10px 0;
font-size:1.4em;
font-weight:normal;
}
p{
text-align:left;
color: #4b4b4b;
font-size:13px;
padding-right: 5px;
padding-top: 0px;
padding-bottom: 0px;
padding-left: 0px;
}
h1.gallery{
text-align:left;
color: #262626;
font-size:20px;
padding-right: 0px;
padding-top: 0px;
padding-bottom: 0px;
padding-left: 0px;
}
/**************************************************************************************************** ***************
* HEADER
**************************************************************************************************** ***************/
#header {height: 98px; width:902px; position: relative; background: url('navbg.jpg');}
#header a#logo {font-size: 1.8em;font-weight: bold;display: block;line-height: 98px;position: absolute;top: 0;left: 0;color: #323338;font-family: "Lato", Arial;}
#header a#logo span {color: #d00401} /* color */
#header a#logo:hover {text-decoration: none;color: #000}
#header nav ul {position: absolute;top: 0;right: 0 list-style-type: none;}
#header nav li {float: left;}
#header nav li {list-style-type: none;}
#header nav li a {float: left;color: #323338;display: block;padding: 20px;text-decoration: none; }
#header nav li a strong {display: block;font-size: 1.1em;margin-bottom: 0;}
#header nav li a span {color: #989898;font-size: 11px}
#header nav li.active a strong, #header nav li.active a span,
#header nav li a:hover strong, #header nav li a:hover span {cursor: pointer;color: #000 !important}
#intro {color: #fff;height: 255px;position: relative;padding: 50px 550px 10px 0;position: relative}
#intro #macbook {position: absolute;bottom: -34px;right: 0;width: 550px;height: 309px;background: url('../img/macbook.png') no-repeat}
#intro #macbook img {position: relative;top: 20px;left:89px}
#intro h2 {font-size: 1.2em;text-shadow: 0 0 0;color: #afadae}
#intro p {color: #dddddd;margin-bottom: 20px}
#subIntro {height: 70px;position: relative;padding: 33px 0 7px 0;position: relative}
#subIntro h2 {color: #000;font-size: 1.4em;font-weight: normal;margin-bottom: 0}
#subIntro p {font-size: 1.1em}
#subIntro .button {position: relative;top: 5px;right: 60px !important}
I hope ive given enough information for someone to help me and i really do appreciate anyone who tried to help.
Thanks a lot!
Ash
www.ash-kwil.co.uk/dean2
Thats the site, now the logos of the car brands should be to the left of the chunk of text and fit nicely, however on IE they do not. Also the navigation does not appear properly in IE (im using firefox) and in both i have a line under the nav going through the flash scroller which i cant get rid of if someone can help with that also.
here is an example of what it looks like here:
Firefox:
http://img220.imageshack.us/img220/4135/firefoxl.th.jpg (http://imageshack.us/photo/my-images/220/firefoxl.jpg/)
Uploaded with ImageShack.us (http://imageshack.us)
IE:
http://img830.imageshack.us/img830/6195/66433178.th.png (http://imageshack.us/photo/my-images/830/66433178.png/)
Uploaded with ImageShack.us (http://imageshack.us)
As you can see its a mess in IE, the nav is not styled and the BG of the nav is repeated twice and the DIVs containing text and SWF car badges are staggered!
HTML of index.html
<HTML>
<head>
<CENTER>
<link rel="stylesheet" href="style.css"/>
<div id="container">
<div id="logo">
<IMG SRC="logo.jpg"><br>
</div>
</head>
<div id="header" align="center">
<br><br><br><br><br><br>
<hr><nav><ul><li>
<a href="./" title="Home">
<strong>Home</strong>
<span>Our homepage</span>
</a>
</li>
<li>
<a href="./" title="About Us">
<strong>About Us</strong>
<span>Who we are</span>
</a>
</li>
<li>
<a href="./" title="Vehicle Tinting">
<strong>Vehicle Tinting</strong>
<span>Our tinting service</span>
</a>
</li>
<li>
<a href="./" title="Vinyl Wrapping">
<strong>Vinyl Wrapping</strong>
<span>Our vinyl wrapping service</span>
</a>
</li>
<li>
<a href="./" title="Galleries">
<strong>Galleries</strong>
<span>View our work</span>
</a>
</li>
<li>
<a href="./" title="Cotact Us">
<strong>Contact Us</strong>
<span>Get in touch</span>
</a>
</li>
<li>
<a href="./" title="FAQ's">
<strong>FAQ's</strong>
<span>Frequently Asked<br>Questions</span>
</a>
</li>
</ul></nav></div>
<div id="flash" align="center">
<!-- bar slider click SWF -->
<div id="flashmo_slider">
<iframe scrolling="no" style="border: 0px;" width="902px" align="center" height="260px" src="http://www.ash-kwil.co.uk/dean2/NEWSLIDER/bar_slider_click_1.html"></iframe>
</div>
<!-- bar slider click SWF -->
</div>
<body>
<div id="main text" style="background-color:#FFFFFF;height:400px;width:401px;float:left;">
<h1>Welcome to Performance Auto Tints,
<p>Based near Pontefract West Yorkshire, Performance Auto Tints are proud <b><u><font color="red">NOT</font></u></b> to offer a mobile tinting service. <br><br>
You wouldn't allow your car to be resprayed at the roadside so why settle for second best when it's being tinted?<br><br>
With 20 years installation experience and by only operating from out indoor tint bay, we are able to guarantee a first class finish on each and every car.<br><br>
Coupled with our unrivalled lifetime guarantee we are West Yorkshires' if not Yorkshires' premier tinting and vinyl wrap company.<br><br>
Having tinted over 450 cars in 2011 alone and more than 1200 since June 2009 we are vastly experienced with all major car manufacturers and models</P>
</div>
<div style="float: right;height: 200px;width: 501px;">
<object width="501" height="400"
classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://fpdownload.macromedia.com/
pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0">
<param name="SRC" value="http://ash-kwil.co.uk/dean2/carbrands.swf">
<embed src="http://ash-kwil.co.uk/dean2/carbrands.swf" width="501" height="400"></embed>
</object>
</div>
<img src="footer.jpg">
</center>
</body>
</html>
CSS File:
body{
padding:0;
margin:0;
font:76% tahoma, verdana, sans-serif;
background:#FFFFFF;
color:#929292;
}
img.floatleft {
float: left;
margin: 4px;
}
img.floatright {
float: right;
margin: 4px;
}
a{
text-decoration:none;
color:#286ea0;
}
a:grey{
colour :#ffffff;
}
a:hover{
text-decoration:underline;
}
#container{
width:902px;
padding:10px 10px 10px 10px;
background:#ffffff;
border: 0px;
}
h1{
margin-bottom: 0px
font-size:2.1em;
font-weight:normal;
color: #262626;
}
h2{
margin:0 0 20px 0;
font-size:2.1em;
font-weight:normal;
}
h3{
margin:20px 0 10px 0;
font-size:1.4em;
font-weight:normal;
}
p{
text-align:left;
color: #4b4b4b;
font-size:13px;
padding-right: 5px;
padding-top: 0px;
padding-bottom: 0px;
padding-left: 0px;
}
h1.gallery{
text-align:left;
color: #262626;
font-size:20px;
padding-right: 0px;
padding-top: 0px;
padding-bottom: 0px;
padding-left: 0px;
}
/**************************************************************************************************** ***************
* HEADER
**************************************************************************************************** ***************/
#header {height: 98px; width:902px; position: relative; background: url('navbg.jpg');}
#header a#logo {font-size: 1.8em;font-weight: bold;display: block;line-height: 98px;position: absolute;top: 0;left: 0;color: #323338;font-family: "Lato", Arial;}
#header a#logo span {color: #d00401} /* color */
#header a#logo:hover {text-decoration: none;color: #000}
#header nav ul {position: absolute;top: 0;right: 0 list-style-type: none;}
#header nav li {float: left;}
#header nav li {list-style-type: none;}
#header nav li a {float: left;color: #323338;display: block;padding: 20px;text-decoration: none; }
#header nav li a strong {display: block;font-size: 1.1em;margin-bottom: 0;}
#header nav li a span {color: #989898;font-size: 11px}
#header nav li.active a strong, #header nav li.active a span,
#header nav li a:hover strong, #header nav li a:hover span {cursor: pointer;color: #000 !important}
#intro {color: #fff;height: 255px;position: relative;padding: 50px 550px 10px 0;position: relative}
#intro #macbook {position: absolute;bottom: -34px;right: 0;width: 550px;height: 309px;background: url('../img/macbook.png') no-repeat}
#intro #macbook img {position: relative;top: 20px;left:89px}
#intro h2 {font-size: 1.2em;text-shadow: 0 0 0;color: #afadae}
#intro p {color: #dddddd;margin-bottom: 20px}
#subIntro {height: 70px;position: relative;padding: 33px 0 7px 0;position: relative}
#subIntro h2 {color: #000;font-size: 1.4em;font-weight: normal;margin-bottom: 0}
#subIntro p {font-size: 1.1em}
#subIntro .button {position: relative;top: 5px;right: 60px !important}
I hope ive given enough information for someone to help me and i really do appreciate anyone who tried to help.
Thanks a lot!
Ash