HighDots Forums  

Width property

alt.html.tags alt.html.tags


Discuss Width property in the alt.html.tags forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
JonWayn
 
Posts: n/a

Default Width property - 11-27-2003 , 12:58 AM






I was viewing some HTML codes and withing the TABLE tag was 'width=100%' (or
some other figure). What does the width property do?



Reply With Quote
  #2  
Old   
Brett
 
Posts: n/a

Default Re: Width property - 11-27-2003 , 01:30 AM






<table width="100%"> tells the table to have a width of 100% of the screen
<table width="90%"> would then be a table that is 90% of the screen
<table width="780"> would be a table that is 780px wide

--
Brett
Provision Tech
http://www.provisiontech.net

"JonWayn" <jongunn (AT) bellsouth (DOT) net> wrote

Quote:
I was viewing some HTML codes and withing the TABLE tag was 'width=100%'
(or
some other figure). What does the width property do?





Reply With Quote
  #3  
Old   
Eric Bohlman
 
Posts: n/a

Default Re: Width property - 11-27-2003 , 02:29 AM



"Brett" <news (AT) provisiontech (DOT) net> wrote in
news:vsb6h7p3mh2rfd (AT) corp (DOT) supernews.com:

Quote:
table width="100%"> tells the table to have a width of 100% of the
screen
Nope. 100% of the browser viewport, which can never exceed the size of the
screen, and will almost always be smaller than it (even if the browser is
maximized, there will usually be things like window borders and
scrollbars).




Reply With Quote
  #4  
Old   
Andrew Murray
 
Posts: n/a

Default Re: Width property - 12-05-2003 , 11:55 PM




"JonWayn" <jongunn (AT) bellsouth (DOT) net> wrote

Quote:
I was viewing some HTML codes and withing the TABLE tag was 'width=100%' (or
some other figure). What does the width property do?

sets the width of the table!



Reply With Quote
  #5  
Old   
Andrew Murray
 
Posts: n/a

Default Re: Width property - 12-05-2003 , 11:56 PM




"Eric Bohlman" <ebohlman (AT) earthlink (DOT) net> wrote

Quote:
"Brett" <news (AT) provisiontech (DOT) net> wrote in
news:vsb6h7p3mh2rfd (AT) corp (DOT) supernews.com:

table width="100%"> tells the table to have a width of 100% of the
screen

Nope. 100% of the browser viewport, which can never exceed the size of the
screen, and will almost always be smaller than it (even if the browser is
maximized, there will usually be things like window borders and
scrollbars).

I belive the max width of a viewable area of screen at say 800x 600 is 780 or
there abouts (perhaps 778px)

778 px of 800px width (due to 22px taken up by scroll bar).
Quote:



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.