I’m doing this website for a friend who is a lawyer.
http://rodriguezstudios.com/kabongo/
She gave me a template and I did the rest. However on the front page her picture is on the side and she wants it centered it in the left column.
however it’s an background image so how do it.
here is the code
td.c5 {
height: 413px;
width: 350px;
background-image: url(images/web-pic-2.jpg);
background-repeat: no-repeat;
Please help. Thanks.
You can add a background position (http://www.w3schools.com/css/pr_background-position.asp) and move it to the right by adding a “left” value. like so:
background-position: 0px 20px;
You can tweak the value, and move it where you want it.
[quote=Raydred;2339003]You can add a background position (http://www.w3schools.com/css/pr_background-position.asp) and move it to the right by adding a “left” value. like so:
background-position: 0px 20px;
You can tweak the value, and move it where you want it.[/quote]
Thank you so much man, it worked. One last request. On the about us you’ll see this quote under two lines.
"Kabongo Law Group is poised to help
you realize your American dream
under the law "
How do i center it on the middleo of the page? here is the code.
<div class="callout">
<p align="center">Kabongo Law Group is poised to help </p>
<p align="center">you realize your American dream </p>
under the law
</div>
Thanks…
remove that crappy
align="center"
while ur at it forget that align ever existed and never use it again.
add in your css
.callout { text-align: center; }