Loading ...
Sorry, an error occurred while loading the content.
 

[NH] Re: Tables & Images

Expand Messages
  • Michael Gerholdt
    Jody et al: Suggestions have been appropriate but not complete.
    Message 1 of 11 , Nov 13, 1999
      Jody et al:

      Suggestions have been appropriate but not complete.

      <TABLE CELLPADDING="0" CELLSPACING="0" BORDER="0">
      <TR><TD><IMG BORDER="0" HSPACE="0" VSPACE="0"--OTHER
      INFO--></TD></TR><TR><TD><IMG BORDER="0"

      What is salient in the above:

      1) cellpadding and cellspacing and border set to 0 in table
      2) border set to 0 in image
      3) hspace and vspace set to 0 in image
      4) no hard returns between <tr> and <td> or <td> and <img ....> or the
      latter and </td> or between </td> and </tr>

      The last is due to buglet stuff in Netscape in which hard return is
      incorrectly interpreted as white space; I don't know if you experiment with
      multiple browsers but you'll see that IE doesn't do the same thing.

      If you want a border in the table set it as you wish and the rest should
      still stand you in good stead.

      If equal spacing around the image instead of none anywhere, see about using
      align="center" and valign="middle" in the <td> tag

      hope this is of help

      Thanks,
      --Michael Gerholdt
    • Jody
      Hi Michael, ... Yes, I knew about that, but only wrap when I need to, because I cannot stand having to wrap my tables and fonts. I find that the only time I
      Message 2 of 11 , Nov 13, 1999
        Hi Michael,

        >What is salient in the above:
        >
        >1) cellpadding and cellspacing and border set to 0 in table
        >2) border set to 0 in image
        >3) hspace and vspace set to 0 in image
        >4) no hard returns between <tr> and <td> or <td> and <img ....> or the
        >latter and </td> or between </td> and </tr>

        Yes, I knew about that, but only wrap when I need to, because I
        cannot stand having to wrap my tables and fonts. I find that the
        only time I need to wrap it for my simple code is when the is a
        link in between whatever I'm doing.

        I also found that Netscape seems to need all its attributes even
        if setting to "0" like you showed in some cases and I found out
        from this thread that IE needs them for certain things I try to
        do. I use to add them all by default just because I saw others
        do it, but in a lot of case they aren't needed. I am going back
        to putting them all in and set to "0" unless I want to use them
        of course.

        Thanks for the info Michael and others.

        I have one last problem that I can see:

        http://www.sureword.com/album/albums/index.htm

        I cannot get the bottom horizontal scrollbar to work in NS. If
        you look at it in IE that is the way I want it with all the
        thumbnails on one line with no wrap unless it reaches 1024 pixels
        which is what I have the width set to. Without it NS only showed
        2.5 thumbnails. ;( I set it to SCROLLING=yes to force it, but I
        only get and inactivated scrollbar which makes sense otherwise NS
        would have built the scrollbar.

        So, anybody got a fix for me?

        http://www.sureword.com/album/albums/index.htm

        Happy HTML'n!
        Jody

        http://www.sureword.com/notetab

        The NoteTab and Html List...
        mailto:Ntb-html-Subscribe@...
        mailto:Ntb-html-UnSubscribe@...
      • Michael Gerholdt
        Maybe it s this: you are limiting the width of your table here to screen size. IE is disobeying you, but NN is being obedient! So it is IE
        Message 3 of 11 , Nov 13, 1999
          Maybe it's this:

          <TABLE WIDTH="100%">

          you are limiting the width of your table here to screen size. IE is
          disobeying you, but NN is being obedient! So it is IE you should be unhappy
          with!

          let me know if this guess is correct . . .

          Thanks,
          --Michael Gerholdt
          ----- Original Message -----
          From: Jody <KJB1611@...>
          To: <ntb-html@egroups.com>
          Sent: Saturday, November 13, 1999 8:02 PM
          Subject: [NH] Re: Tables & Images


          > Hi Michael,
          >
          > >What is salient in the above:
          > >
          > >1) cellpadding and cellspacing and border set to 0 in table
          > >2) border set to 0 in image
          > >3) hspace and vspace set to 0 in image
          > >4) no hard returns between <tr> and <td> or <td> and <img ....> or the
          > >latter and </td> or between </td> and </tr>
          >
          > Yes, I knew about that, but only wrap when I need to, because I
          > cannot stand having to wrap my tables and fonts. I find that the
          > only time I need to wrap it for my simple code is when the is a
          > link in between whatever I'm doing.
          >
          > I also found that Netscape seems to need all its attributes even
          > if setting to "0" like you showed in some cases and I found out
          > from this thread that IE needs them for certain things I try to
          > do. I use to add them all by default just because I saw others
          > do it, but in a lot of case they aren't needed. I am going back
          > to putting them all in and set to "0" unless I want to use them
          > of course.
          >
          > Thanks for the info Michael and others.
          >
          > I have one last problem that I can see:
          >
          > http://www.sureword.com/album/albums/index.htm
          >
          > I cannot get the bottom horizontal scrollbar to work in NS. If
          > you look at it in IE that is the way I want it with all the
          > thumbnails on one line with no wrap unless it reaches 1024 pixels
          > which is what I have the width set to. Without it NS only showed
          > 2.5 thumbnails. ;( I set it to SCROLLING=yes to force it, but I
          > only get and inactivated scrollbar which makes sense otherwise NS
          > would have built the scrollbar.
          >
          > So, anybody got a fix for me?
          >
          > http://www.sureword.com/album/albums/index.htm
          >
          > Happy HTML'n!
          > Jody
          >
          > http://www.sureword.com/notetab
          >
          > The NoteTab and Html List...
          > mailto:Ntb-html-Subscribe@...
          > mailto:Ntb-html-UnSubscribe@...
          >
          >
          >
          > ------------------------------------------------------------------------
          > In the market for computer hardware or software? Compare prices on
          > more that 100,000 products at CNET.com. Get all the latest news,
          > reviews and prices! http://clickhere.egroups.com/click/1611
          >
          >
          >
          >
          >
          > -- Create a poll/survey for your group!
          > -- http://www.egroups.com/vote?listname=ntb-html&m=1
          >
          >
        • Jody
          Hi Michael, ... OH, I did change it to that - forgot about it till you reminded me. ... OK, I understand that since I have 1500 pixels plus a few with 10
          Message 4 of 11 , Nov 13, 1999
            Hi Michael,

            > <TABLE WIDTH="100%">

            OH, I did change it to that - forgot about it till you reminded me.

            > you are limiting the width of your table here to screen size.
            > IE is disobeying you, but NN is being obedient! So it is IE you
            > should be unhappy with!

            OK, I understand that since I have 1500 pixels plus a few with 10
            thumbnails at WIDTH=150. Still, I would think I should have got
            a scrollbar and then it wrap at 1024. It is wrapped in a table -
            uh - why -uh - I don't know - haha. OK I was using the table
            before to limit the width to 150*4+15 so the t-nails would wrap
            at that point.

            I am going to try taking the table out and use a couple of
            &;bns$%&* haha spaces in between the. I suspect the table is
            hosing it. ARGH!!!

            Thanks for your trying to help; works fine without the table.

            Looks like eGroups is picking up its speed again - it has been
            really lagged and so has att. Perhaps there are some major
            backbones down in a fiber cut or...

            Happy HTML'n!
            Jody

            http://www.sureword.com/notetab

            The NoteTab and Html List...
            mailto:Ntb-html-Subscribe@...
            mailto:Ntb-html-UnSubscribe@...
          • Jody
            Hi All, Here is the relevant part of the post from Mark:
            Message 5 of 11 , Feb 18, 2000
              Hi All,

              Here is the relevant part of the post from Mark:

              <TABLE BORDER=5 CELLPADDING=1 CELLSPACING=1 BGCOLOR=#000000
              BORDERCOLORDARK=#FFCC00 BORDERCOLORLIGHT=#FF9933>
              <TR><TD>
              <TABLE BORDER=1 BGCOLOR=#000000 BORDERCOLOR=#FF9933>
              <TR><TD>
              <TABLE BORDER=1 BGCOLOR=#000000 BORDERCOLOR=#FF9900>
              <TR><TD>
              <TABLE BORDER=1 BGCOLOR=#000000 BORDERCOLOR=#FF9933>
              <TR><TD>
              <IMG SRC="foo.gif" ALIGN=LEFT VSPACE=0 HSPACE=0>
              </TABLE>
              </TABLE>
              </TABLE>
              </TABLE>
              <P>

              btw, when coding "HTML for speed" (I wrote an HTML server for an embedded
              piece of hardware) it's a neat trick to be able to drop the closing tags
              </TR> and </TD>. It saves a good amount of time/bandwidth when you really
              need to. :)

              IE and NS are both okay with this. In fact, IE will let you drop /TABLE,
              /BODY and /HTML as well.

              And... if you're pushing fonts within table data elements, you can drop
              *all* of the closing tags like /FONT, /B, /U, etc...

              Have fun!

              Mark

              Happy HTML'n!
              Jody

              http://www.sureword.com/notetab

              The NoteTab and Html List...
              mailto:Ntb-html-Subscribe@...
              mailto:Ntb-html-UnSubscribe@...
            Your message has been successfully submitted and would be delivered to recipients shortly.