hi guys, is there a way to auto resize the width to fit the screen? is it possible?
cguan_77 8 Nearly a Posting Virtuoso
Recommended Answers
Jump to Postyou can use:
width=100%
Jump to PostThe width attribute is deprecated. Use a style:
.wfl {width: 100%}
Then, in the tag you want to be wide, put the following:
<tag class="wfl">
The tag will assume the full width of its container.
Jump to PostActually <div> element is 100% stretched by default, unless contained in another block element with fixed widht, or unless floated. So, if you are using div's and do not use neither float, nor width properties, they will be still 100% wide.
Now, what is your goal so we could help …
All 10 Replies
ravi_9793 0 Newbie Poster

ingeva
MidiMagic 579 Nearly a Senior Poster
cguan_77 8 Nearly a Posting Virtuoso
MJ Pieterse 2 Poster
Trapped 0 Newbie Poster

Rhyan
churro89 0 Newbie Poster
Mona3 0 Newbie Poster
Banyak 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.