SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: DIV Not visible

  1. #1
    SitePoint Enthusiast
    Join Date
    Sep 2006
    Posts
    62
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    DIV Not visible

    i have thi sproblem: <div style="padding:0px;margin:0px;border-left:3px solid #FF0000;"><div style="float:left>test1</div><div style="float:left>test2</div><div style="clear:both;margin:0px;padding:0px;width:0px;border:0px;"><span></span></div>. The border of the first div isn't visible

    why?

  2. #2
    I meant that to happen silver trophybronze trophy Raffles's Avatar
    Join Date
    Sep 2005
    Location
    Tanzania
    Posts
    4,662
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    By the way, you're missing the closing " after both the float:left.


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
  •