Why am I getting the following problem lining up the image?
css =
XHTML =
what's odd is the text in the <p> is in the same place in both browsers, so shouldn't the image be?
"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you.
css =
Code:
/************* Global *************/
* {
margin: 0;
padding: 0;
}
body {
font: 90%/100% Comic Sans MS, helvetica, Tahoma, Verdana, Arial, sans-serif;
background: #5b5b5b;
color: #e6e6e6;
}
a {
color: white;
font-weight: bold;
letter-spacing: 1px;
text-decoration: none;
}
a:hover {
color: #787878;
}
blockquote {
padding: 0.1em 0.3em;
color: #9b9b9b;
}
/************* Container *************/
#wrapper {
width: 518px;
margin: 0 auto;
text-align: left;
}
/************* Header *************/
#header {
margin-top: 0px;
height:222px;
width: 518px;
background: url(images/header.jpg) no-repeat;
}
#insideHeader {
width: 450px;
height: 90px;
margin: 0 auto;
padding: 35px 27px 25px 33px;
}
html>body #insideHeader {
padding-top: 32px;
height: 104px;
}
#donkey {
width: 443px;
height: 99px;
background: url(images/donkey2.gif) no-repeat;
}
#donkey p , #pig p{
margin: 20px 5px 10px 45px;
text-align:right;
color:#2B2B2B;
font-size: 0.80em;
}
XHTML =
Code:
<body>
<div id="wrapper" >
<div id="header">
<div id="insideHeader">
<div id="donkey">
<p>Dazed and confused trying to find the right mortgage?
<br />Require insurance but don't know where to turn?
<br />Need a loan for that special purchase?
<br />We can help!</p>
</div>
</div>
<div id="menu">
<ul>
<li><a href="/">Home Page</a></li>
<li><a href="about.html">About Us</a></li>
<li><a href="advice.html">Get Advice</a></li>
<li><a href="legal.html">Legal & Privacy</a></li>
</ul>
</div>
</div>
<div id="main">
<div id="content">
what's odd is the text in the <p> is in the same place in both browsers, so shouldn't the image be?
"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you.