Jump to content
Sign in to follow this  
elyons3683

Feature boxes - margin control

Recommended Posts

elyons3683

Which CSS components control the width of the feature content and feature media? I'd like my content box to be a bit wider and the media box a bit more narrow so that I can center my text in the content box without it wrapping. I'm not sure whether I need to alter margins here: #feature .fmedia{ width: 458px; margin-left: 480px; height: 390px; float:right; or here: #feature .fcontent { position: relative; float: left; width: 330px; padding: 20px 80px; z-index: 100; margin: 20px -500px 0px 0px; height: 300px; or somewhere else altogether. THANK YOU! :)

Share this post


Link to post
Share on other sites
jnoh

You found it! Edit the bolded: Shrink the .fmedia width and increase the .fcontent width. #feature .fmedia{ width: 458px; margin-left: 480px; height: 390px; float:right; or here: #feature .fcontent { position: relative; float: left; width: 330px; padding: 20px 80px; z-index: 100; margin: 20px -500px 0px 0px; height: 300px;

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  

×