Solved

CSS / DIV issue

Posted on 2010-08-27
3
331 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
  • 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

Technology Partners: 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

Introduction A frequently asked question goes something like this:  "I am running a long process in the background and I want to alert my client when the process finishes.  How can I send a message to the browser?"  Unfortunately, the short answer …
CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
In this tutorial viewers will learn how to style rounded corners for elements in CSS using the border-radius property Begin with a normal styled element such as a div: To style all four corners of the div to be the same degree of roundness, use the …
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

685 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