Ernesto
asked on
need to center an image but i have a left sidebar and the image moves right
Hi all
I have a sidebar like this
i center my image whit this one
my image moves to right cos, the sidebar,
How to center dear experts!!!!
regards
I have a sidebar like this
.left {
float:left;
width: auto;
height:auto;
}
i center my image whit this one
p.centerimg { text-align: center; }
my image moves to right cos, the sidebar,
How to center dear experts!!!!
regards
Without seeing the surrounding markup and styles it will be hard to provide an answer.
To center the image, try:
p.centerimg { margin: 0 auto;}
ASKER
Do not work e-dub
regards!
regards!
Then it would definitely help to provide a link so that the markup can be viewed. And you can try removing the "p" from the CSS first.
.centerimg { margin: 0 auto;}
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thats it