• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to resize everything in HTML

 
Anthony Karta
Ranch Hand
Posts: 342
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I created a simple html page, mostly text and table.

It looks nice in smaller size firefox/IE window, but when the window is maximized, looks odd/ugly, especially the gap.

how to make the content layout looks the same in small/big window? such as the text will be centred in either, no scrolling bar.

hope make sense.

thanks all
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well without knowing your HTML. You need to use either a fixed width or use ems or use percentages. margin: auto on the body,html is also helpful.

Eric
 
Gail Mikels
Ranch Hand
Posts: 634
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Eric Pascarello:
Well without knowing your HTML. You need to use either a fixed width or use ems or use percentages. margin: auto on the body,html is also helpful.

Eric


Curious - what's "ems"?
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can read about the wonderful world of M here. http://www.awprofessional.com/articles/article.asp?p=397663&rl=1

Eric
 
Gail Mikels
Ranch Hand
Posts: 634
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, Eric - it's SO interesting - I'd never heard of it! Cool stuff!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic