Donate SIGN UP

Page Width HTML tags?

Avatar Image
Noweia | 00:32 Mon 24th Jul 2006 | Technology
2 Answers
Does anyone know a html tag (or anything else if no html!) that specifies the width of a webpage?

I'm trying to fit one page into an inline frame on another page, without it overlapping, so I won't have to use a scrollbar - but I can't seem to find what I'm looking for. :( Can anyone out there help?

Thanks!
Gravatar

Answers

1 to 2 of 2rss feed

Best Answer

No best answer has yet been selected by Noweia. Once a best answer has been selected, it will be shown here.

For more on marking an answer as the "Best Answer", please visit our FAQ.
I'm sure that when I did some pages (using Dreamweaver) I changed the quantity in the table width from however many pixels it was, to 100%, I think it will display the page at 100% width regardless of a visitors screen resolution ... it worked for me...

You may have to edit this in the 'code' rather than the 'design' view... it was a long time ago, things are a bit fuzzy.
The basic elements of a webpage work on a table structure. It is the overall table that will dictate how wide your page goes. For the HTML, you add the attribute WIDTH to the tag <TABLE>, so it looks something like this:

<TABLE WIDTH="800"> .... </TABLE>, which will make it 800 pixels wide (useful if you need to set a particular width for an image, say), or

<TABLE WIDTH="100%"> ... </TABLE>, which will make it fit any screen width automatically (this percentage can obviously be altered for partial screen width).

Don't forget that each individual cell in a table will be affected by this width setting.

1 to 2 of 2rss feed

Do you know the answer?

Page Width HTML tags?

Answer Question >>

Related Questions

Sorry, we can't find any related questions. Try using the search bar at the top of the page to search for some keywords, or choose a topic and submit your own question.