basic div height problem

Discussion in 'HTML' started by Ciaran, May 22, 2007.

  1. Ciaran

    Ciaran Guest

    Anyone know off hand how to make this work?

    <body>
    <div style="background:#000000; height:50%;"></div>
    </body>

    The div heaight doesn't work.
    Cheers,
    CiarĂ¡n
    Ciaran, May 22, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. HJ
    Replies:
    5
    Views:
    826
    Jonathan N. Little
    Sep 1, 2006
  2. Ciaran

    basic div height problem

    Ciaran, May 22, 2007, in forum: HTML
    Replies:
    5
    Views:
    367
    Ciaran
    May 23, 2007
  3. muggslab

    Div Height = Image height. help

    muggslab, Feb 1, 2010, in forum: HTML and CSS
    Replies:
    1
    Views:
    846
    muggslab
    Feb 1, 2010
  4. Don Vaillancourt

    How to tell height of div where height is not set?

    Don Vaillancourt, Jan 28, 2005, in forum: Javascript
    Replies:
    8
    Views:
    129
    Dietmar Meier
    Jan 31, 2005
  5. Replies:
    0
    Views:
    110
Loading...

Share This Page