Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Oct 2012
    Posts
    16
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Blockquote and paragraph columns

    Ok so I have a <p> element of text aligned into two columns using;
    Code:
    .two-col {
    	-moz-column-count: 2;
    	-moz-column-width: 270px;
    	-moz-column-gap: 20px;
    	-webkit-column-count: 2;
    	-webkit-column-gap: 20px;
    	-webkit-column-width: 270px;
    }
    Before this in the html I have a blockquote defined which is then floated to the right so the text wraps around it, which all works good and well without the columns, but when I use the columns the text is isn't where it should be around the blockquote, what I want is the second column to come under the blockquote, here is what I have got at the moment (for some reason the columns seem significantly smaller than 270px here, and when I put it up to 300px they enlarge hugely more than the expected 30px the would go up but anyway..) here

  • #2
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,667
    Thanks
    22
    Thanked 1,827 Times in 1,811 Posts
    Hello harvs899,
    We'll need to see the rest of your code to be of much help.
    Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
    Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •