Beginer <TABLE BORDER="1"> Question..?

Discussion in 'HTML' started by Robert Bralic, Nov 29, 2013.

  1. Dear Gentelmans,

    How to make a borders for cels that are empty...
    When I writte a <Table border="1"> tag, the borders
    for cels that are empty is not showd..

    Thanks in advance, Robert..;)
    Robert Bralic, Nov 29, 2013
    #1
    1. Advertising

  2. 2013-11-29 8:33, Robert Bralic kirjoitti:

    > How to make a borders for cels that are empty...
    > When I writte a <Table border="1"> tag, the borders
    > for cels that are empty is not showd..


    Short answer: Put useful content in the cell. In most cases, this is easy.

    Failing that, put useless content there: <td>&nbsp;</td>. If this makes
    the cell too big, then (you have an odd table, and) put an <img> element
    there, referring to a single-pixel transparent GIF.

    Long answer: http://www.cs.tut.fi/~jkorpela/html/emptycells.html

    But is this really a problem? I think IE 7 is (was) the last browser
    that does not draw borders around empty cells. People who use IE 7 or
    older (probably about 2% of your visitor) cannot expect visually good
    browsing experience anyway, and some missing borders shouldn't be a big
    issue.

    --
    Yucca, http://www.cs.tut.fi/~jkorpela/
    Jukka K. Korpela, Nov 29, 2013
    #2
    1. Advertising

  3. Robert Bralic

    se Guest

    "Robert Bralic" <-com.hr> skrev i meddelelsen
    news:l79cgj$dqq$-com.hr...
    > Dear Gentelmans,
    >
    > How to make a borders for cels that are empty...
    > When I writte a <Table border="1"> tag, the borders
    > for cels that are empty is not showd..
    >
    > Thanks in advance, Robert..;)
    >


    Have you tried using a unit on the border-width "1" like so 1px
    Try this: <table style="border: 1px black solid;">
    Or if not black then another border-color.
    se, Nov 29, 2013
    #3
  4. "se" <> wrote in message news:l79l0m$rja$...
    >
    > "Robert Bralic" <-com.hr> skrev i meddelelsen
    > news:l79cgj$dqq$-com.hr...
    >> Dear Gentelmans,
    >>
    >> How to make a borders for cels that are empty...
    >> When I writte a <Table border="1"> tag, the borders
    >> for cels that are empty is not showd..
    >>
    >> Thanks in advance, Robert..;)
    >>

    >
    > Have you tried using a unit on the border-width "1" like so 1px
    > Try this: <table style="border: 1px black solid;">
    > Or if not black then another border-color.


    Thank you very much, but this makes a frame around table,
    not in cells...
    If you know ..?..;)

    Thanks Robert..;)
    Robert Bralic, Nov 29, 2013
    #4
  5. Robert Bralic

    se Guest

    "Robert Bralic" <-com.hr> skrev i meddelelsen
    news:l79qo1$mp1$-com.hr...
    >
    > "se" <> wrote in message news:l79l0m$rja$...
    >>
    >> "Robert Bralic" <-com.hr> skrev i meddelelsen
    >> news:l79cgj$dqq$-com.hr...
    >>> Dear Gentelmans,
    >>>
    >>> How to make a borders for cels that are empty...
    >>> When I writte a <Table border="1"> tag, the borders
    >>> for cels that are empty is not showd..
    >>>
    >>> Thanks in advance, Robert..;)
    >>>

    >>
    >> Have you tried using a unit on the border-width "1" like so 1px
    >> Try this: <table style="border: 1px black solid;">
    >> Or if not black then another border-color.

    >
    > Thank you very much, but this makes a frame around table,
    > not in cells...
    > If you know ..?..;)
    >
    > Thanks Robert..;)


    Well,
    Then set the borders on the cells
    <table id="table1">
    <tr>
    <td style="border: 1px black solid; border-collapse:collapse;" >....</td>
    <td style="border: 1px black solid; border-collapse:collapse">....</td>
    </tr>
    </table>

    But instead of all this, place this in your documents head:

    <style type="text/css">
    #table1 td {border: 1px black solid; border-collapse:collapse;}
    </style>

    Now you don't need to have it in any of the table td 's.
    Use www.w3schools.com learning webdesign.
    se, Nov 29, 2013
    #5
  6. 2013-11-29 13:45, se wrote:

    > Then set the borders on the cells
    > <table id="table1">
    > <tr>
    > <td style="border: 1px black solid; border-collapse:collapse;" >....</td>
    > <td style="border: 1px black solid; border-collapse:collapse">....</td>
    > </tr>
    > </table>


    The issue was that empty cells do not have borders (in some ancient
    browsers, really), and the above does not help with that.

    > But instead of all this, place this in your documents head:
    >
    > <style type="text/css">
    > #table1 td {border: 1px black solid; border-collapse:collapse;}
    > </style>


    The border-collapse property does not affect a td element. Did you
    actually test your advice before posting it=

    > Use www.w3schools.com learning webdesign.


    That's probably the worst site to learn web design; see
    http://www.w3fools.com

    Note that correct answers to the problem have already been posted.

    --
    Yucca, http://www.cs.tut.fi/~jkorpela/
    Jukka K. Korpela, Nov 29, 2013
    #6
  7. Robert Bralic

    se Guest

    "Robert Bralic" <-com.hr> skrev i meddelelsen
    news:l79qo1$mp1$-com.hr...
    >
    > "se" <> wrote in message news:l79l0m$rja$...
    >>
    >> "Robert Bralic" <-com.hr> skrev i meddelelsen
    >> news:l79cgj$dqq$-com.hr...
    >>> Dear Gentelmans,
    >>>
    >>> How to make a borders for cels that are empty...
    >>> When I writte a <Table border="1"> tag, the borders
    >>> for cels that are empty is not showd..
    >>>
    >>> Thanks in advance, Robert..;)
    >>>

    >>
    >> Have you tried using a unit on the border-width "1" like so 1px
    >> Try this: <table style="border: 1px black solid;">
    >> Or if not black then another border-color.

    >
    > Thank you very much, but this makes a frame around table,
    > not in cells...
    > If you know ..?..;)
    >
    > Thanks Robert..;)


    border-collapse: collapse;
    Does not work on cells. I just copied this string from a table into the
    cells,
    and was not attentive.
    The collapse rule is used to collapse ajacent table-borders.
    If you want border-collapsing on ajacent cells, cell-border-widths
    must be ruled differently on them (one having value 0, the other
    having a value). These rules can be written in different ways.

    It is a safe-guard to append "border: 1" with a unit for the width.
    And to write it in full as: border: 1px black solid;

    I recommend anyone learning webdesign from www.w3schools.com

    /se
    se, Nov 29, 2013
    #7
  8. Robert Bralic

    se Guest

    "Beauregard T. Shagnasty" <> skrev i meddelelsen
    news:l7ah7r$ftr$...
    > se wrote:
    >
    >> I recommend anyone learning webdesign from www .w3schools .com

    >
    > You shouldn't. Unless ... to your competitors. <lorf!>



    Se on jigsaw.validator what your -competitor / w3fools.com - kan do for you.
    They have it in the mouth - a kind of "lorf".
    Their domain-name "w3fools.com" matching their writings,
    reminds me of the technique used by a handfull of participators
    here on this forum, and on the comp.lang.javascript forum.
    No suprise, if Jukka and Pointed Ears could be found on the
    list at www.w3fools.com
    http://jigsaw.w3.org/css-validator/...usermedium=all&warning=1&vextwarning=&lang=en


    >
    > http://www.w3fools.com/
    >
    > --
    > -bts
    > -This space for rent, but the price is high
    se, Nov 29, 2013
    #8
  9. se wrote:

    > It is a safe-guard to append "border: 1" with a unit for the width.


    It is not a safe-guard, but required, if I'm not mistaken.

    > And to write it in full as: border: 1px black solid;
    >
    > I recommend anyone learning webdesign from www.w3schools.com


    E.g. <http://w3schools.com/css/css_border.asp>:

    | The border-width property is used to set the width of the border.

    | The width is set in pixels, or by using one of the three pre-defined
    ^^^^^^
    | values: thin, medium, or thick.

    Compare that to the "standard"[1], and you may see, why w3schools is not
    the best place to learn webdesign.

    [1] <http://www.w3.org/TR/CSS2/box.html#border-width-properties>

    --
    Christoph M. Becker
    Christoph Michael Becker, Nov 29, 2013
    #9
  10. Robert Bralic

    se Guest

    "Christoph Michael Becker" <> skrev i meddelelsen
    news:5298ee57$0$6633$-online.net...
    > se wrote:
    >
    >> It is a safe-guard to append "border: 1" with a unit for the width.

    >
    > It is not a safe-guard, but required, if I'm not mistaken.


    That's also what I assume.
    Don't care with w3fools

    > <http://www.w3.org/TR/CSS2/box.html#border-width-properties>
    >
    > --
    > Christoph M. Becker
    se, Nov 29, 2013
    #10
  11. On Fri, 29 Nov 2013 13:55:46 +0200, Jukka K. Korpela wrote:

    >> Use www.w3schools.com learning webdesign.


    > That's probably the worst site to learn web design


    It does explain the quality of his answers though.

    --
    Denis McMahon,
    Denis McMahon, Nov 29, 2013
    #11
  12. Robert Bralic

    richard Guest

    On Fri, 29 Nov 2013 07:33:55 +0100, Robert Bralic wrote:

    > Dear Gentelmans,
    >
    > How to make a borders for cels that are empty...
    > When I writte a <Table border="1"> tag, the borders
    > for cels that are empty is not showd..
    >
    > Thanks in advance, Robert..;)


    Simple:
    CSS:
    td {padding:5px;}
    If you want to see the table cells as one line:
    table {border-collapse:collapse}
    richard, Nov 30, 2013
    #12
  13. Robert Bralic

    se Guest

    "Denis McMahon" <> skrev i meddelelsen
    news:l7avk5$2qd$...
    > On Fri, 29 Nov 2013 13:55:46 +0200, Jukka K. Korpela wrote:
    >
    >>> Use www.w3schools.com learning webdesign.

    >
    >> That's probably the worst site to learn web design

    >
    > It does explain the quality of his answers though.
    >
    > --
    > Denis McMahon,



    |On second thoughts, forget I asked that. It was an absolutely stupid
    |thing to ask given how widely your lack of capability is recognised.

    |--
    |Denis McMahon,

    |I want to know who this Dennis person is? After all, I'm sure that whilst
    |lecturing me on etiquette and courtesy, no-one would be so disrespectful
    |as to repeatedly misspell my name, would they?

    |--
    |Denis McMahon,


    A few examples are given above of copies of your answers given
    in elsewhere threads. The lack of quality displays itself. I read your
    answers as comming from a self-conceited stuck-up fellow. No
    different from the rest of a handfull of fellows making up the
    thrashing-class found on this forum.

    A validation on some of your websites probably would confirm
    my observance. Just like the validation of www.w3fools.com did
    confirm site-owners mainly have it in their mouths. People, who
    haven't been given anything, but substandard criticism of others
    work. Yet speaking of "etiquette and courtesy" - like you do!.

    Undoubtedly, you'll have to **** yourself, Denis. I don't think,
    Dennis, or other women will do it with you.

    /se
    se, Nov 30, 2013
    #13
  14. On Sat, 30 Nov 2013 08:57:50 +0100, se wrote:

    > Undoubtedly, you'll have to **** yourself, Denis. I don't think,
    > Dennis, or other women will do it with you.


    Was that really the best you could manage?

    --
    Denis McMahon,
    Denis McMahon, Nov 30, 2013
    #14
  15. Robert Bralic

    richard Guest

    On Sat, 30 Nov 2013 05:52:02 -0600, Hot-Text wrote:

    > "Robert Bralic" <-com.hr> wrote in message news:l79cgj$dqq$-com.hr...
    >> Dear Gentelmans,
    >> How to make a borders for cels that are empty...
    >> When I writte a <Table border="1"> tag, the borders
    >> for cels that are empty is not showd..
    >> Thanks in advance, Robert..;)

    > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    > <!-- Robert You're Welcome -->
    > <html>
    > <head>
    > <title>Re: Beginer &lt;TABLE BORDER="1"&gt; Question..?</title>
    > </head>
    > <body>
    > <!-- DO NOT USE bgcolor in TD -->
    > <table summary="Is empty" border="2" cellspacing="0" cellpadding="0"
    > style="color: #66ff66; border-color:#ff0033; border-color-dark:#ff0033; border-color-light:#ff6600;"
    > title=" ADD some Style"
    > width="600">
    > <tr>
    > <td height="300">
    > </td>
    > <td height="300" bgcolor="#0000ff">
    > </td>
    > </tr><tr>
    > <td height="300">
    > </td><td height="300" bgcolor="#ff0000">
    > </td>
    > </tr>
    > </body>
    > </html>


    Please learn to use CSS for tables.
    <td class="cell">
    ..cell {height:300px;}

    table {border-collapse:collapse;}
    richard, Nov 30, 2013
    #15
  16. Robert Bralic

    se Guest

    "Denis McMahon" <> skrev i meddelelsen
    news:l7d9k2$rt1$...
    > On Sat, 30 Nov 2013 08:57:50 +0100, se wrote:
    >
    >> Undoubtedly, you'll have to **** yourself, Denis. I don't think,
    >> Dennis, or other women will do it with you.

    >
    > Was that really the best you could manage?
    >
    > --
    > Denis McMahon,


    It doesn't help you. Readers will read the other part and
    realize, I'm talking to a Streetboy. You've been going on
    here in this manner in such a long time, that I have someting
    more waiten for you. Visit your local Pub holding same
    attitute as here, and you'll se.
    /se

    talking to a Streetboy
    se, Nov 30, 2013
    #16
  17. Robert Bralic

    dorayme Guest

    In article <l7d9k2$rt1$>,
    Denis McMahon <> wrote:

    > On Sat, 30 Nov 2013 08:57:50 +0100, se wrote:
    >
    > > Undoubtedly, you'll have to **** yourself, Denis. I don't think,
    > > Dennis, or other women will do it with you.

    >
    > Was that really the best you could manage?


    I hope this exchange is going to lead into a scene like the one in
    Roxanne (1987 film based on based on the play Cyrano de Bergerac)
    where Steve Martin is crudely insulted very publicly about his nose -
    "Hey, where you going Big Nose!" - by some oaf. Martin, a fire chief
    with the super big nose, asks if that is the best the oaf can do?
    Martin manages to pull off over twenty way better ones:

    <http://www.youtube.com/watch?v=ODFSF8MNTSs>

    --
    dorayme
    dorayme, Nov 30, 2013
    #17
  18. Robert Bralic

    TK Guest

    On 11/30/2013 3:33 PM, dorayme wrote:
    > In article <l7d9k2$rt1$>,
    > Denis McMahon <> wrote:

    [snip]
    >> Was that really the best you could manage?

    >
    > I hope this exchange is going to lead into a scene like the one in
    > Roxanne (1987 film based on based on the play Cyrano de Bergerac)
    > where Steve Martin is crudely insulted very publicly about his nose -
    > "Hey, where you going Big Nose!" - by some oaf. Martin, a fire chief
    > with the super big nose, asks if that is the best the oaf can do?
    > Martin manages to pull off over twenty way better ones:
    >
    > <http://www.youtube.com/watch?v=ODFSF8MNTSs>


    Lots of people post funny and/or insightful (crap) but yours is usually:

    1) spot on
    2) funny

    Thanks for posting!
    --
    TK ~ aka Terry Kimpling
    http://wejuggle2.com/video.php
    Soon to be called "Tricks I could do when I was only 65!"
    TK, Dec 1, 2013
    #18
  19. Robert Bralic

    dorayme Guest

    In article <l7e0f1$l86$-september.org>,
    TK <> wrote:

    > On 11/30/2013 3:33 PM, dorayme wrote:
    > > In article <l7d9k2$rt1$>,
    > > Denis McMahon <> wrote:

    > [snip]
    > >> Was that really the best you could manage?

    > >
    > > I hope this exchange is going to lead into a scene like the one in
    > > Roxanne (1987 film based on the play Cyrano de Bergerac)
    > > where Steve Martin is crudely insulted very publicly about his nose -
    > > "Hey, where you going Big Nose!" - by some oaf. Martin, a fire chief
    > > with the super big nose, asks if that is the best the oaf can do?
    > > Martin manages to pull off over twenty way better ones:
    > >
    > > <http://www.youtube.com/watch?v=ODFSF8MNTSs>

    >
    > Lots of people post funny and/or insightful (crap) but yours is usually:
    >
    > 1) spot on
    > 2) funny
    >
    > Thanks for posting!


    Thank you for *usually* appreciating... <g>

    --
    dorayme
    dorayme, Dec 1, 2013
    #19
  20. Robert Bralic

    se Guest

    "TK" <> skrev i meddelelsen
    news:l7e0f1$l86$-september.org...
    > On 11/30/2013 3:33 PM, dorayme wrote:
    >> In article <l7d9k2$rt1$>,
    >> Denis McMahon <> wrote:

    > [snip]
    >>> Was that really the best you could manage?

    >>
    >> I hope this exchange is going to lead into a scene like the one in
    >> Roxanne (1987 film based on based on the play Cyrano de Bergerac)
    >> where Steve Martin is crudely insulted very publicly about his nose -
    >> "Hey, where you going Big Nose!" - by some oaf. Martin, a fire chief
    >> with the super big nose, asks if that is the best the oaf can do?
    >> Martin manages to pull off over twenty way better ones:
    >>
    >> <http://www.youtube.com/watch?v=ODFSF8MNTSs>

    >
    > Lots of people post funny and/or insightful (crap) but yours is usually:
    >
    > 1) spot on
    > 2) funny
    >
    > Thanks for posting!
    > --
    > TK ~ aka Terry Kimpling
    > http://wejuggle2.com/video.php
    > Soon to be called "Tricks I could do when I was only 65!"


    The real abuse here started by Denis McMahon is
    NOT a play. It's reallity. The guy needs a dressing
    down. Not everything in reallity is funny. Everything
    in life is not mere artistic monkey tricks. Acts,
    expressed your way:

    1) spot on
    2) funny

    If this doesn't make sense to your both, yet be aware,
    if any insight left, that this forum has a threshing-group.

    I've been looking to some of the sites owned by this
    forums threshing-group members. No-one compares to
    Richards. Who is the most disparaged person in this forum.
    After done this survey on some of the threshing-group
    members websites, It became quite clear to me that, those
    members play the role here on this forum of being
    professional web designers suited to the job. Validation
    of their websites, renders miserable. I may conclude that;
    this is why those members sticks to www.w3fools.com

    I found the CV. of Dennis McMahon on the Internet,
    thereby got a confirmation of my suppositions.:
    He has been left to stuck on himself. That's one of the reasons
    why people developes a character property, that lead them to
    disparage people around them. Someone possibly born with
    it, since womans rejects them.
    /se
    se, Dec 1, 2013
    #20
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Lloyd Dupont

    dummy beginer's question

    Lloyd Dupont, Nov 20, 2005, in forum: ASP .Net
    Replies:
    6
    Views:
    438
    clintonG
    Nov 21, 2005
  2. ArMa

    Beginer question

    ArMa, Apr 13, 2005, in forum: Java
    Replies:
    0
    Views:
    476
  3. phl
    Replies:
    1
    Views:
    4,346
    Martin Jay
    Jun 8, 2006
  4. R.A.M.
    Replies:
    1
    Views:
    12,914
    ValliM
    Jul 5, 2006
  5. Prem Mallappa

    beginer C question

    Prem Mallappa, Feb 5, 2004, in forum: C Programming
    Replies:
    6
    Views:
    469
    Mark McIntyre
    Feb 8, 2004
Loading...

Share This Page