You don't need the inline and you aren't declaring the css properly in your mark-up.
align="center" is a deprecated and also unnecessary attribute.
Put the css in the head information of your page.
To center your wrapper use:
Code:
<style type="text/css">
#wrapper{
margin: 0 auto;
/*Your left and right divisions should be declared (in css) as */
#left{
float: left;
}
#right{
float: left;
}
</style>
However, your wrapper should also declare a width and your left and right divisions a percentage of that width, remembering, unless declared otherwise, that borders, margin, and padding are automatic in some browsers. So, you don't make left and right equal to 100%.
Your html will be:
Code:
<div id="wrapper">
<div id="left">raspberry</div>
<div id="right">Jam</div>
</div>
Bookmarks