...

View Full Version : problem with the css , help please



crazy.works
07-12-2008, 08:27 PM
hello

i was working on design new style for games script called onarcade
and i want to stretch it , i mean i want to make the script width full screen

in the script one css file and i had a try with it but i failed
so u can download the script from here

http://www.***********/download/14849983ecd99b03/

and here is example for the script with the original width
http://games.s11w.com/

and here is other example for the script after stretch it and after making the width full screen
http://qss.bdr130.net/

so help me please and thanks every body

ratareina
07-14-2008, 06:47 AM
to make it full screen width, set your wrap div's width to 100%. the wrap div is a div surrounding your entire body code. Depending on how your code is written and positioned, you could have more problems after doing this, but anyway its the first step. here's an examples of how this could work:

if #wrap="800px",
and there is a div inside the wrap that is floated on the right, it will float at the right edge of that 800px.

once #wrap="100%",
the div floated on the right will float on the right of the browser window, no matter what the window's size.

I think everything I said is correct, but I'm not very advanced at this, hope I helped a bit.

effpeetee
07-14-2008, 01:00 PM
Generally speaking, ems or %ages are better for sizing. They are much more tolerant of screen resizing.

Have a look at this. (http://nopeople.com/CSS/background_image_resize/)

Frank



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum