Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I fill all the screen with a website

Status
Not open for further replies.

ejgarcia

IS-IT--Management
May 28, 2003
72
US
Hi all,

Please, How can I fill all the screen with all website. I mean, I made a website in a 800x600 resolution, and when I change it to 1024x.... the website is too small.

And how can I fill all Screen with the page?

I'm using dreamweaver mx and a sort of ccs styles

Thanks you,
 
make the widths of your main tables or layers as a 100%.

grtfercho çB^]\..
"Imagination is more important than Knowledge" A. Einstein
 
Funny thing is, your website will already fill all the available browser space. The real question is, what is your code doing to restrict this tendency?

Cheers,


[monkey] Edward [monkey]

"Cut a hole in the door. Hang a flap. Criminy, why didn't I think of this earlier?!" -- inventor of the cat door
 
Thanks, so much.

But when I put this size, all the website unfit, all design is unfit

Please, What can I do?

 
The difficulty in a resizable website is that everything in it (columns/graphics/etc) needs to be equally resizable. Another way to tackle this problem is to have a script detect what a viewer's screen resolution is, and redirect them to a version of that page designed for that resolution. There's one available here:


Then do 2 versions of your page, one optimized for 800 x 600 and another for 1024 x 768.
 
ejgarcia,

Search through your code for anything that refers to size or width or height (except for images). If you see a number there, then chances are, that element is restricting your layout.

Part of the trouble is that I don't know what the problem is. Post a URL or something.

Cheers,


[monkey] Edward [monkey]

"Cut a hole in the door. Hang a flap. Criminy, why didn't I think of this earlier?!" -- inventor of the cat door
 
Change all your table widths and heights to percentages. e.g. width="85%"

Post your code if you have more problems
 
posted by theocraticmind:
Is there a way to make a page fill 100% of the height?


Not an effective one.
 
Try a table:

<table style=&quot;width:100%;height:100%;margin:0;padding:0&quot;>
 
Thanks you so much!!!

it works...

Eduard

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top