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 3 of 3
  1. #1
    New Coder
    Join Date
    Jul 2009
    Posts
    78
    Thanks
    2
    Thanked 0 Times in 0 Posts

    What is causing my paragraphs to squish?

    http://nineraven.com.au/profile/

    I am building this website in Wordpress, but I think there is something in the original theme's CSS that is removing the normal gap between the paragraphs <p> </p> etc. I can't seem to get that 1 line gap for neat formatting using <p> or even <br /><br /> which is not even correct html.

    Can anyone identify it?

    Also, how hard is it to use CSS to make the corners of the white box for the content to have rounded corners? I've seen this with CSS before I think. Does anyone know a link to a tutorial or could they give advice?


    Thanks kindly.

  • #2
    Senior Coder
    Join Date
    Feb 2009
    Location
    Ilkley, West Yorkshire, UK
    Posts
    2,956
    Thanks
    9
    Thanked 727 Times in 721 Posts
    The default (bottom) margin on your paragraphs is being set to 0 by style.css line 13:

    Code:
    * {
    margin:0;
    padding:0;
    }
    Rounded corners with css is supported by Chrome/FF3/Opera10/Safari3: http://www.the-art-of-web.com/css/border-radius/ but not IE. There are more complex ways of doing rounded corners with css that will work in IE - Google css rounded corners for a multiplicity of info...

  • #3
    Regular Coder
    Join Date
    Aug 2005
    Location
    MS
    Posts
    841
    Thanks
    11
    Thanked 79 Times in 77 Posts
    Last edited by Major Payne; 06-15-2010 at 05:26 AM.
    ☠ ☠RON☠ ☠


  •  

    Posting Permissions

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