How do I lock(?) a page?

Discussion in 'Web Design and Development' started by hikeNM, Nov 23, 2006.

  1. hikeNM macrumors 6502a

    Joined:
    Sep 29, 2004
    Location:
    Somewhere close to a dairy in East Texas
    #1
    Howdy all. I'm working on a simple site using the program Nvu. Obviously, nothing fancy.

    I was wondering if it's possible to make my page lock? I'm not even sure lock is the right word.

    As it stand, when I view my page in a browser, the text resizes when the browser window is resized. Is there any way to keep this from happening?

    Thanks
     
  2. nightelf macrumors 6502

    Joined:
    Mar 25, 2003
    #2
    Hello, could you post the address of your site?
     
  3. hikeNM thread starter macrumors 6502a

    Joined:
    Sep 29, 2004
    Location:
    Somewhere close to a dairy in East Texas
    #3
  4. nightelf macrumors 6502

    Joined:
    Mar 25, 2003
    #4
    You can change the absolute width of the page, replace 756px, if you want a relative width, use something like 75%. If you want to keep the content centered use:

    <div style="width: 756px; margin-right: auto; margin-left: auto;">
    <- Your Site here ->
    </div>

    If you want it just to the left,

    <div style="width: 756px;">
    <- Your Site here ->
    </div>

    This should help. Good luck.
     
  5. hikeNM thread starter macrumors 6502a

    Joined:
    Sep 29, 2004
    Location:
    Somewhere close to a dairy in East Texas
    #5
    Thanks so much. I'll try that.
     

Share This Page