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?
 
Back
Top