Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

hikeNM

macrumors 6502a
Original poster
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
 
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.
 
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.

Thanks so much. I'll try that.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.