animeonmymind
06-03-2007, 11:45 AM
Hello,
I just finished creating my website in Imageready slices (it's a complete desk with all objects on it to act as links) but now I want to center the whole thing but that doesn't seem to work =/ I have made a linked stylesheet with all my images defined like this
div.id01 {
position:absolute;
left:0px;
top:0px;
width:172px;
height:54px;
my entire css file is like that but no matter what I try to do I can't seem to center my site it always sticks to the left side =s
I've used this:
body {
text-align: center;
}
div.wrapper {
text-align: left;
margin-left: auto;
margin-right: auto;
}
None of it helps:confused: I have to submit this assigment for school on thuesday so I only have 2 days left to get and center the whole thing ...
Would you guys please help me out on the one =(?
Thanks !
I just finished creating my website in Imageready slices (it's a complete desk with all objects on it to act as links) but now I want to center the whole thing but that doesn't seem to work =/ I have made a linked stylesheet with all my images defined like this
div.id01 {
position:absolute;
left:0px;
top:0px;
width:172px;
height:54px;
my entire css file is like that but no matter what I try to do I can't seem to center my site it always sticks to the left side =s
I've used this:
body {
text-align: center;
}
div.wrapper {
text-align: left;
margin-left: auto;
margin-right: auto;
}
None of it helps:confused: I have to submit this assigment for school on thuesday so I only have 2 days left to get and center the whole thing ...
Would you guys please help me out on the one =(?
Thanks !