View Single Post
Old 07-01-2012, 06:43 AM   PM User | #1
maxta99
New to the CF scene

 
Join Date: Jul 2012
Location: Sydney
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
maxta99 is an unknown quantity at this point
Newbie trying to center a menu + logo which are currently aligned on the left

Hey guys,

I am pretty new to HTML/CSS and am having trouble aligning parts of my header. I have tried doing position:center; however it doesn't seem to be working the CSS code I have for the image logo and menu text that I would like to be aligned is below:

#header div#display_homepage_title{
height: 46px;
left: 0;
margin: 0;
padding: 0;
position: absolute;
top: 40px;
width: 460px;
font:29px/46px "Lucida Sans Unicode", "Lucida Grande", sans-serif;
}

#header div#display_homepage_title a{
width:100%;
height:100%;
margin:0px;
padding:0px;
text-align:leftr;
display:block;
text-indent:-9999px;
color:#aaaaaa;
}

#header div a#homepage_title{
text-indent:0px;
font:29px/46px "Lucida Sans Unicode", "Lucida Grande", sans-serif;
background:none;
}

If someone is able to help me with this, I would be very greatful
Happy coding!
maxta99 is offline   Reply With Quote