Hi,
I am trying to move my 2 buttons over so they
are next to my main banner.
Thing is, my banner is centered and I want it to stay that
way ... but I would to put the 2 buttons mid-way between the banner
right hand edge and the edge of the page - so the buttons look
centered up on the RHS.
Here is an image of what I mean:
This is my HTML:
Code:
<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 Guideh3>
</header>
<div id="banner" onmouseover="zxcImageSlider.Pause('banner');" onmouseout="zxcImageSlider.Auto('banner');" >
<div><img src="http://expert-world.org/banners/default3.jpg"></div>
</div>
<div >
<input type="button" name='' value="Next" onmouseup="zxcImageSlider.Next('banner',1);">
<input type="button" name='' value="Back" onmouseup="zxcImageSlider.Next('banner',-1);">
</div>
And the CCS:
Code:
* {
margin:0 0;
padding:0 0;
}
html{
height:100%;
font-family:helvetica;
background:#FFFFFF;
}
header, footer {
display:block;
width:1060px;
margin:0 auto;
}
header {
height:200px;
background: blue;
border-radius:0px 0px 12px 12px;
-moz-border-radius:0px 0px 12px 12px;
-webkit-border-radius:0px 0px 12px 12px;
}
header section {
display:block;
width:1000px;
height:100px;
background:#FFFFFF;
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;
}
#banner {
display: block;
width:800px;
height:100px;
position: relative;
margin: 10px auto;
border: 3px solid black;
overflow: hidden;
}
img {
border: none;
}
.head_image {
display: inline;
width:1040px;
height:150px;
position: relative;
top: -55px;
left: -20px;
}
Can you see I should get the buttons positioned properly ?
Thanks
.
__________________
If you want to attract and keep more clients, then offer great
customer support.
Support-Focus.com. automates the process and gives you a
trust seal to place on your website.
I recommend that you at least take
the 30 day free trial.