Schmoopy
10-08-2008, 09:20 AM
Well this is really annoying me now, my brother wants me to do his site for him which I did, but designing your first website on a 1440 x 900 screen really doesn't help when you realise that on other screens it looks completely different, so he wanted me to center it. At first I thought, easy enough... but after trying lots of things it seems that centering the site has made everything else messed up, like the rollovers, i've only implemented the first few but already they're giving me grief.
Offending page is here : http://www.bombthehills.com/beta.html.
Here is the code just in case you don't want to view page source / easier to see here:
--------------------------------------------------------------------------
<html>
<head>
<title> The Mountain Boarding Resource </title>
<META name="description" content="The Mountain Boarding Resource - Guides, Tips, Reviews, Riding Locations, News and Forums">
<META name="keywords" content="mountain boarding, mountainboarding, ATB, all terrain boarding, tips, guides, reviews, riding locations, forums, news ">
<link rel=stylesheet href="styles2.css" type="text/css">
</head>
<body bgcolor="black">
<img src="menu/buttons/newsOVER.png" style="display:none;"/>
<img src="menu/buttons/galleryOVER.jpg" style="display:none;"/>
<img src="menu/buttons/guidesOVER.jpg" style="display:none;"/>
<img src="menu/buttons/reviewsOVER.jpg" style="display:none;"/>
<img src="menu/buttons/ridingspotsOVER.jpg" style="display:none;"/>
<img src="menu/buttons/forumsOVER.jpg" style="display:none;"/>
<img src="menu/buttons/trickbookOVER.jpg" style="display:none;"/>
<img src="menu/buttons/faqOVER.jpg" style="display:none;"/>
<img src="menu/buttons/calendarOVER.jpg" style="display:none;"/>
<div align="center">
<img src="header/newheader2.jpg" style="display:block;">
<div style="position:relative; top:-53px; left:-295px;">
<a href="index.html">
<img src="header/home.jpg" alt="Bomb The Hills Home" border="none" name="Home" title="Home">
</a>
</div>
<div style="position:relative; top:-57px;">
<img src="menu/buttons/menuup.jpg" style="display:block">
</div>
<div style="position:relative; top:-87px; left:-458px; z-index:1">
<a href="news.html" onmouseOver="document.newsroll.src='menu/buttons/newsOVER.png'"
onmouseOut="document.newsroll.src='menu/buttons/newsUP.png'">
<img src="menu/buttons/newsUP.png" border="none" name="newsroll">
</a>
</div>
<div style="position:relative; top:-113px; left:-367px; z-index:1">
<a href="guides.html" onmouseOver="document.guidesroll.src='menu/buttons/guidesOVER.jpg'"
onmouseOut="document.guidesroll.src='menu/buttons/guidesUP.jpg'">
<img src="menu/buttons/guidesUP.jpg" border="none" name="guidesroll">
</a>
</div>
<div style="position:relative; top:-145px; left:-264px; z-index:1">
<a href="gallery.html" onmouseOver="document.galleryroll.src='menu/buttons/galleryOVER.jpg'"
onmouseOut="document.galleryroll.src='menu/buttons/galleryUP.jpg'">
<img src="menu/buttons/galleryUP.jpg" border="none" name="galleryroll">
</a>
</div>
</div>
--------------------------------------------------------------------------
Funny thing is, so far it works in IE which is well, surprising to say the least, but firefox isn't liking it,
Hope you can help,
Jack.
Offending page is here : http://www.bombthehills.com/beta.html.
Here is the code just in case you don't want to view page source / easier to see here:
--------------------------------------------------------------------------
<html>
<head>
<title> The Mountain Boarding Resource </title>
<META name="description" content="The Mountain Boarding Resource - Guides, Tips, Reviews, Riding Locations, News and Forums">
<META name="keywords" content="mountain boarding, mountainboarding, ATB, all terrain boarding, tips, guides, reviews, riding locations, forums, news ">
<link rel=stylesheet href="styles2.css" type="text/css">
</head>
<body bgcolor="black">
<img src="menu/buttons/newsOVER.png" style="display:none;"/>
<img src="menu/buttons/galleryOVER.jpg" style="display:none;"/>
<img src="menu/buttons/guidesOVER.jpg" style="display:none;"/>
<img src="menu/buttons/reviewsOVER.jpg" style="display:none;"/>
<img src="menu/buttons/ridingspotsOVER.jpg" style="display:none;"/>
<img src="menu/buttons/forumsOVER.jpg" style="display:none;"/>
<img src="menu/buttons/trickbookOVER.jpg" style="display:none;"/>
<img src="menu/buttons/faqOVER.jpg" style="display:none;"/>
<img src="menu/buttons/calendarOVER.jpg" style="display:none;"/>
<div align="center">
<img src="header/newheader2.jpg" style="display:block;">
<div style="position:relative; top:-53px; left:-295px;">
<a href="index.html">
<img src="header/home.jpg" alt="Bomb The Hills Home" border="none" name="Home" title="Home">
</a>
</div>
<div style="position:relative; top:-57px;">
<img src="menu/buttons/menuup.jpg" style="display:block">
</div>
<div style="position:relative; top:-87px; left:-458px; z-index:1">
<a href="news.html" onmouseOver="document.newsroll.src='menu/buttons/newsOVER.png'"
onmouseOut="document.newsroll.src='menu/buttons/newsUP.png'">
<img src="menu/buttons/newsUP.png" border="none" name="newsroll">
</a>
</div>
<div style="position:relative; top:-113px; left:-367px; z-index:1">
<a href="guides.html" onmouseOver="document.guidesroll.src='menu/buttons/guidesOVER.jpg'"
onmouseOut="document.guidesroll.src='menu/buttons/guidesUP.jpg'">
<img src="menu/buttons/guidesUP.jpg" border="none" name="guidesroll">
</a>
</div>
<div style="position:relative; top:-145px; left:-264px; z-index:1">
<a href="gallery.html" onmouseOver="document.galleryroll.src='menu/buttons/galleryOVER.jpg'"
onmouseOut="document.galleryroll.src='menu/buttons/galleryUP.jpg'">
<img src="menu/buttons/galleryUP.jpg" border="none" name="galleryroll">
</a>
</div>
</div>
--------------------------------------------------------------------------
Funny thing is, so far it works in IE which is well, surprising to say the least, but firefox isn't liking it,
Hope you can help,
Jack.