SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: Dreamweaver 3.0

  1. #1
    ********* Scotland Saltire's Avatar
    Join Date
    Jan 2000
    Location
    Scotland
    Posts
    660
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    In Dreamweaver 3.0 (or any Dreamweaver for that matter) I'm having problems with tables. I want the table to be right up in the corner when I'm designing but it persists in sitting about 1cm below the top and 1cm to the site. Specifying height and width doesn't make and difference! Anyone know?

  2. #2
    Your Lord and Master, Foamy gold trophy Hierophant's Avatar
    Join Date
    Aug 1999
    Location
    Lancaster, Ca. USA
    Posts
    12,305
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    You have to remove the page margins within the body tag. To do so add the following code which works in IE3.0, Netscape 3+ and IE 4+

    In the HEAD segment of your document add:
    <!-- Remove margins for IE 4 and 5 -->
    <style>
    BODY {
    margin-left : 0;
    margin-top : 0;
    }
    </style>

    In your body tag add:
    <BODY TOPMARGIN=0 LEFTMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0>


    Topmargin and leftmargin are for IE 3
    MarginWidth and marginheight are for all versions of Netscape 3 and above. Note that Navigator 5.0 will probably only support the method used by IE4 and higher.

    ------------------
    Wayne Luke
    Internet Media Provider


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
  •