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!

Limit Pagewidth

Status
Not open for further replies.

saw15

Technical User
Jan 24, 2001
468
US
New to VI & Web Development..

Can I limit the page width ?
 
If you are talking about how wide your data displays, you need to put them in a table. Is that your question?

-Uncle Cake
 
Pretty much .. somewhat like tek-tips has done.

I don't want the page to span across the users entire screen. I thought the answer was tables, was hoping that I could set a total document width, something like word.
 
Tables will let you do just about anything. This is a basic table that is 700 pixels wide starting from the left.

<table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; width=&quot;700&quot;>
<tr>
<td width=&quot;100%&quot;>Your text goes here. This table is 700 pixels wide.</td>
</tr>
</table>

-Uncle Cake
 
You may need to put images in the top table row to enforce widths - otherwise some text or objects will cause the grid size to be overridden.
Typically, a 1 pixel sized 'invisible gif' is used - and the IMG tag will specify the actual size. Its a pain but it works across many browsers. Its this kind of stuff that Dreamweaver excells at. (Content Management)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top