Screen Resolution Problem :(

Discussion in 'CSS' started by extremephp, Jun 22, 2010.

  1. #1
    Well, while going on through one of my free lance project, i faced a problem.

    A Navigation bar makes me trouble.

    In 1280 *1024 resolution, the Nav bar should be moved 0px from its orginal position to be viewed properly.

    But in 1024*768 it should be moved right 126px which i used padding function to do.

    SO if i set this to anyone, and the person opening the site is not using the given resolution, it seems messy.

    So whats the way to clear this out?

    Thanks.
     
    extremephp, Jun 22, 2010 IP
  2. tuba

    tuba Member

    Messages:
    266
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    26
    #2
    try to use div outside nav, and margin: 0 auto; may work for you
     
    tuba, Jun 22, 2010 IP
  3. extremephp

    extremephp Peon

    Messages:
    1,290
    Likes Received:
    32
    Best Answers:
    0
    Trophy Points:
    0
    #3
    tried marign: 0 auto, but no use.

    Use div outside nav??? Why? :O

    Thanks.
     
    extremephp, Jun 22, 2010 IP
  4. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #4
    What are you trying to accomplish? It's obviously not about centering the nav bar, else you'd shift the nav bar for the larger viewport. Give us a concise problem statement and show us your markup and css.

    cheers,

    gary
     
    kk5st, Jun 22, 2010 IP
  5. bvraghav

    bvraghav Member

    Messages:
    123
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    33
    #5
    i agree with gary... it is difficult to solve a problem which is assumed... please be more specific... :)
     
    bvraghav, Jun 22, 2010 IP
  6. extremephp

    extremephp Peon

    Messages:
    1,290
    Likes Received:
    32
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Well, The Client Now changed mind and wanted a different alignment.. The things are now Solved :)

    BUt awsome... Thanks For the On time Reply Of Both :)

    ~~ MODs, Please Close the Thread~~
     
    extremephp, Jun 22, 2010 IP