How do I centre photos

User 2967006 Photo


Registered User
2 posts

I'm really pleased with the way my website is developing - used templates rather than starting from scratch, and have inserted a number of photos that I've taken myself. One problem - the photos are on the far left and I can't figure out how to centre them. The website would flow better if I could centre my photos and I would imagine it would be very easy to do. I am using CSS (not \HTML).

Can anyone help? Thanks.

User 2699991 Photo


Registered User
3,706 posts
Online Now

first of all try making the left and right margin for the imasge = auto

if that doesnt work maybe needs some more info about the layout, but try that first

The Help You Need: When You Need It The Most
Website Design & Development
Website Renovations
Wayans' Theme Park
Watch Listen & Learn Video Tutorials

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.