Hack Forums

Full Version: website resolution....
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi I would like someone the tell me how to get around resolutions.

I am thinking to make a javascript check the clients resolution and then changed the css values according what I put for that resolutions.

my website also allows the person to design their own page, this requires me to save the css values which this can mess up the resolutions script.

The reason because my idea fix was to change the css values based on each resolutions so I will make a layout with css for each resolution. I will put the values in. This will cause a mess if the users are allowed to put the css values meaning change the layout to what they want.


So is there any way to make my website scale,resize,reposition css elements based on the clients resolutions?
CSS optimization...
what does that mean?? Is there a better way??


I been trying to figure out a way to make my website to be shown on any display with any resolution without making the website look ulgy.

This includes handhelds, and phones ect.
The easiest way to get around resolutions is with dynamic width and shoot for a min resolution. I like 900px myself as a minimum. If you want fixed width...go for 950px-1000px imho.
well what I want to do is make my website displayed exactly how it's supposed to in many resolutions.

I also want the hand helds and phones to be able to view my website.

the problem I run into is that I allow with a gui type interface that they can drag and drop tables and elements in the webpage and also new elements. They can customize the page how they like it and then save the settings which I grab all elements and save each elements values like height and width and position ect.

now if I were to make a script that would tell how the elements should appear in each resolution it would override the person settings which could make the page look ulgy.


so your talking about css like max height 1020px and min height 500px

like set the max and min of the height width of a element right??
Reference URL's