Logo cannot be aligned properly
#1
I have been trying to adjust logo and header, but it changes in 5-6 hours. Here is the code, please check my sig for logo.

.logo {
background: #268cc5;
width: 77%;
height: 110px;
margin: auto auto;
-webkit-border-bottom-right-radius: 10px;
-webkit-border-bottom-left-radius: 10px;
-moz-border-radius-bottomright: 10px;
-moz-border-radius-bottomleft: 10px;
border-bottom-right-radius: 10px;
border-bottom-left-radius: 10px;
text-align: left;
Reply
#2
Are you trying to center it? If so, remove: text-align: left;
Reply
#3
(2012-08-28, 02:20 AM)Tecca Wrote: Are you trying to center it? If so, remove: text-align: left;

Yes, I am trying to center it. I did remove it, nothing changed. Is there any way to center it?
Reply
#4
I'm still seeing it in your CSS. It will be centered once it's removed.
Reply
#5
(2012-08-28, 02:43 AM)Tecca Wrote: I'm still seeing it in your CSS. It will be centered once it's removed.

Please check, I removed it again, it is not centered.
Reply
#6
Looks good now.
Reply
#7
try with a float:center;
[Image: mTTn4.png]
Reply
#8
(2012-08-28, 02:04 PM)Dominic Wrote: try with a float:center;

That isn't a correct property (there isn't a center float). His code already has margin: auto; - which is what is centering the logo right now.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)