Hi there,
I'm back again I'm afriad with another minor problem with my new site design.
Have a look at the test version of my website here:
http://www.eveythingfree.buildtolearn.net/classifieds/
If you are looking at it in Internet Explorer it should look fine, but if you
try it in Mozilla Firefox or Netscape it looks badly messed up.
The problem is with the 2 boxes near the top of the page, the "latest forum
posts" one and the "search box". The whole page (from bellow the navbar) is
laid out by the php script that generates most of the content of the site. Thus
I am limited in what I can adjust but I can use .css to layout these two boxes.
Here is the css that controls the forum and search boxes:
Code:
.forums {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #666666;
text-decoration: none;
border: 1px solid #666666;
padding: 5px 10px 10px;
background-color: #F9F9F9;
position: relative;
width: 453px;
height: 100px;
left: 10px;
top: 10px;
vertical-align: top;
margin-bottom: 10px;
float: left;
}
.searchbox {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #666666;
text-decoration: none;
border: 1px solid #666666;
background-color: #F9F9F9;
width: 230px;
height: 100px;
left: 20px;
vertical-align: top;
margin-bottom: 10px;
padding-top: 15px;
top: 10px;
position: relative;
}
.listings {
position: relative;
top: 10px;
}
Now I'm pretty sure that the problem lies with the "float" property in
..forums. I seem to recall Mozilla and Netscape don't recognise this in the same
way IE does.
Is there a way of making the site look the same in other browsers as it does
in IE? Without the "float" property I have failed to get it to look right, but
there must be some way around this problem.
I'd really appreciate any help, as this one thing has been holding me back for
ages!
Thanks,
Robert