CSS noob?
CSS noob?
Out of context: Reply #1
- Started
- Last post
- 4 Responses
- ok_not_ok0
var win = $(window);
win.resize(function(){
var width = win.width();
var height = win.height();content.css({
left : width / 2 - content.outerWidth() / 2,
top : height / 2 - content.outerHeight() / 2
});}).trigger("resize");