HighDots Forums  

borders on just one side of a cell?

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss borders on just one side of a cell? in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Danielle Kunowski
 
Posts: n/a

Default borders on just one side of a cell? - 07-10-2003 , 03:37 AM






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!


Reply With Quote
  #2  
Old   
DiMa
 
Posts: n/a

Default Re: borders on just one side of a cell? - 07-10-2003 , 11:52 AM






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:
news://forums.macromedia.com/macromedia.dreamweaver
For Answers, check here first:
http://groups.google.com/advanced_group_search?q=+group:macromedia.dreamwea ver
http://www.macromedia.com/support/dreamweaver/technotes.html
http://www.projectseven.com/faqbase
http://www.dreamweaverFAQ.com

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


"Danielle Kunowski" <danielle (AT) adventuread (DOT) com.au> wrote

Quote:
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!




Reply With Quote
  #3  
Old   
Al Sparber- PVII
 
Posts: n/a

Default Re: borders on just one side of a cell? - 07-10-2003 , 11:56 AM



"DiMa" <diana (AT) YOURHATANDCOATdimadesign (DOT) net> wrote

Quote:
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




Reply With Quote
  #4  
Old   
DiMa
 
Posts: n/a

Default Re: borders on just one side of a cell? - 07-10-2003 , 12:15 PM



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:
news://forums.macromedia.com/macromedia.dreamweaver
For Answers, check here first:
http://groups.google.com/advanced_group_search?q=+group:macromedia.dreamwea ver
http://www.macromedia.com/support/dreamweaver/technotes.html
http://www.projectseven.com/faqbase
http://www.dreamweaverFAQ.com

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


"Al Sparber- PVII" <thisaddress (AT) actuallyworks (DOT) com> wrote

Quote:
"DiMa" <diana (AT) YOURHATANDCOATdimadesign (DOT) net> wrote in message
news:bek255$er9$1 (AT) forums (DOT) 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





Reply With Quote
  #5  
Old   
Al Sparber- PVII
 
Posts: n/a

Default Re: borders on just one side of a cell? - 07-10-2003 , 12:28 PM




"DiMa" <diana (AT) YOURHATANDCOATdimadesign (DOT) net> wrote

Quote:
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 ;-)




Reply With Quote
  #6  
Old   
DiMa
 
Posts: n/a

Default Re: borders on just one side of a cell? - 07-10-2003 , 12:40 PM



Quote:
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:
news://forums.macromedia.com/macromedia.dreamweaver
For Answers, check here first:
http://groups.google.com/advanced_group_search?q=+group:macromedia.dreamwea ver
http://www.macromedia.com/support/dreamweaver/technotes.html
http://www.projectseven.com/faqbase
http://www.dreamweaverFAQ.com

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


"Al Sparber- PVII" <thisaddress (AT) actuallyworks (DOT) com> wrote

Quote:
"DiMa" <diana (AT) YOURHATANDCOATdimadesign (DOT) net> wrote in message
news:bek3g5$he8$1 (AT) forums (DOT) 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 ;-)





Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.