I am trying to re-do a design on one of my sites to try and learn CSS better. Basically I am learning by reading a textbook/trial and error in addition to looking at CSS code on various sites.
Right now I am trying to insert a banner(image) into a div but it seems to be floating on top of everything and not sitting inside of the div. If I add a specific height to the div, it drops into place, but not all div’s are going to be the same height.
For an example, please view http://www.funny-pranks.net/new/ .
Any suggestions?
Similar:
- CSS positioning (margin / padding) with markup constraint Hi all, I have two sibling divs sitting below each other, both contained in the same parent div. The requirement is that the divs need...
- Inherit div height Ok, here’s my issue. I’m working on a site that uses divs. I absolutely hate divs, but that’s what was requested for this project. The...
- Div position problem Hello all I am having a problem with my layout, I have two columns which consist of a left div with a slider and content...
- Adding custom images to Drupal’s Calendar view I am trying to add custom images into Drupal’s calendar view by checking ‘nid’ of a node (or taxonomy term in future). I am writing...
- aligning divs with CSS I have a few divs inside a div. <div class="outside"> <div class="inside"></div> <div class="inside></div> </div> I want to align the inner divs at bottom middle...
Tags: banner image, css code, div, funny pranks, inserting images, textbook, trial and error