Sunday, November 21, 2010

CSS width page, i can't work out with the width?

CSS width page, i can't work out with the width



i have a problem in making the width of this page wider, i tried to use percentage, pixels, nothing changed on the width





I'm using Internet explorer7

and i can't figure out how to make it widder



please help me





here is a part of the CSS

';



body

{

background:url(images/b.jpg) repeat-x top #fff;

padding:0;

font-family:Verdana, Arial, Helvetica, sans-serif;

font-size:10px;

margin:0px auto auto auto;

color:#416271;

}

a{

text-decoration:none;

color:#416271;

}

#main_container{

width:900px;

height:auto;

margin:auto;

padding:0px;

position:relative;

}

.main_content{

width:700px;

height:auto;

margin:auto;

}

.parrot{

position:absolute;

top:0px;

left:45px;

}



';

I don't understand much in CSS, i Tried to make the wedth wider but i couldn't , can anyone tell me what should i change ??CSS width page, i can't work out with the width?
main_container{

width:900px; %26lt;====Your width

height:auto;

margin:auto;

padding:0px;

position:relative;

}

.main_content{

width:700px; %26lt;=====Your width

height:auto;

margin:auto;

}



Depending upon how you have these worked into your html, you would change those widths to your desired parameters.

No comments:

Post a Comment