View Full Version : width: 100% on <li>'s to resize with browser

Nov 5th, 2010, 01:17 AM
Hi guys,

I'm using this jquery script here: http://www.jeremymartin.name/projects.php?project=kwicks

specifically example 4, to build my folio website: http://crosswebdesigns.net/display/2010/tonyworks/

Divs with width: 100%, resize when you resize the browser, but when applied to the <li>'s which makes up the structure of this jquery script, it only does it upon refresh.

So if a user goes full screen after the page loads, my contents will not be centered and the .png applied to the background of the width: 100% <li>'s will not reach the edges of the display area.

The only fix I can think of right now is: http://stackoverflow.com/questions/1833816/how-to-refresh-page-on-resize

Is there a better solution? Thanks