Solved

CSS / DIV issue

Posted on 2010-08-27
3
335 Views
Last Modified: 2012-05-10
I'm having some DIV issues with my CSS. Please help.

Here's an example of what my page is supposed to look like: http://thinkingdavis.com/review/NFFR/index.html
Note the 3 green boxes across the bottom -- each is a DIV with a background image and a DIV with text floating above it.

Now look at this page: http://thinkingdavis.com/review/NFFR-CMS/index.php
This version incorporates some changes I had to make to get my CMS to work. I needed to change each of those green boxes so that there's an image placed in the DIV (rather than utilizing a background image), then the DIV with text floating above that. This is where my stacking is messing up -- see attached screen shots.

Any help is greatly appreciated. This is what the 3 green boxes are supposed to look like. This is my latest file. Note the DIV with the text is breaking.
0
Comment
Question by:PitaMaria
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
3 Comments
 
LVL 10

Expert Comment

by:NetExpert-Warszawa
ID: 33548504
First of all, you do not want position absolute for featureBoxes
0
 
LVL 10

Expert Comment

by:NetExpert-Warszawa
ID: 33548521
Next, you have changed align="right" to style="float: right" for div containing boxes 2 and 3. Align is not nice, but this is what you have got in the original design.
0
 
LVL 10

Accepted Solution

by:
NetExpert-Warszawa earned 250 total points
ID: 33548534
The last thing, make images absolute positioned (it made much more sense for them to be a background).
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

When writing CSS, there are a few simple rules that will make your life easier.    1. Using ‘* {box-sizing:border-box;}’. Using this will wrap all your elements in a nice little compact box-model that will give you the width you want, like so... …
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how to define a gradient in CSS. Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Gradient. Define the background as "linear-gradient(to right, #ee3668, black)". Ensure you …
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question