Creative COW SIGN IN :: SPONSORS :: ADVERTISING :: ABOUT US :: CONTACT US
Creative COW's LinkedIn GroupCreative COW's Facebook PageCreative COW on TwitterCreative COW's Google+ PageCreative COW on YouTube
ADOBE DREAMWEAVER:HomeDreamweaver ForumDreamweaver TutorialsFAQAdobe FlashWeb Design

sizing images and/or divs

COW Forums : Adobe Dreamweaver

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Share on Facebook
shawn ricesizing images and/or divs
by on Dec 3, 2010 at 2:36:43 am

Hello Creatives.

I have just launched hilarykrishnan.com.

I am working on a 22" monitor, and it looks great on my system.
However, I have seen it on smaller screens and it does not look carefully composed (Content being significantly narrower than BG image).

The CSS for the divs are:

.nav {
float: left;
width: 33%;
left: 100px;
height: 800px;
background-image: url(images/nav%20bg2.png);
padding-top: 50px;
}
.con {
float: left;
width: 44%;
padding-top: 70px;
}


I am wondering if there is a way to express the width in %, but set a minimum width in pixels, so there is always a bit of text next to the photo on theaboutpage?

Or, is there a way to automatically resize the image if the browser window is below a certain width?

*Also: if you see any other potentially awkward situations with the site, feel free to let me know.

Thanks in advance, community.

--
iamshawnrice.com


Return to posts index
Reply   Like  

Fernando MolRe: sizing images and/or divs
by on Dec 5, 2010 at 2:18:53 am

A trick can be to add an image to your liquid layout. The width will lock on the image as a minimum. Note that this will not work right if you have floating elements.

CSS3 Media Queries will give you the option to assign different CSS depending on the resolution, not just the media. Compatibility is an issue right now, but consider it if your target audience has modern browsers.


Return to posts index
Reply   Like  

shawn riceRe: sizing images and/or divs
by on Dec 6, 2010 at 8:26:22 pm

Excellent.

Thank you very much, Fernando- your help is certainly appreciated.

--
iamshawnrice.com


Return to posts index
Reply   Like  

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
Share on Facebook


FORUMSTUTORIALSMAGAZINESTOCKYARDVIDEOSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

Creative COW LinkedIn Group Creative COW Facebook Page Creative COW on Twitter
© 2013 CreativeCOW.net All rights are reserved. - Privacy Policy

[Top]