dcsimg
A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: [RESOLVED] HHHHHHHHHHTTTTTTTTTMMMMMMMMLLLLLLLLL

  1. #1
    bshchk
    Guest

    resolved [RESOLVED] HHHHHHHHHHTTTTTTTTTMMMMMMMMLLLLLLLLL

    Hi:

    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
    Location
    Chicago, IL
    Posts
    1,539
    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.

    mg3

  3. #3
    Junior Member
    Join Date
    Nov 2000
    Posts
    27
    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
    bshchk
    Guest
    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
    Posts
    265
    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">
    <tr>
    ...

    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:

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

    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:

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

    this way you can realise almost every html layout.

    third possibility:

    using dhtml and layers.


  6. #6
    bshchk
    Guest
    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