![]() |
Moving my buttons over ?
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: http://professional-world.com/images/move.jpg This is my HTML: Code:
<body>Code:
* {Thanks . |
try sticking a container around your banner of 980px or to your choice also stick the container around the inputs once done in your banner code add the float: left; element to it also do this for your inputs but using float: right;
|
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> |
OK
Thanks for the help. :thumbsup: I have used position:absolute; but I don't like it because it only looks good if the page is full screen or close to it. If you grab either side of the window and move it, then the buttons disappear off the page. I would rather use something that floats the buttons next to the banner. Just can't find out what I need to do ....:confused: . |
You need ap to place those buttons on top of head_GreatLobsterResturants.jpg unless you want to make that image a background of <header>
If your buttons are moving around when you resize your browser, you don't have the right element relative. Look in my example how I've set <header> to be position: relative;That makes child ap elements take their position relative to <header> instead of the body of the document. |
Look at it as a background image -
Code:
<!doctype html> |
| All times are GMT +1. The time now is 05:14 PM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.