cssrules
02-02-2003, 09:05 PM
hi!
i am aware that there is another thread that has to do with aligning a div.....yet i could find an answer to the specific problem...so i am asking again...
i have a parent div (pageBody) and in it another div and some text...
div#pageBody {
width: 620px;
}
what i need to do is align the parent div horizontally in the middle....well adding text-align: center appears to do the job on IE but due to a bug...:mad:
on Mozilla the parent div stays always on the left...
how can it be done...
Thanl u in advance....
i am aware that there is another thread that has to do with aligning a div.....yet i could find an answer to the specific problem...so i am asking again...
i have a parent div (pageBody) and in it another div and some text...
div#pageBody {
width: 620px;
}
what i need to do is align the parent div horizontally in the middle....well adding text-align: center appears to do the job on IE but due to a bug...:mad:
on Mozilla the parent div stays always on the left...
how can it be done...
Thanl u in advance....