joroco
10-11-2007, 11:47 PM
Hi,
I have a float drop problem with the code below. I haven't been able to figure out what to do with it, can anyone help?
My wrapper div won't center to the page either, it does in IE but not Firefox (so i know there must be something WRONG)
HTML
<div id="footer">
<div id="footerRight">
<div id="floatLeft">
<p><span class="big">Address:</span><br />
Fasanstigen 25<br />
123 32<br />
Bro<br />
Upplands Bro<br />
SWEDEN</p>
</div>
<div id="floatRight">
<p><span class="big">E-Mail:</span><br />
joroco@gmail.com</p>
<p><span class="big">Telephone:</span><br />
+(44) 7624 303819</p>
<p><span class="big">MSN:</span><br />
joroco.costello@hotmail.com</p>
</div>
</div>
</div>
CSS:
#footer {
width: 770px;
margin: 0;
padding: 0;
}
#footerRight {
width: 570px;
float: right;
background-color: #8B7E66;
margin: 0;
padding: 0;
}
#floatRight {
float: right;
margin: 15px;
text-align: right;
}
#floatLeft {
float: left;
margin: 15px;
text-align: left;
display: inline;
}
#footer p {
font-size: 0.8em;
font-family: Arial, "Trebuchet MS", Tahoma;
color: #CDC5BF;
margin: 0;
}
Heres some more code that might be useful, forgot to add it (reason for editing)
span.big {
font-size: 1em;
letter-spacing: 0.1em;
color: #FFA500;
font-weight: bold;
}
body {
margin: 0;
padding: 0;
text-align: center;
background-color: #8B8970;
}
#wrapper {
width: 770px;
margin: 0;
padding: 0;
}
I have a float drop problem with the code below. I haven't been able to figure out what to do with it, can anyone help?
My wrapper div won't center to the page either, it does in IE but not Firefox (so i know there must be something WRONG)
HTML
<div id="footer">
<div id="footerRight">
<div id="floatLeft">
<p><span class="big">Address:</span><br />
Fasanstigen 25<br />
123 32<br />
Bro<br />
Upplands Bro<br />
SWEDEN</p>
</div>
<div id="floatRight">
<p><span class="big">E-Mail:</span><br />
joroco@gmail.com</p>
<p><span class="big">Telephone:</span><br />
+(44) 7624 303819</p>
<p><span class="big">MSN:</span><br />
joroco.costello@hotmail.com</p>
</div>
</div>
</div>
CSS:
#footer {
width: 770px;
margin: 0;
padding: 0;
}
#footerRight {
width: 570px;
float: right;
background-color: #8B7E66;
margin: 0;
padding: 0;
}
#floatRight {
float: right;
margin: 15px;
text-align: right;
}
#floatLeft {
float: left;
margin: 15px;
text-align: left;
display: inline;
}
#footer p {
font-size: 0.8em;
font-family: Arial, "Trebuchet MS", Tahoma;
color: #CDC5BF;
margin: 0;
}
Heres some more code that might be useful, forgot to add it (reason for editing)
span.big {
font-size: 1em;
letter-spacing: 0.1em;
color: #FFA500;
font-weight: bold;
}
body {
margin: 0;
padding: 0;
text-align: center;
background-color: #8B8970;
}
#wrapper {
width: 770px;
margin: 0;
padding: 0;
}