Solved

CSS / DIV issue

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

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

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 describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
In this tutorial viewers will learn how to customize the background color and font color of highlighted text using the ::selection element in CSS Begin by defining the selected text as an element in CSS by typing "::selection": Style the ::selection…
Suggested Courses

630 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