Aligning Buttons On Website
-
Hi
I want to align two buttons I’ve put on a website with the left hand side of the header image. The way I’ve got it at the moment it using an offset in px has the buttons in different positions depending on the resolution of the screen the website is being viewed on.
Help please?
Details:
Site :homebeachmediademo5.com
Code in header.php:<div class="lang-english"> <a href="<?php echo 'https://www.cjljewellery.com.au'.$_SERVER['REQUEST_URI']; ?>" id="logo"><img src="<?php bloginfo('template_url'); ?>/images/ausflag-50x25.png" title="English"></a> </div> <div class="lang-french"> <a href="<?php echo 'https://www.homebeachmediademo5.com'.$_SERVER['REQUEST_URI']; ?>" id="logo"><img src="<?php bloginfo('template_url'); ?>/images/frenchflag-50x25.png" title="Francais"></a> </div>
style.css entry:
.lang-english { float:left; top:265px; margin-left:110px; z-index: 3; } .lang-french { float:left; top:265px; margin-left:10px; z-index: 3; }
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Aligning Buttons On Website’ is closed to new replies.