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 5 of 5
  1. #1
    New to the CF scene
    Join Date
    Sep 2012
    Location
    I'm Dutch
    Posts
    7
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Borders and blocks

    Hi guys,

    Im new and i have a question, ofcourse :P.

    Im trying to put a site together, not for a sertain purpose, just to get html, css, javascript and php (im not jet doing the last two). My site is this: http://lodewijk6.lo.funpic.org/ and I want, to get everything just right and fitting. I have no idea where to post a code, so let me please know

    lodewijk6
    Last edited by lodewijk6; 09-15-2012 at 10:21 AM.

  • #2
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,482
    Thanks
    6
    Thanked 981 Times in 954 Posts
    And what exactly is your HTML/CSS related question now?

  • #3
    New to the CF scene
    Join Date
    Sep 2012
    Location
    I'm Dutch
    Posts
    7
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Ow sorry, was tired yesterday :\.

    How do I get that grey news block higher, so that it wil cover the top of the white box, and my menu is very ugly, so please help my out there. (still dont know where to post the code)

  • #4
    Registered User
    Join Date
    Jun 2011
    Posts
    1,063
    Thanks
    12
    Thanked 241 Times in 240 Posts
    Quote Originally Posted by lodewijk6 View Post
    How do I get that grey news block higher, so that it wil cover the top of the white box
    Code:
    p {
        margin: 0;
    }
    Most tags have default margins and paddings, in this case the <p> tag has a margin of 1em on the top and bottom. Most people like to just reset these:

    Code:
    * {
        margin: 0;
        padding: 0;
    }
    The * selector will apply to all CSS tags. There are many other reset methods: Eric Meyer Reset and HTML5 Doctor, however the * reset is the simplest.

    -----------------------

    Quote Originally Posted by lodewijk6 View Post
    and my menu is very ugly, so please help my out there.
    try using a CSS linear gradient. http://css-tricks.com/css3-gradients/

    -----------------------

    Quote Originally Posted by lodewijk6 View Post
    (still dont know where to post the code)
    You can just post the code in your post. Remember to wrap it in [code][/code] tags:

    [code]
    // Code here
    [/code]

    Code:
    this way {
        it is properly: formatted;
    }
    However, it is preferable to just post a website link so we can see all the files and see the problem at hand. If you post code, just post a small segment of it where you the think the problem occurs along with a website link.
    Last edited by Sammy12; 09-15-2012 at 10:01 AM.

  • Users who have thanked Sammy12 for this post:

    lodewijk6 (09-15-2012)

  • #5
    New to the CF scene
    Join Date
    Sep 2012
    Location
    I'm Dutch
    Posts
    7
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Oke much tnks

    Ill try it, and if it works, i shall put this post on resolved


  •  

    Tags for this Thread

    Posting Permissions

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