dcsimg
www.webdeveloper.com
Results 1 to 3 of 3

Thread: Overlaping elements using css

  1. #1
    Join Date
    Jan 2009
    Posts
    2

    Overlaping elements using css

    As you can see in the attached file i am trying to make an image overlap with a Grey box. So far I have created the Grey box using a div and giving it a css background property of Grey. the problem that i am having is that when i try to position the image overtop of the grey DIV, it pushes the grey box down instead of on top. Also if you refer to the attached there is some text that will need to overlap the grey part as well. I am sure there is one solution for both of these problem.

    By the way, all of these elements are contained in a fixed width wrapper using css.
    Attached Images Attached Images

  2. #2
    Join Date
    Nov 2008
    Location
    Lexington
    Posts
    48
    Could you post your css?

  3. #3
    Join Date
    Jan 2009
    Posts
    2
    .imageoverlap {
    z-index: 0;
    left: 200px;
    position: relative;
    top: 25px;


    this seems to work

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles