View Full Version : Customize DIVs for Screen Resolution
Abbster22
01-10-2010, 06:06 AM
Right now, I have my DIVs on my site customized with pixels for my margins. I was wondering if there was a way for me to customize the DIVs on my website using CSS so that it fits any screen resolution along with the images on the home page. Thank you very much. :)
Here's the website: http://www.clintshipley.com
Use percentages (%). 50% = half the window (at any resolution).
Abbster22
01-10-2010, 03:34 PM
When I put the customized width in percentages, I know I can make them specify in different browsers. Will this also work with the picture tags that I have in HTML and the slideshow that I have in Flash on the homepage?
Also, the resolution that I have it at is 1280 X 800 and it works great on my computer. How would I put the percentages in there without messing the pixels?
I don't get what you mean - % will work with every browser, on every computer. 100% = fill screen, 90% = 90% of the screen... etc... It will not work for your flash slideshow (although I'm pretty sure I'm wrong).
Take a look at the source of: http://unlinkthis.net/examples/percent.html
It uses %, when you re-size the window, everything shrinks with it.
Abbster22
01-10-2010, 04:07 PM
I'm sorry. What I mean is, right now I have my DIVs and images set to a certain size in pixels (which fits the screen resolution of 1280 X 800). I wanted to see an example from my CSS/HTML how I could incorporate my pixel settings with my DIVs, images and slideshow for the 1280 X 800 screen resolution and use the percentages to make everything fit the screen better on other resolutions. If this confuses you, don't hesitate to post again and I'm sorry.
Hmm... I really don't know =/. Try and wait for someone else to respond - but your site looks pretty good when at a small res.
Abbster22
01-10-2010, 04:12 PM
It's alright and thank you very much for your help. :) I will definitely try and work with the percentages and see if I can make that work somehow. When I see the site on a bigger resolution, it seems so small and some of the links don't show because of the background.
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.