On 12/8/11 10:26 PM, "G.Sørtun" wrote:
On 07.12.2011 01:23, Lisa Frost wrote:
On this site: http://www.flyingwithdiabetes.com/ the image of the book
in the side bar needs to be centered.
One way to achieve auto-centering of images...
p .bookcover {
display: block;
margin: 10px auto;
position
On 07.12.2011 01:23, Lisa Frost wrote:
On this site: http://www.flyingwithdiabetes.com/ the image of the book
in the side bar needs to be centered.
One way to achieve auto-centering of images...
p .bookcover {
display: block;
margin: 10px auto;
position: relative;
left: -2px;
}
...where the
On this site: http://www.flyingwithdiabetes.com/ the image of the book
in the side bar needs to be centered.
It is centered at the moment because i fudged it by using vspace and
hspace but i want to learn how to center it using css.
I have tried targeting:
#sidebar p .bookcover
with margin: 10px
Gunlaug Sørtun wrote:
> Indranil Dasgupta wrote:
>
>
>> http://www.psdspy.com/britney_spears/1487.html
>>
>
>
>> I need the shadowed image to be aligned in the center, but can't seem
>> to find a way to do it. Maybe because the container is float: left;
>> Can someone please help me.
>
Why float left? just use margin: auto in the flow
--
Joel Goldstick
www.columbuswebmakers.com
__
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com
Indranil Dasgupta wrote:
> http://www.psdspy.com/britney_spears/1487.html
> I need the shadowed image to be aligned in the center, but can't seem
> to find a way to do it. Maybe because the container is float: left;
> Can someone please help me.
Use ordinary block-centering.
Add / adjust to..
Dave Goodchild wrote:
> On 29/07/06, Indranil Dasgupta <[EMAIL PROTECTED]> wrote:
>
>> Hello,
>> Can someone please take a look at
>> http://www.psdspy.com/britney_spears/1487.html
>> I need the shadowed image to be aligned in the center, but can't seem to
>> find a way to do it. Maybe because t
On 29/07/06, Indranil Dasgupta <[EMAIL PROTECTED]> wrote:
>
> Hello,
> Can someone please take a look at
> http://www.psdspy.com/britney_spears/1487.html
> I need the shadowed image to be aligned in the center, but can't seem to
> find a way to do it. Maybe because the container is float: left;
> C
Hello,
Can someone please take a look at
http://www.psdspy.com/britney_spears/1487.html
I need the shadowed image to be aligned in the center, but can't seem to
find a way to do it. Maybe because the container is float: left;
Can someone please help me.
Regards
Indranil
_