Guy i need to put two picture as hyperlink (login and register), but i'm not sure which HTML code can do the trick (include right placement)...... i know is very simple but i just don't get it .. thanks my current code <!DOCTYPE html> <html> <body> <center><img src="http://www./images/112.jpg" > </center> </body> </html> HTML: something like my attachment :
1) You didn't provide proper links to first image 2) images are horrible 3) login and register buttons are huge 4) your 1 line of code was already a mess Here you go with proper coding and try to add proper images (and update links as well). <!DOCTYPE html> <html> <body> <div id="container"> <div id="register"> <a href="#"><img src="http://forums.digitalpoint.com/attachment.php?attachmentid=93906&d=1349882126" /></a> </div> <div id="login"> <a href="#"><img src="http://forums.digitalpoint.com/attachment.php?attachmentid=93905&d=1349882126" /></a> </div> </div> </body> </html>​ Code (markup): CSS: #container { background: url(http://forums.digitalpoint.com/attachment.php?attachmentid=93899&d=1349878303) no-repeat; height: 300px; width: 500px; margin: 0 auto; position: relative; } #register { position: absolute; bottom: 50px; left: 20px; } #login { position: absolute; bottom: 50px; right: 20px; } ​ Code (markup): On jsfiddle: http://jsfiddle.net/p6C6B/1/