SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: Position table

  1. #1
    SitePoint Guru
    Join Date
    Sep 2007
    Posts
    971
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Position table

    I ahve a webpage using javascript popup and the page is 440 x 380 pixels, i want to add a table inside using coordinates such as left 243 and top as 154 what would the code be for that so it looks the same in all screensizes?
    Animated Chatrooms - www.121chatrooms.net

  2. #2
    SitePoint Wizard bronze trophy DaveWoods's Avatar
    Join Date
    Dec 2004
    Location
    Derbyshire - UK
    Posts
    2,651
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'd apply an ID to the table but this code should give you a starting point.

    Code:
    table {
      position: absolute;
      top: 154px;
      left: 243px;
    }
    We'll need to see an example of what you're trying to achieve though if you want a more detailed reply.

    Hope that helps though

  3. #3
    SitePoint Wizard bronze trophy C. Ankerstjerne's Avatar
    Join Date
    Jan 2004
    Location
    The Kingdom of Denmark
    Posts
    2,692
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    what would the code be for that so it looks the same in all screensizes?
    I am rather tempted to reply 'magical'. It is impossible to ensure that your pagepage looks anything like what you intended for all users.
    Christian Ankerstjerne
    <p<strong<abbr/HTML/ 4 teh win</>
    <>In Soviet Russia, website codes you!


Bookmarks

Posting Permissions

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