html - Width of website to 740px in facebook app, and 960px for normal site, but centered in browser -


i doing new app facebook displayed in iframe.

entire body of site made @ 100% width, facebook app can displayed within 760px.. design of site not looking in 1280px width @ 100%.

so, use 960px in actual site , 740px in app

i tried following code set 740px or 960px, there way set @ 960px , resize in between 960px - 740px or less per browser size?

body {   color: #000000;   font-family: "lucida grande", tahoma, verdana, arial, sans-serif;   font-size: 12px;   width: 740px;   border-left: 1px dashed #69c;   border-right: 1px dashed #69c;   padding: 0px 5px 0px 5px;   margin: 0px auto; } 

thanks!

you have set 740px time (iframe or no)

what want is:

body {   max-width: 960px;   margin: 0px auto; } 

Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -