filling the screen, too good to be true?

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?
 
S

Steve Easton

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.
 
T

The Dollmaker

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?
 
M

Murray

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).
 
T

The Dollmaker

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.
 
R

Rob Giordano [MS MVP]

and/or install IE Developer Toolbar lets you validate html & CSS without
pushing too many bottons.



--
~~~~~~~~~~~~~~~~~~
Rob Giordano
Microsoft MVP Expression
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top