Site layout questions


I’ve been noticing great layouts for websites done in photoshop, or other graphics programs, so i decided to try to make one for my self, but it came out to be like 300kb :frowning:

When people have these intricate layouts, is every button a different image?
Is the ‘header’ of the site, a seperate image from the body, and the footer?
how do they keep file size down, so its viewable by all? how do they align all of the seperate images correctly? tables?

Any tips about this?