Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 9 of 9
  1. #1
    New Coder
    Join Date
    Nov 2002
    Posts
    47
    Thanks
    0
    Thanked 0 Times in 0 Posts

    bottom margin 0 not working in firebird

    Sorry if this has been answered before, I searched but with no luck. Anyway I want my table to render all the way to the bottom of the page. I did this using a 100% table height and a bottommargin="0". It renders to the bottom in IE but not in firebird. Annyone know how I can fix this?
    Here is the code:

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <title>Liquid Systems Inc.</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <style type="text/css">
    <!--
    a {color:#666666; text-decoration:none}
    a:hover {color:#EB8D1C; text-decoration:underlined}
    body {SCROLLBAR-FACE-COLOR:#C4C4C4;
    SCROLLBAR-HIGHLIGHT-COLOR:#D3D2D2; SCROLLBAR-SHADOW-COLOR:#666666;
    SCROLLBAR-3DLIGHT-COLOR:#C4C4C4; SCROLLBAR-ARROW-COLOR:#506A78;
    SCROLLBAR-TRACK-COLOR:#C4C4C4; SCROLLBAR-DARKSHADOW-COLOR:#C4C4C4;}
    -->
    </style>
    </head>

    <body bgcolor="#C4C4C4" topmargin="0" bottommargin="0">
    <div align="center">
    <table width="494" height="100%" border="0" cellpadding="0" cellspacing="0">
    <tr>
    <td width="16" rowspan="3" valign="top" background="images/left_border.jpg">&nbsp;</td>
    <td width="462" height="128" valign="top" bgcolor="#FFFFFF"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="460" height="210" hspace="1" align="absmiddle">
    <param name="movie" value="main.swf">
    <param name="quality" value="high">
    <embed src="main.swf" width="460" height="210" hspace="1" align="absmiddle" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed></object></td>
    <td width="16" rowspan="3" valign="top" background="images/right_border.jpg">&nbsp;</td>
    </tr>
    <tr>
    <td height="269" valign="top" bgcolor="#FFFFFF"> <iframe name="content" src="news.htm" height="350" width="448" scrolling="auto" frameborder="0">
    </iframe> </td>
    </tr>
    <tr>
    <td align="center" valign="bottom" bgcolor="#FFFFFF"><font color="#898989" size="1" face="Verdana, Arial, Helvetica, sans-serif"><a href="news.htm" target="content">news</a>
    | <a href="about.htm" target="content">about</a> | <a href="services.htm" target="content">services</a> | <a href="contact.htm" target="content">contact</a>
    | <a href="legal.htm" target="content">legal information</a></font></td>
    </tr>
    </table>
    </div>
    </body>
    </html>

    Thanks in advance.

  • #2
    Senior Coder coothead's Avatar
    Join Date
    Jan 2004
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    1,708
    Thanks
    0
    Thanked 237 Times in 232 Posts
    hi there nick_a,

    Try adding this to your style sheet...

    div{ height:100% }

    cthead

  • #3
    New Coder
    Join Date
    Nov 2002
    Posts
    47
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Im using tables though?... Im a little confused. I can post a jpeg of what is happening if needed. Thanks

  • #4
    Moderator
    Join Date
    May 2002
    Location
    Hayward, CA
    Posts
    1,461
    Thanks
    1
    Thanked 23 Times in 21 Posts
    Is it working in Mozilla App Suite? Remember, Firefox (yes, they changed the name again) 0.8 is "not ready for production use".

    If Mozilla shows the same bug, then tools like DOM Inspector can help you see what's going on.
    "The first step to confirming there is a bug in someone else's work is confirming there are no bugs in your own."
    June 30, 2001
    author, Verbosio prototype XML Editor
    author, JavaScript Developer's Dictionary
    https://alexvincent.us/blog

  • #5
    New Coder
    Join Date
    Nov 2002
    Posts
    47
    Thanks
    0
    Thanked 0 Times in 0 Posts
    hmm.. I dont have mozilla. Ill download it and test it out. If I have the same problem Ill reply.
    thanks.

  • #6
    New Coder
    Join Date
    Nov 2002
    Posts
    47
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Originally posted by nick_a
    hmm.. I dont have mozilla, I assumed that they would have the same core browser rendering characteristics. I guess thats why you dont assume. Ill download it and test it out. If I have the same problem Ill reply.
    thanks.

  • #7
    New Coder
    Join Date
    Nov 2002
    Posts
    47
    Thanks
    0
    Thanked 0 Times in 0 Posts
    oops hit quote instead of edit... sorry

  • #8
    Senior Coder coothead's Avatar
    Join Date
    Jan 2004
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    1,708
    Thanks
    0
    Thanked 237 Times in 232 Posts
    Hi there nick_a,
    Im using tables though?... Im a little confused. I can post a jpeg of what is happening if needed. Thanks
    Yes, but your table is contained within a div
    Adding this to your style sheet...

    div{ height:100% }

    ...renders the page as you require in....
    IE6.0, Firefox 0.8, Netscape 7.0, Mozilla 1.5 and Opera 7.0

    cthead

  • #9
    New Coder
    Join Date
    Nov 2002
    Posts
    47
    Thanks
    0
    Thanked 0 Times in 0 Posts
    ooohhh yea.... thanks a bunch.


  •  

    Posting Permissions

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