We’d like to remind Forumites to please avoid political debate on the Forum.
This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
Setting the size of a web page...
wyebird
Posts: 755 Forumite
in Techie Stuff
Hi
What I would like to do is set a page so it fills the browser on any monitor size.
I thought that maybe I could insert an single cell table and set the table width to 100% and make all layers relative rather than fixed??
This doesn't seem to work though and I can't seem to find an answer, apart from don't do it lol.
Can anybody suggest anything?
Thanks
What I would like to do is set a page so it fills the browser on any monitor size.
I thought that maybe I could insert an single cell table and set the table width to 100% and make all layers relative rather than fixed??
This doesn't seem to work though and I can't seem to find an answer, apart from don't do it lol.
Can anybody suggest anything?
Thanks
0
Comments
-
Off top of my head, use a <div></div> as a container for the whole page, and set it's width to 100% either inline or in the CSS if your using an external stylesheet0
-
For the love of God don't use tables! :eek:0
-
shame i can only thank people once, or i'd sit here clicking thanks for FreheitOverture's message just there til my beer ran out...
and i've only just opened it..
tables are evil for design, and only useful for tabular data (and in lazy cases forms!)0 -
I can see the objections to frames, but border-free tables seem to me to be a good way of overcoming some of the more glaring deficiencies of HTML with regard to positioning text.
What's your solutions(s)?!0 -
FreheitOverture wrote: »For the love of God don't use tables! :eek:
Is there such a thing as web design Snobbery?0 -
Not snobbery, it is illegal as far as business goes as blind or visually impaired users can’t read web pages with their software, as for personal use it is just bad practice and poor coding.Is there such a thing as web design Snobbery?
Since when has the world of computer software design been about what people want? This is a simple question of evolution. The day is quickly coming when every knee will bow down to a silicon fist, and you will all beg your binary gods for mercy.0 -
At the time of writing the source code for this thread has nearly 50 tables.0
-
Since when has the world of computer software design been about what people want? This is a simple question of evolution. The day is quickly coming when every knee will bow down to a silicon fist, and you will all beg your binary gods for mercy.0
-
it is illegal as far as business goes as blind or visually impaired users can’t read web pages with their software, as for personal use it is just bad practice and poor coding.

I think visual impairment software copes with tables OK. I've had good comments about my site (which uses tables). Multitudes of nested tables probably do cause problems.
The difficulty is that some browsers mainly IE do not render CSS positioning properly and hacks and strange coding can be necessary to avoid the design collapsing. A fairly simple table in my opinion is an easy way to get layout and does not give too much bloated code.0 -
Yes tables are to be avoided if at all possible. However, for many people (including those calling themselves web designer/developers) the leap from there to a div based, css driven site is often too much with browser compatibility issues -v- time/cost.
I'd say: if you have the time to "do it properly" then take the time to learn about divs/containers and do it that way, along with all the extra cross-browser compatibility testing.
If you just want to achieve a web page, to display information, and you only know how to use tables, then go for it.0
This discussion has been closed.
Confirm your email address to Create Threads and Reply
Categories
- All Categories
- 352.1K Banking & Borrowing
- 253.6K Reduce Debt & Boost Income
- 454.3K Spending & Discounts
- 245.2K Work, Benefits & Business
- 600.9K Mortgages, Homes & Bills
- 177.5K Life & Family
- 259K Travel & Transport
- 1.5M Hobbies & Leisure
- 16K Discuss & Feedback
- 37.7K Read-Only Boards
