Jump to content

Image in CSS


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 post
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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...