www.webdeveloper.com
Results 1 to 2 of 2

Thread: changing to relative in layers

  1. #1
    Join Date
    Oct 2006
    Posts
    23

    Unhappy changing to relative in layers

    i am using layers to show images of books, sample can be viewed here:

    http://www.nceonline.com/productspreprimary.htm


    but whenever i try to change the size of IE, then the image also moves, on some website i read that i have to change position:absolute to relative, and i have tried but it destroys the structure of page, can you tell me what i have to change in the line of code?

    the code is:

    <div id="Layer1" style="position:absolute; width:126px; height:166px; z-index:1; left: 719px; top: 317px;"><img src="images/mazeeng_st.jpg" width="126" height="166"></div>

  2. #2
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    Change above code to:
    Code:
    <img style="float:right;" src="productspreprimary_files/mazeeng_st.jpg" height="166" width="126" align="Maze Workbook Series">
    At least 98% of internet users' DNA is identical to that of chimpanzees

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