how to: div width = browser.width?

G

Guest

hey all,
how would i set my DIV width equal to the width of the browser window using
javascript? This should be set even when the browser is resized.

thanks,
rodchar
 
G

Guest

rodchar said:
hey all,
how would i set my DIV width equal to the width of the browser window using
javascript? This should be set even when the browser is resized.

thanks,
rodchar

A block element fills up the width of the page by default. What have you
done to it so that you would have to recreate this behaviour using script?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top