Reputation: 4212
I'm trying to put the black Google menu on my website. So far I succeeded in making an exact replica of this menu. However there is one thing I can't seem to figure out: If you look at the menu (LINK) you will see the ul has a padding(or margin) from the left. If you then make your browser window smaller or bigger, this padding/margin seems to change. This happens in all browsers. I first thought they are doing something with percentages, but that's not the case.
Can someone please tell me what this padding/margin is based up on?
Upvotes: 0
Views: 108
Reputation: 366
I think that what you are looking for are CSS3's @media queries. http://css-tricks.com/css-media-queries/
Upvotes: 1