Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
How To Set Page Width Relative To the Browser Width
How To Set Page Width Relative To the Browser Width? - CSS Tutorials - Page Layout and Background Image Design
✍: FYIcenter.com
The easiest way to set your page width is to not set any page width. Your page width will be equal to the browser window's width minus margins. If you want to try this, you can enter the following HTML document called, browserLayout.html:
<html><body style="{margin: 0.2in}">
<H1>Page Width Equal to Browser Width</H1>
<p><script language="JavaScript">
for (i=0; i<300; i++) {
for (j=0; j<10; j++) {
document.write(j+' ');
}
}
</script></p>
<p align="right">By FYICenter.com</p>
</body></html>
Now view browserLayout.html in a Web browser. You will see a page fill with numbers.
The page width will equal to the browser window width. If you resize the browser window,
the page width will be resized too. The page will look like this:

2007-05-11, 5787👍, 0💬
Popular Posts:
What is the purpose of the wait(), notify(), and notifyAll() methods? The wait(),notify(), and notif...
What is Concern in AOP? gA concern is a particular goal, concept, or area of interesth There are m...
How was XML handled during COM times? During COM it was done by using MSXML 4.0. So old languages li...
How To View All Columns in an Existing Table? - Oracle DBA FAQ - Managing Oracle Database Tables If ...
How To Enter Numeric Values as HEX Numbers? - MySQL FAQs - Introduction to SQL Basics If you want to...