Computer Hope

Internet & Networking => Web design => Topic started by: rockstar4cs on May 18, 2008, 01:35:20 PM

Title: web page help
Post by: rockstar4cs on May 18, 2008, 01:35:20 PM
This is probably a simple question but I know only alittle HTML and very little CSS. When I make a web page everything shows up on the page I want it but when I resize it everything moves on the page how do you make it so that when u resize the web page nothing moves on the page the page just gets smaller so you can see less. Can you only do that with CSS or can you do it with HTML? Again I'm pretty new to web design so I'd appreate the help thank you.
Title: Re: web page help
Post by: soybean on May 18, 2008, 01:57:22 PM
...  how do you make it so that when u resize the web page nothing moves on the page the page just gets smaller so you can see less. Can you only do that with CSS or can you do it with HTML?
Your wording is confusing.  I believe what you really mean to say is, How do you make the page elements remain in a fixed position, even when you shrink your browser window?  In other words, when the browser window is reduced in size, the vertical and/or horizontal scroll bars will appear and scrolling is then needed to view the whole page.   Am I right?

You can do that with HTML and the way you can do it is to used number of pixels in your width attributes in your table tags, rather than percentages for width attributes or simply not using width attributes.  For example, <table width="500" height ="400"> creates a table 500 pixels wide and 400 pixels high. You may find that putting the entire page in a table (with fixed width) and then putting tables inside that outer table the best way to control your pages.
Title: Re: web page help
Post by: rockstar4cs on May 18, 2008, 04:50:10 PM
yes thats what I ment thank you for your help