Results 1 to 6 of 6

Thread: CSS Help.

  1. #1
    Join Date
    Oct 2006
    Location
    Merseyside
    Posts
    2,335
    Tokens
    0

    Latest Awards:

    Default CSS Help.

    Ok, Im new to CSS and have only just started using it but ive kinda got a problem.

    I want my middle content to touch the next bar up as its got a space in the middle. There is no spacing in between it or < br >.

    Ive tryed:
    position: top;
    margin-top: 0px;
    and some other styles.

    Im using this:
    Code:
                    background: url('top_bg.png');
                            height: auto;
                            position: top;
                    margin-top: 0px;
    Another thing is I need it to touch the bottom as well so it expands to the bottom bar. Ive tryed "auto" but that doesn't work but works on other boxes.

    +rep to anyone who can help me.

    Thanks

  2. #2
    Join Date
    Oct 2006
    Location
    Merseyside
    Posts
    2,335
    Tokens
    0

    Latest Awards:

    Default

    Edit:// Sorry I cannot edit my other post. I have fixed the top align. I just need it to strench to the bottom bar now so that it expands when content is there.

  3. #3
    Join Date
    Sep 2006
    Location
    Doncaster, UK
    Posts
    4,081
    Tokens
    0

    Latest Awards:

    Default

    Code:
    margin-bottom: 0px;
    Code:
    height: 100%;
    Try either attribute.
    Quote Originally Posted by Nain View Post
    i voted 'Not Sure' as im, not sure!

  4. #4
    Join Date
    Oct 2006
    Location
    Merseyside
    Posts
    2,335
    Tokens
    0

    Latest Awards:

    Default

    No that doesnt work

  5. #5
    Join Date
    Oct 2006
    Location
    Merseyside
    Posts
    2,335
    Tokens
    0

    Latest Awards:

    Default

    Is there away of making "Padding" auto or something because when i change that it expands but over the whole layout. When i remove it, the image just goes?

    //Again sorry for double post i cannot edit above. Really sorry.

  6. #6
    Join Date
    Oct 2006
    Location
    Merseyside
    Posts
    2,335
    Tokens
    0

    Latest Awards:

    Default

    Basically I want my content bar to touch the bottom but its not work. Im tryed "Height: 100%;" and "margin-botom: 0px;".

Posting Permissions

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