Quizzes & Puzzles0 min ago
Page Width HTML tags?
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!
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!
Answers
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.
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.
<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.
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.