A co použít klasicky* { margin: 0; padding: 0; } div#stredstranky { width: 1000px; height: auto; margin: 0 auto; }