www.webdeveloper.com
Results 1 to 4 of 4

Thread: different resolutions

  1. #1
    Join Date
    Dec 2002
    Location
    Minneapolis
    Posts
    8

    different resolutions

    Greetings all!
    I hope everyone had a great holiday!
    Ive got a problem here. Ive laid out my page in css and everything looks great, EXCEPT that I have a table in the main body of the document (inside the header, navbar, and right side ) the problem is that in 800X600, it works great, in a bigger resolution, this table wants to align itself in the center of the screen, not within the margins. this is probably something really stupid on my part but its got me baffled.

    Thanks everyone!
    http://www10.brinkster.com/liskafamily

    heres the css:

    .layout{margin: 102px 165px 10px 155px}

    .navbar{position:absolute;top: 102px;left: 5px;width: 130px;height: 1500px;padding: 10px 0px 0px 5px;text-align:left;background-color:#999966;border-right: solid 2px #666633;border-top: solid 1px #666633}

    .header{position:absolute;top: 5px;left: 2px;width: 770px;height: 50px;padding-left: 1px}

    .rside{position:absolute;top: 102px;left: 650px;width: 125px;height: 1500px}

  2. #2
    Join Date
    Dec 2002
    Location
    Minneapolis
    Posts
    8
    greetins again!
    forgot to mention.there no DTD or character settings loaded on this document yet.....im just testing it.....I know I know....stupid!!

    Thanks again!
    Michael

  3. #3
    Join Date
    Nov 2002
    Posts
    984
    Originally posted by michael liska
    forgot to mention.there no DTD
    Neighter IE/Win 6, IE/Mac 5 nor Gecko browsers will handle your CSS correctly if you are missing a compleat and correct STRICT doctype.
    Thus next time make sure to add it before finding errors.

    In any case your problem is probably due to this
    <table align=center

    BTW, if you would have had eg this doctype
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    and tested your page at http://validator.w3.org that deprecated attribute would have shown up in the validator.
    Remember, the validator is your friend in helping to find weird problems depending on coding errors
    // Stefan Huszics

  4. #4
    Join Date
    Dec 2002
    Location
    Minneapolis
    Posts
    8

    thanks stefan

    sorry for the delayed "thank you" but THANK YOU!
    I was a little ahead of myself in uploading the documents and didnt even realize that I didnt have the DTD in the document.
    anyway, got it working .............
    thanks again!

    Mike

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