No clue why I can't get this to work - I've tried a million different ways.
Bascially just want to say for #divID take half of the window width, subtract 600px and make that the width.
If the window is less than 1200px wide, then the div width = 0. (Does that need anything special or will width automatically be 0 if the result of the math is negative?)
Bascially just want to say for #divID take half of the window width, subtract 600px and make that the width.
If the window is less than 1200px wide, then the div width = 0. (Does that need anything special or will width automatically be 0 if the result of the math is negative?)