how to: div width = browser.width?

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
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?
 
thanks everyone for the "duh". Please don't let this ruin your image of me.
 

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

Back
Top