Hello.
I have a div "content" that for some reason is positioned ok in ie and chrome etc but in firefox has no positioning! It just goes to the side of the page in firefox!
here is the html for it.
<div id="content">
<div class="nav">
<div id='cssmenu'>
<ul>
<li><a class="current" href='home.php'>Home</a></li>
<li><a href='leefbgallery.php'>Lee's FB Album</a> </li>
<li><a href='nikfbgallery.php'>Nikita's FB Album</a> </li>
<li><a href='fbtimelinegallery.php'>Timeline Album</a> </li>
<li><a href='leegallery.php'>Lee's Gallery</a> </li>
<li><a href='nikgallery.php'>Nikita's Gallery</a> </li>
<li><a href='news.php'>News</a></li>
<li><a href='contact.php'>Contact</a></li>
<li><a href='links.php'>Links</a></li>
</ul>
</div>
</div>
<div style="clear: both;"> </div>
<div id="contactcontainer">
<div class="containerimg">
<img src="../images/siteimages/homeimg.jpg" alt="Diamondback Tatto Studio Image" />
</div>
<div id="homepageinfo">
<?php
include '../inc/connect.php';
$data = mysql_query("SELECT info FROM homepage_info")
or die(mysql_error());
while($info = mysql_fetch_array( $data )) {
echo "<span class='text'>";
echo nl2br($info['info']);
echo "</span>";
}
?>
</div>
<div id="hours">
<h3>Opening Hours</h3>
Monday - Closed<br />
Tuesday - 10.30-17.30<br />
Wednesday -10.30-17.30<br />
Thursday - 10.30-17.30<br />
Friday - 10.30-17.30<br />
Saturday 10.30-17.30<br />
Sunday - Closed
</div>
<div id="map">
<iframe width="200" height="200" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://maps.google.co.uk/maps?f=q&source=s_q&hl=en&geocode=&q=109+Main+Street,+Larne&aq=0&oq=109+main+street+larne&sll=54.667775,-6.802165&sspn=1.801255,5.410767&ie=UTF8&hq=&hnear=109+Main+St,+Larne,+United+Kingdom&ll=54.851546,-5.818114&spn=0.003502,0.010568&t=m&z=14&output=embed"></iframe><br /><small><a href="https://maps.google.co.uk/maps?f=q&source=embed&hl=en&geocode=&q=109+Main+Street,+Larne&aq=0&oq=109+main+street+larne&sll=54.667775,-6.802165&sspn=1.801255,5.410767&ie=UTF8&hq=&hnear=109+Main+St,+Larne,+United+Kingdom&ll=54.851546,-5.818114&spn=0.003502,0.010568&t=m&z=14" style="color:#0000FF;text-align:left"><span class="text"><center>Get Directions</center></span></a></small>
</div>
<div id="social">
<div class="social">
<a href="http://www.facebook.com/pages/Diamondback-Tattoo-Studio/130154213710071?ref=ts&fref=ts"><img src="../images/siteimages/facebook.gif" alt="Facebook Link Image" /></a>
</div>
<div class="social">
<a href="http://www.nevermore-ink.deviantart.com/"><img src="../images/siteimages/nevermoreink.gif" alt="Nevermore-Ink deviantArt Link Image" /></a>
</div>
</div>
</div>
<div class="contentimgs">
<span class="recent">RECENT TATTOOS</span>
<div class="leenew">
<?php
include '../inc/connect.php';
$q = mysql_query("SELECT * FROM thumbs_gallery LIMIT 6") or die (mysql_error());
while($row = mysql_fetch_array($q)){
echo "<img class='thumbnail' src='{$row['filename']}' alt='{$row['description']}. Image' />";
}
?>
</div>
<div class="niknew">
<?php
include '../inc/connect.php';
$q = mysql_query("SELECT * FROM nik_thumbs_gallery LIMIT 6") or die (mysql_error());
while($row = mysql_fetch_array($q)){
echo "<img class='thumbnail' src='{$row['filename']}' alt='{$row['description']}. Image' />";
}
?>
</div>
</div>
</div>
And the css
#content{
width:78em;
margin-left:auto;
margin-right:auto;
border:3px solid #ffffff;
background:#d20202;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
overflow:hidden;
}
Can anyone shed some light on this for me?
Thanks
Glen..