filling the screen, too good to be true?

  • Thread starter Thread starter The Dollmaker
  • Start date Start date
T

The Dollmaker

I got bored with the center table that's 760 pixels. I am attracted to sites
that fill the whole screen. So I built one, checked it in Browsershots,
checked it on my own screen at all different resolutions, and I do not get
any sidescrolling. Did I figure it out or is it a fool's paradise?
 
You simply set the width of the main container to 100% instead of a fixed size.
Done all the time.

You can however get a scroll bar if you drag one side of the browser window towards the middle,
which I doubt anyone would do.
 
I put it back because there were too many problems in my html. Are you saying
that if I resize my big table to 100%, people won't be sidescrolling?
 
A 100% width container alone on a page will never generate a horizontal
scrollbar. The problem with a 100% width container , as Steve says, is that
on a wide screen, your text can look very lonely in a vast sea of background
color. Plus, as you resize your browser viewport, your text will reflow
perhaps causing undesirable motion on the page, and worse, even breaking
your layout (depending on the stability of your HTML).
 
Thank you. I write a lot of my own html so it isn't very stable. I guess I'll
just go with it as is until the technology evolves a little more. I want to
look good on Acer mini laptops and giant TV screens.
 
and/or install IE Developer Toolbar lets you validate html & CSS without
pushing too many bottons.



--
~~~~~~~~~~~~~~~~~~
Rob Giordano
Microsoft MVP Expression
 
Back
Top