SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Member
    Join Date
    Feb 2002
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    newbie qn, help for css.

    how can i make the black part strech right to the end.
    To cover 100%?


    Anything, wondering how of you guys are using css to do your layout and throwing away tables for layout?

    Thanxs

  2. #2
    I have an opinion...
    Join Date
    Sep 2001
    Location
    Barrie, Ontario
    Posts
    324
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Throwing away tables?? I personally don't think that is a very good idea at all.

    As for your CSS, there may be a couple things to check:
    Code:
    body		{
    			margin:		0px;
    		}
    And/Or:
    Code:
    span.blackbox	{
    			margin:		0px;
    			width:		100%;
    		}
    There are probably other ways of doing it too...
    Egotist: A person more interested in himself than in me.
    KodeKrash - Eidix - Barrie LUG

  3. #3
    SitePoint Member
    Join Date
    Feb 2002
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    nope did not work.
    The one way i could move that was to set the

    left:0px
    top:0px

    and no matter what i set to padding or margin it did not work.
    And it cannot span across the whole window, even after setting

    width=100%

    Anyone?

  4. #4
    SitePoint Member
    Join Date
    Feb 2002
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey it worked.
    Missread your instructions.

    Only worked if i set it in body.
    Thanxs a billion.

  5. #5
    blonde.... Sarah's Avatar
    Join Date
    Jul 2001
    Location
    Berkshire, UK
    Posts
    7,442
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    sometimes you will still get that blank space because its where the scrollbar sits, so older browsers especially NS you might still get this regardless of what you put in your code.

    Sarah
    Regular user


Bookmarks

Posting Permissions

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