<div id="menuContainer"> <div id="menuBar"> <?PHP php removed for security purposes ?> </div> </div>
menuContainer
#menuContainer
{
width: 880px;
margin: 0px auto;
position:relative;
background-image: url(../images/image.gif);
background-repeat: repeat-y;
overflow:hidden;
height:50px;
padding-bottom:30px;
}
menubar
#menuBar
{
width: 880px;
margin: 0px auto;
}
I cant use padding, or margines to center it. And the php is security measure to display images based on permissions. So i cant do anything in there either, not that i can think of any.
So how do i center the images in the middle of the container?
Thanks for any help
EDIT:
I have also used xhtml <center> tags
and also in the div tags added align="center"
With no success
This post has been edited by dreadfear: 20 June 2009 - 07:54 AM

New Topic/Question
Reply



MultiQuote







|