| | |
Width Auto Resize to fit Screen
Please support our HTML and CSS advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Jul 2008
Posts: 101
Reputation:
Solved Threads: 9
To fill the screen you must also maximize the window.
Who would ever want to do that?
Who would ever want to do that?
Yes, I'm running Ubuntu. Of course.
The width attribute is deprecated. Use a style:
Then, in the tag you want to be wide, put the following:
The tag will assume the full width of its container.
HTML and CSS Syntax (Toggle Plain Text)
.wfl {width: 100%}
Then, in the tag you want to be wide, put the following:
HTML and CSS Syntax (Toggle Plain Text)
<tag class="wfl">
The tag will assume the full width of its container.
Daylight-saving time uses more gasoline
Actually <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 more?
Now, what is your goal so we could help more?
" Of all the things I've lost,
I miss my mind the most...."
Mark Twain
I miss my mind the most...."
Mark Twain
![]() |
Similar Threads
- font autoresize to fit screen (HTML and CSS)
Other Threads in the HTML and CSS Forum
- Previous Thread: Browser issuses
- Next Thread: stop html background image cutting off at lower resolutions
| Thread Tools | Search this Thread |
Tag cloud for HTML and CSS
appointments asp background backgroundcolor beta browser bug calendar cart cgi code codeinjection corporateidentity css design development displayimageinsteadofflash dreamweaver emailmarketing epilepsy explorer firefox flash font fonts form format google griefers hackers hitcounter hover html ide ie7 ie8 iframe image images internet internetexplorer intranet iphone javascript jpeg layout macbook maps marketshare microsoft mozilla multimedia navigationbars news offshoreoutsourcingcompany opacity opera optimization perl pnginie6 positioning problem scroll seo shopping studio swf swf. textcolor timecolor titletags url urlseparatedwords visual visualization web webdevelopment webform website windows7 xml xsl






