dcsimg
www.webdeveloper.com
Results 1 to 3 of 3

Thread: remove borders

  1. #1
    Join Date
    Mar 2003
    Posts
    262

    remove borders

    I need remove borders from popup, the code used there was
    <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="javascript:self.focus()">

    Does this css do the same?

    body {margin: 0px;
    }

  2. #2
    Join Date
    Nov 2006
    Location
    Ekenäs, Finland
    Posts
    17
    Pretty much yes.

  3. #3
    Join Date
    May 2005
    Location
    Gold Coast (MS)
    Posts
    2,219
    Remove all that margin stuff from the body tag and just use:

    body {
    margin: 0;
    padding: 0;
    border: 0;
    }

    Or use the Universal Selector at the very top of any CSS:

    * {
    margin: 0;
    padding: 0;
    border: 0;
    }

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles