Jump to content
Sign in to follow this  
katiepoo

CSS for images in boxes

Recommended Posts

katiepoo

Can someone please look at the css for boxes toward the bottom of this page http://nvsthrives.modwest.com/blog/ and tell me what I am doing wrong? I want the images to be all be resized to 200 X 100 in each box, with a border of 5px all around and centered. I have the box icon size in box settings to 200 and nothing seems to be accepting my code! #feature .fboxes .fbox { background: #f7f7f7; } #boxes h3 { font-size: 1.7em; padding: 0 0 2px; text-align: center; } #boxes .dcol-pad { background: #F7F7F7; padding: 2px 15px 5px 15px; text-align: justify; } #boxes .dcol_3 { margin-right: 13px; margin-left: 2px; margin-bottom: 5px; width: 306px; } .fboxes p { margin-bottom: -7px; } #boxes .top_thumbs .fboxgraphic { margin-bottom: 5px; margin-top: 12px; border-style:solid; border-width:5px; width: 200px; height:100px; } .dcol_container_3 { width: 980px; float: none; } I apologize for not being the most savvy CSSer in the world, but even with firebug I cant figure it out!

Share this post


Link to post
Share on other sites
catrina
In this code you're adjusting the size of the DIV layer where the graphic/icon is located, not the size of the icon itself: [code]#boxes .top_thumbs .fboxgraphic { margin-bottom: 5px; margin-top: 12px; border-style:solid; border-width:5px; width: 200px; height:100px; }[/code] You need to change [b].fboxgraphic[/b] to [b].fboxgraphic img[/b] (the "img" property adjusts the graphic).

Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×