Jump to content

image alignment


metadata

Recommended Posts

I'm trying to align an image in my HTML document to the center of the page. In looking through the references on the W3 page I see that the align attribute is deprecated. There's a note that the CSS float property can be used (I am using an external style sheet) but it looks like it would only set things to the right or left, but not the center. Can someone point me in the direction of where I can look to solve this? Thanks :good:

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...