Quantcast
Channel: WordPress › Support » Forum: Hacks - Recent Topics
Viewing all articles
Browse latest Browse all 8245

keith_e on "Aligning Buttons On Website"

$
0
0

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 'http://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 'http://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 all articles
Browse latest Browse all 8245

Trending Articles