Hi.
Description of problem: I'm using this CSS-template to build a website: http://www.glish.com/css/7.asp (scroll down at the site to see the full code of the template).
What I did was to create a new CSS element like this:
I have a language bar like this: "ENG | DE | NO" , and I want it to go in the upper right of the site (in the banner). So I placed the following code inside the banner like this:
The browser respects the "font-size", but it ignores the "text-align", and I think it's because it's all inside a div tag. But how can I align the text the way I want?
I don't want to go back to using tables for layout, because I like the "floatyness " of the CSS layout.
Any advice is very much appreciated :)
Description of problem: I'm using this CSS-template to build a website: http://www.glish.com/css/7.asp (scroll down at the site to see the full code of the template).
What I did was to create a new CSS element like this:
Code:
.langbar {
font-size:12px;
text-align:right;
}
Code:
<div id="banner">
<span class="langbar"><a href="?locale=en_US">ENG</a> |
<a href="?locale=de_DE">DE</a> |
<a href="?locale=nb_NO">NO</a></span>
</div>
I don't want to go back to using tables for layout, because I like the "floatyness " of the CSS layout.
Any advice is very much appreciated :)
Comment