This is the css code I copied for the container, Somehow it centres the container in the middle just as I want it to.
But I don't know how I managed: Can someone please explain me what it is that centres the container?
So then I know what I've done...
thanks george
}
#container {
color: #333;
width: 80%;
border: white;
margin: auto;
voice-family: "\"}\"";
voice-family: inherit;
width: 80%;
margin-top: 10px;
padding: 10px;
}
/*be nice to Opera 5*/
html>body .content {
width: 80%;
}
author of the original code was PyroThere is nothing within that centres the code you speak of, so there is something elsewhere within the document source that acheives this; although it would help if you posted a URl so that it could be seen in actionhuh I thought this was the code that fixed it.
but the URL is <!-- w --><a class="postlink" href="http://www.georgelangenberg.com/yoga">www.georgelangenberg.com/yoga</a><!-- w -->
keep in mind that this is my first attempt in css, okay Originally posted by Arrtu
There is nothing within that centres the code you speak ofYes there is.
The part that will center the #container is the margin: auto part. Also, it looks like you'd do well to change your code to this, as it doesn't appear you are using the Tantek hack.
#container {
color: #333;
width: 80%;
border: 1px solid white;
margin: auto;
margin-top: 10px;
padding: 10px;
}0kay, thanks again PyroSure thing.
But I don't know how I managed: Can someone please explain me what it is that centres the container?
So then I know what I've done...
thanks george
}
#container {
color: #333;
width: 80%;
border: white;
margin: auto;
voice-family: "\"}\"";
voice-family: inherit;
width: 80%;
margin-top: 10px;
padding: 10px;
}
/*be nice to Opera 5*/
html>body .content {
width: 80%;
}
author of the original code was PyroThere is nothing within that centres the code you speak of, so there is something elsewhere within the document source that acheives this; although it would help if you posted a URl so that it could be seen in actionhuh I thought this was the code that fixed it.
but the URL is <!-- w --><a class="postlink" href="http://www.georgelangenberg.com/yoga">www.georgelangenberg.com/yoga</a><!-- w -->
keep in mind that this is my first attempt in css, okay Originally posted by Arrtu
There is nothing within that centres the code you speak ofYes there is.
The part that will center the #container is the margin: auto part. Also, it looks like you'd do well to change your code to this, as it doesn't appear you are using the Tantek hack.
#container {
color: #333;
width: 80%;
border: 1px solid white;
margin: auto;
margin-top: 10px;
padding: 10px;
}0kay, thanks again PyroSure thing.