Forum Moderators: not2easy
I have been struggling to make this page work in both I.E. and Netscape. Currently, in netscape 7, it's working well, but in IE 6 it seems that the bottom menu and footer information are not displaying. Can anyone offer any insight?
<snip>
Thanks,
SparklieGirl
[edited by: engine at 7:15 pm (utc) on Aug. 18, 2003]
[edit reason] No urls, thanks. See TOS [webmasterworld.com] [/edit]
I've run a validator on my document and i can't seem to find anything wrong... there is a javascript function int he middle of my document (to create a scrolling banner)... could that cause an issue?
Thanks,
Heather
<div class="spence">Spence-Chapin · 6 East 94th Street · New York, NY 10128 · 212-369-0300
<BR><A href="mailto:info@spence-chapin.org">info@spence-chapin.org</A> ·
<a href="privacypolicy.html">Privacy Policy</a><br>
© Copyright 2003, Spence-Chapin. All Rights Reserved.</div></div>
The styles are:
.menu {
width:565px;
height:25px;
background-color:#ffff99;
color:#0033cc;
font-family:Verdana, Arial, Helvetica, sans-serif;
font-weight:normal;
font-size:10px;
text-align:center;
text-decoration:none;
position:relative;
margin-top:0px;
top:315px;
left:0px;
}
.aboutus {
width:85px;
padding:0px;
float:left;
position:relative;
left:5px;
}
.donate {
width:110px;
padding:0px;
float:left;
position:relative;
left:20px;
}
.shop {
width:110px;
padding:0px;
float:left;
position:relative;
left:45px;
}
.events {
width:110px;
padding:0px;
float:left;
position:relative;
left:50px;
}
.contact {
width:85px;
padding:0px;
float:left;
position:relative;
left:50px;
}
.spence {
width:575px;
height:50px;
background-color:#ffffff;
float:left;
color:#0033cc;
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:10px;
margin-left:0px;
text-align:center;
position:relative;
text-decoration:none;
margin-top:15px;
top:315px;
}
.bottom {
width:575px;
margin-right:auto;
margin-left:auto;
margin-top:0px;
padding:0px;
text-align:left;
It shows up properly in IE 5.0 & 6.0 and Netscape 7.0. Any suggestions?
Thanks,
SparklieGirl
Also, [blue].spence[blue] also has a float and a relative attribute - it may only take one or the other. Again, there is a top value specified...
HTH
A relatively positioned <div> cannot take a top or left value, only absolutely positioned layers take these values.
What?!
[w3.org...]
An element is said to be positioned if its 'position' property has a value other than 'static'. Positioned elements generate positioned boxes, laid out according to four properties: top, right, bottom, left