View Single Post
Old 03-17-2011, 08:52 AM   #5
DMSmillie
Enquiring Mind
DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'DMSmillie understands when you whisper 'The dog barks at midnight.'
 
DMSmillie's Avatar
 
Posts: 562
Karma: 42350
Join Date: Aug 2010
Location: London, UK
Device: Kindle 3 (WiFi)
As far as I can tell, what you want isn't really float:right, since that is intended to enable something else to sit alongside the "virtual box" containing the paragraph, and if necessary wrap around it, and that clearly isn't what you intend. What you really want is for those two lines of text to have a substantially larger left margin than the text which follows.

I'd suggest something along the lines of placing those two lines inside a DIV which has something like a 60% left margin, or just setting that margin on the paragraphs themselves.

The way you're coding the floating paragraphs at the moment, they probably are technically "floating", but you're also specifying they should have zero left and right margins, and cancelling the float immediately after them, so the resulting appearance is identical to not having the float in the first place.
DMSmillie is offline   Reply With Quote