06-07-2014, 07:08 AM | #1 |
Member
Posts: 86
Karma: 12586
Join Date: Nov 2012
Device: Ipad and Kindle Fire
|
Rogue Space appearing above floating divs
I have placed two images with captions within two div tags, floated side by side. I have placed them within a wrapper div, and cleared them with another div underneath. Everything works fine, except for some reason, when the images appear on a page on their own, they are stuck halfway down the page, instead of where I want them at the top. When the floated images appear under text on the same page, the vertical spacing is normal. It must be something to do with the vertical alignment in the parent or something like that - can anyone help?
Last edited by verydeepwater; 06-07-2014 at 07:08 AM. Reason: spelling |
Tags |
css, epub, float div tags, floats and spacing |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Space Captain Smith of the British Space Empire | Kacetwo | Deals and Resources (No Self-Promotion or Affiliate Links) | 4 | 07-02-2012 03:41 AM |
floating by! | euterpe | Introduce Yourself | 4 | 04-01-2012 05:37 PM |
Converting Java Rogue to Rogue for Kindle? | Tanga | Kindle Developer's Corner | 3 | 03-26-2011 07:30 PM |
Pasting creates DIVS but not Paragraphs? | bitterbug | Sigil | 4 | 10-22-2010 12:42 AM |