A Flash Developer Resource Site

Results 1 to 6 of 6


  1. #1



    Could someone please explain how to get a table to be flush to the top left of the broswer? In Dreamweaver I insert a table and test it in IE 5 and there is a space to the top and left. Can this be fixed? Help...

  2. #2
    Senior Member mg33's Avatar
    Join Date
    Jun 2000
    Chicago, IL
    I think I have an answer for this, I just don't have it with me. (I'm at work)

    Changing the margin attributes on the page will likely get rid of the border. What you're referring to is an automatic border that IE puts around anything on the page, and there's a way to set the margins to get rid of the border.
    I've got it at home, it's very easy, I just can't remember what it should be.

    Check back later and it should be here.


  3. #3
    Junior Member
    Join Date
    Nov 2000
    In one of the Dreamweaver menus (I forgot which one) you'll find Page Properties -- that's where you can set the top and left margins to zero.

  4. #4
    Thanks so much. I got it figured out.

    What I can't figure out now is how to make a table row less than 13 pixels high. It seems that no matter how much I set the hight to 6 pixels, it will go to the cursor height. I want to make a thin cell of 6 pixels like a bar across the top that seperates two other cells. Thanks.!!!!

  5. #5
    Senior Member
    Join Date
    Nov 2000
    well, problem's solved...

    but be careful :

    the following htm source sets the table and content to
    the top left border without table borders:

    <body topmargin="0" leftmargin="0">
    <table cellpadding="0" cellspacing="0" border="0">

    this only works in IE !

    netscape has a browser offset of 1 pixel from left and top
    except for background graphics defined in <BODY BGCOLOR="#ffffff" TEXT="#000000" marginheight=0 marginwidth=0 topmargin=0 leftmargin=0 rightmargin=0 id=all>.

    the cel height depends on the content and on the maximun
    height of cells in this row (<tr></tr>).

    this code produces a row 6 px high:

    <td height="6"></td>

    notice that there is nothing in the cell. this isn't good
    html , but as soon as you put a in the cell
    is get 13px high.

    working with transparent gifs is another posibility:

    <td><img src="trans.gif" height="6" width="1"></td>

    this way you can realise almost every html layout.

    third possibility:

    using dhtml and layers.

  6. #6
    Thanks!! I got it all figured out with transparent gifs. You guys rule!!

Posting Permissions

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

Click Here to Expand Forum to Full Width

HTML5 Development Center