At this moment, I have:
HTML:
<div class="menu">
<img src="logo.png" alt="6" />
<a href="1.html" title="1" id="ton">Hendrerit</a>
<a href="2.html" title="2" id="ton">Phasellus</a>
</div>
CSS:
.menu img {
vertical-align: middle;
}
.menu a#ton:link,
.menu a#ton:visited,
.menu a#ton:active {
display: inline-block;
padding: 19px;
}
JSFiddle: http://jsfiddle.net/BT5K9/
Which is the best way to align links to right? I want only for modern browsers, so I guess it's something simple. text-align
don't work in my case because of the display: inline-block
, I guess. Maybe without float? Thanks.