Jump to content

Image in CSS


yv5qap

Recommended Posts

:) I am new in CSS. Could anybody help me? I need to known all the commands used to manipulate images in CSS. I'm interested to put a lot of images in my page and I wish to control the size and position of each image or picture. Thanks a lot for any help.
Link to comment
Share on other sites

You should look into the CSS reference before you ask such global questions but anyway...The Width and Height property should be used to specify the size of the picture. You may encounter problems if you use relative sizes though.If the image is going to be used for a designing purpose, you can use the background-image property to place it as a background to some element.Any CSS property, which is not targeted specifically to text (such as the color property) can also be used for images. It all depends on what you need the image(s) for.

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...