The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS How to add image outside of container

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #36094

    Hello i wanted to add an image that links to a url on the outside of my container (right side near content body area on pg). Do i add position relative to the container and absolutely position the image or do i add position relative to the main content area since it will be on the side of that element?

    Also, will this cause any problems in older browsers? Any help will be good.


    Absolutely positioning the image sounds pretty good. You might need to fiddle with some older IE browsers but you should be fine across the board otherwise.

    You could also use some negative margins, but you might run into a little unpredictable behaviour.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.