View Single Post
Old 02-05-2013, 06:39 PM   PM User | #3
Excavator
Master Coder


 
Excavator's Avatar
 
Join Date: Dec 2006
Location: Alaska
Posts: 9,410
Thanks: 22
Thanked 1,765 Times in 1,749 Posts
Excavator has a spectacular aura aboutExcavator has a spectacular aura aboutExcavator has a spectacular aura about
Hello jeddi,
If you give that containing element that holds your next/back buttons, you can position it with CSS. It might be best to put it in the header element, make header relative and us ap to position it then.

A few other problems there too, you have .head_image at 1040px wide that does not fit in 1000px wide section.
Your h3 tag is not closed properly.

Something like this -
Code:
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Untitled Document</title>
<style type="text/css">
html, body {
	height: 100%;
	font-family: helvetica;
	background: #FFFFFF;
}
header, footer {
	width: 1060px;
	margin: 0 auto;
}
header {
	height: 200px;
	background: #00f;
	border-radius: 0px 0px 12px 12px;
	-moz-border-radius: 0px 0px 12px 12px;
	-webkit-border-radius: 0px 0px 12px 12px;
	position: relative;
}
header section {
	width: 1000px;
	height: 100px;
	background: #fff;
	padding: 20px;
	margin: 0 0;
	margin-left: 10px;
	border-radius: 0px 0px 12px 12px;
	-moz-border-radius: 0px 0px 12px 12px;
	-webkit-border-radius: 0px 0px 12px 12px;
}
.head_image {
	display: inline;
	width: 1040px;
	height: 150px;
	position: relative;
	top: -55px;
	left: -20px;
}
#buttons {
	position: absolute;
	top: 50px;
	left: 50px;
}
#banner {
	display: block;
	width: 800px;
	height: 100px;
	position: relative;
	margin: 10px auto;
	border: 3px solid black;
	overflow: hidden;
}
img { border: none; }
</style>
</head>
<body>
    <header>
        <section> <img class="head_image" title= alt= src="http://professional-world.com/images/head_GreatLobsterResturants.jpg" > </section>
            <h2>Great Lobster Resturants</h2>
            <h3>The Best Lobster Eating Guide</h3> 
        <div id="buttons">
            <input type="button" name='' value="Next" onmouseup="zxcImageSlider.Next('banner',1);">
            <input type="button" name='' value="Back" onmouseup="zxcImageSlider.Next('banner',-1);">
        </div>
    </header>
    <div id="banner" onmouseover="zxcImageSlider.Pause('banner');" onmouseout="zxcImageSlider.Auto('banner');" >
    	<div><img src="http://expert-world.org/banners/default3.jpg"></div>
    </div>
</body>
</html>
__________________
Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad

Last edited by Excavator; 02-05-2013 at 06:47 PM..
Excavator is offline   Reply With Quote