Professional Web Applications Themes

borders on just one side of a cell? - Macromedia Dreamweaver

I've heard you can create borders that run along just one side of a table cell/row etc. you can also make them dotted so you can create dotted rules in your layouts to seperate things. Is there a way to do this through dreamweaver or do you have to hand code it? If so what's the coding? Thanks!...

  1. #1

    Default borders on just one side of a cell?

    I've heard you can create borders that run along just one side of a table
    cell/row etc. you can also make them dotted so you can create dotted rules
    in your layouts to seperate things.
    Is there a way to do this through dreamweaver or do you have to hand code
    it? If so what's the coding?
    Thanks!

    Danielle Kunowski Guest

  2. #2

    Default Re: borders on just one side of a cell?

    On Thu, 10 Jul 2003 17:37:53 +1000, in macromedia.dreamweaver Danielle
    Kunowski <danielleadventuread.com.au> wrote:
    >| I've heard you can create borders that run along just one side of a table
    >| cell/row etc. you can also make them dotted so you can create dotted rules
    >| in your layouts to seperate things.
    >| Is there a way to do this through dreamweaver or do you have to hand code
    >| it? If so what's the coding?
    >| Thanks!
    <html>
    <head>
    <style>
    ..box{
    border-top: 2px solid silver;
    border-bottom: 2px solid black;
    border-left: 2px solid silver;
    border-right: 2px solid black;
    font-family: sans-serif;
    font-size: 6px;
    width: 90px;
    text-decoration: none;
    text-align: center;
    height: 12px;
    }

    ..blank {
    text-align: center;
    }
    ..vbar {
    border-left: 1px solid black;
    }
    ..hbar {
    border-top-color: black;
    border-top-style: solid;
    border-top-width: 1px;
    }
    ..rcnr {
    border-top-color: black;
    border-top-style: solid;
    border-top-width: 1px;
    border-right-color: black;
    border-right-style: solid;
    border-right-width: 1px;
    }
    ..lcnr {
    border-top-color: black;
    border-top-style: solid;
    border-top-width: 1px;
    border-left-color: black;
    border-left-style: solid;
    border-left-width: 1px;
    }
    ..cross1 {
    border-bottom-width: 1px;
    border-bottom-color: black;
    border-bottom-style: solid;
    }
    ..cross2 {
    border-left-width: 1px;
    border-left-color: black;
    border-left-style: solid;
    border-bottom-width: 1px;
    border-bottom-color: black;
    border-bottom-style: solid;
    }
    </style>
    </head>
    <body>
    <TABLE WIDTH='44%' HEIGHT='55%' BORDER='0' CELLPADDING='0'
    CELLSPACING='0'>
    <TR>
    <TD WIDTH='50%'>&nbsp;</TD>
    <TD WIDTH='50%' CLASS='lcnr'>&nbsp; </TD>
    </TR>
    <TR>
    <TD WIDTH='50%'>&nbsp;</TD>
    <TD WIDTH='50%' CLASS='vbar'>&nbsp; </TD>
    </TR>
    </TABLE>
    </body>
    </html>

    ---------------------------------------------------------------
    [email]jnorthyourpantsbigpond.net.au[/email] : Remove your pants to reply
    ---------------------------------------------------------------
    Jeff North Guest

  3. #3

    Default Re: borders on just one side of a cell?

    Yes, it can be done in Dreamweaver. Just put it in your style sheet (if you
    aren't using one, you should be!! :)

    table.borderRight {
    border-right: 1px dotted #CC0000;
    }

    <table class="borderRight" ...>

    Or if you want it only on one cell:

    td.borderRight {
    border-right: 1px dotted #CC0000;
    }

    <table>
    <tr>
    <td class="borderRight">
    </td>
    </tr>
    </table>

    --
    --
    DiMa
    --------------------
    WEB FORUM USERS: Please log on to the Newsgroup for quicker replies to your
    posts:
    [url]news://forums.macromedia.com/macromedia.dreamweaver[/url]
    For Answers, check here first:
    [url]http://groups.google.com/advanced_group_search?q=+group:macromedia.dreamwea ver[/url]
    [url]http://www.macromedia.com/support/dreamweaver/technotes.html[/url]
    [url]http://www.projectseven.com/faqbase[/url]
    [url]http://www.dreamweaverFAQ.com[/url]

    [url]http://www.macromedia.com/support/forums/etiquette.htm[/url]
    DiMa Design > From Lines...to Designs
    [url]http://www.dimadesign.net[/url]


    "Danielle Kunowski" <danielleadventuread.com.au> wrote in message
    news:BB3354F1.2298%danielleadventuread.com.au...
    > I've heard you can create borders that run along just one side of a table
    > cell/row etc. you can also make them dotted so you can create dotted rules
    > in your layouts to seperate things.
    > Is there a way to do this through dreamweaver or do you have to hand code
    > it? If so what's the coding?
    > Thanks!
    >

    DiMa Guest

  4. #4

    Default Re: borders on just one side of a cell?

    "DiMa" <dianaYOURHATANDCOATdimadesign.net> wrote in message
    news:bek255$er9$1forums.macromedia.com...
    > Yes, it can be done in Dreamweaver. Just put it in your style sheet (if
    you
    > aren't using one, you should be!! :)
    >
    > table.borderRight {
    > border-right: 1px dotted #CC0000;
    > }
    >
    > <table class="borderRight" ...>
    >
    > Or if you want it only on one cell:
    >
    > td.borderRight {
    > border-right: 1px dotted #CC0000;
    > }

    dumb question:

    Why would you not do:

    ..borderRight {border-right: 1px dotted #ccc;}

    and then it could be applied to various elements on a page (or site):

    <table class="borderRight">
    <td class="borderRight">
    <div class="borderRight">
    <p class="borderRight">

    -Al


    Al Sparber- PVII Guest

  5. #5

    Default Re: borders on just one side of a cell?

    Because I haven't had coffee in 4 days and I've been kept up all ours by an
    unruly template from hell :)

    Thanks for putting me in my place, Al! ;)

    ....again :-D

    --
    --
    DiMa
    --------------------
    WEB FORUM USERS: Please log on to the Newsgroup for quicker replies to your
    posts:
    [url]news://forums.macromedia.com/macromedia.dreamweaver[/url]
    For Answers, check here first:
    [url]http://groups.google.com/advanced_group_search?q=+group:macromedia.dreamwea ver[/url]
    [url]http://www.macromedia.com/support/dreamweaver/technotes.html[/url]
    [url]http://www.projectseven.com/faqbase[/url]
    [url]http://www.dreamweaverFAQ.com[/url]

    [url]http://www.macromedia.com/support/forums/etiquette.htm[/url]
    DiMa Design > From Lines...to Designs
    [url]http://www.dimadesign.net[/url]


    "Al Sparber- PVII" <thisaddressactuallyworks.com> wrote in message
    news:bek2bn$fah$1forums.macromedia.com...
    > "DiMa" <dianaYOURHATANDCOATdimadesign.net> wrote in message
    > news:bek255$er9$1forums.macromedia.com...
    > > Yes, it can be done in Dreamweaver. Just put it in your style sheet (if
    > you
    > > aren't using one, you should be!! :)
    > >
    > > table.borderRight {
    > > border-right: 1px dotted #CC0000;
    > > }
    > >
    > > <table class="borderRight" ...>
    > >
    > > Or if you want it only on one cell:
    > >
    > > td.borderRight {
    > > border-right: 1px dotted #CC0000;
    > > }
    >
    >
    > dumb question:
    >
    > Why would you not do:
    >
    > .borderRight {border-right: 1px dotted #ccc;}
    >
    > and then it could be applied to various elements on a page (or site):
    >
    > <table class="borderRight">
    > <td class="borderRight">
    > <div class="borderRight">
    > <p class="borderRight">
    >
    > -Al
    >
    >

    DiMa Guest

  6. #6

    Default Re: borders on just one side of a cell?


    "DiMa" <dianaYOURHATANDCOATdimadesign.net> wrote in message
    news:bek3g5$he8$1forums.macromedia.com...
    > Because I haven't had coffee in 4 days and I've been kept up all ours by
    an
    > unruly template from hell :)
    When you're in the neighborhood, drop by and I'll make you some very stout
    espresso ;-)


    Al Sparber- PVII Guest

  7. #7

    Default Re: borders on just one side of a cell?

    > When you're in the neighborhood, drop by and I'll make you some very stout
    > espresso ;-)
    Ah, yes...well, I'll just hop a plane and be right over! :) I have an ulcer and
    coffee is out for the moment </pout>. I didn't know it would be so difficult!!
    Of course, as soon as I'm able, I'll be right back to it. A stout cuppa
    'spresso sound diviiiiiine right about how!

    --
    --
    DiMa
    --------------------
    WEB FORUM USERS: Please log on to the Newsgroup for quicker replies to your
    posts:
    [url]news://forums.macromedia.com/macromedia.dreamweaver[/url]
    For Answers, check here first:
    [url]http://groups.google.com/advanced_group_search?q=+group:macromedia.dreamwea ver[/url]
    [url]http://www.macromedia.com/support/dreamweaver/technotes.html[/url]
    [url]http://www.projectseven.com/faqbase[/url]
    [url]http://www.dreamweaverFAQ.com[/url]

    [url]http://www.macromedia.com/support/forums/etiquette.htm[/url]
    DiMa Design > From Lines...to Designs
    [url]http://www.dimadesign.net[/url]


    "Al Sparber- PVII" <thisaddressactuallyworks.com> wrote in message
    news:bek47j$it1$1forums.macromedia.com...
    >
    > "DiMa" <dianaYOURHATANDCOATdimadesign.net> wrote in message
    > news:bek3g5$he8$1forums.macromedia.com...
    > > Because I haven't had coffee in 4 days and I've been kept up all ours by
    > an
    > > unruly template from hell :)
    >
    > When you're in the neighborhood, drop by and I'll make you some very stout
    > espresso ;-)
    >
    >

    DiMa Guest

Similar Threads

  1. Question how to assign from one cell to other cell in report builder
    By pengleang in forum Brainstorming Area
    Replies: 0
    Last Post: December 1st, 10:07 AM
  2. cfgrid - Update a cell based on the value of another cell
    By bflophil in forum Coldfusion - Getting Started
    Replies: 0
    Last Post: February 21st, 06:05 AM
  3. Replies: 1
    Last Post: February 17th, 09:37 PM
  4. Replies: 3
    Last Post: April 30th, 12:19 AM
  5. cell borders
    By DiMa in forum Macromedia Dreamweaver
    Replies: 5
    Last Post: July 29th, 08:44 PM

Bookmarks

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139