Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Mar 2006
    Posts
    160
    Thanks
    0
    Thanked 0 Times in 0 Posts

    position absolute

    Hi, if you dont know what im talking about here it is:
    PHP Code:
    img.x
    {
    position:absolute;
    left:0px;
    top:0px;
    z-index:0;
    }
    img.y
    {
    position:absolute;
    left:20px;
    top:20px;
    z-index:1
    }
    div.z
    {
    position:absolute;
    left:150px;
    top:50px;
    z-index:2
    }
    </
    style
    I am wondering if its good and professional looking to use this?
    Will it work right on everyones browser? Ive never used it thats why im asking.
    Thanks!!

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Don't use it if you don't have to. Most layouts require little or NO absolute positioning. You are just getting yourself into problems among different screen resolutions.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #3
    New Coder
    Join Date
    Oct 2006
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts
    i conquer with the man above....absolute positioning may look all fine and great on your computer and everything lines up to what you want buy say if i open the website, it wont at all be lined up for me...ill be seeing the banner over the body information or something...css works pretty well for those types of things....no expert myself but i suggest you use css


  •  

    Posting Permissions

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