3 sep 2011 kl. 18.53 skrev Sandeep D:

Hi,

I used percentage instead of pixels. It worked fine. But i have been
referring the CSS used in facebook website. When i saw its source,
everywhere they have used pixels but not percentage. And we can open
the website in any resolution screen, the site remains as it is. Is
there any script for that? or anything else??

I haven't looked at facebooks css as I'm not that impressed to tell you the truth. But meet the media query:

Responsive Web Design by Ethan Marcotte
http://www.alistapart.com/articles/responsive-web-design/

and check out an example in action:

http://stuffandnonsense.co.uk/projects/320andup/

/MiB




--
--
You received this because you are subscribed to the "Design the Web with CSS" 
at Google groups.
To post: css-design@googlegroups.com
To unsubscribe: css-design-unsubscr...@googlegroups.com

Reply via email to