|
RickJ
|
 |
« on: September 20, 2005, 08:40:00 AM » |
|
Starting with a table of x rows and y columns, that has no border, can I apply a colored border to specific cells?
If so, can you tell me the trick?
I do know that I can put a 1 row 1 column table with a colored border inside individual cells of a table, but I'm trying to avoid that.
Thank you!!
|
|
|
|
|
Logged
|
|
|
|
|
thepixellator
|
 |
« Reply #1 on: September 20, 2005, 09:18:19 AM » |
|
I tried it real quick and here's what I found in Dreamweaver MX (2004): The only way to get a single cell to show a colored border (save nesting tables) is to put a border of 1 on the entire table. When I try with cell padding or cell spacing, the indicated color does not show up.
So, I believe your workaround would be to select the entire table, apply a border of 1. Then select the rows you do not want a border to show up on and make the border the same color as the background. Then select the cells you want to be colored differently and enter their colors in the properties panel under border. Remember to use the "#" in front of hex colors, or the color won't show up in netscape or firefox.
|
|
|
|
|
Logged
|
::Jessica:: Have I reached the party to whom I am speaking?
|
|
|
|
RickJ
|
 |
« Reply #2 on: September 20, 2005, 09:42:00 AM » |
|
Thanks, Jessica! I'll play around with it a bit.
|
|
|
|
|
Logged
|
|
|
|
|
thepixellator
|
 |
« Reply #3 on: September 20, 2005, 09:52:45 AM » |
|
Good luck!
|
|
|
|
|
Logged
|
::Jessica:: Have I reached the party to whom I am speaking?
|
|
|
|
KJones
|
 |
« Reply #4 on: September 20, 2005, 12:23:39 PM » |
|
If you want to try a bit of CSS you could do something like this: <td style="border: solid 1px #ff0000;"></td> Change the #ff0000 (red) to any other value you want.
|
|
|
|
|
Logged
|
"I believe that this nation should commit itself to achieving the goal, before this decade is out, of landing a man on the moon and returning him safely to the earth." - John F. Kennedy
|
|
|
|
RickJ
|
 |
« Reply #5 on: September 20, 2005, 12:41:48 PM » |
|
Thanks, KJones
At every turn I am encouraged to learn to use CSS. I suppose that time is coming sooner rather than later!
|
|
|
|
|
Logged
|
|
|
|
|
KJones
|
 |
« Reply #6 on: September 20, 2005, 12:46:11 PM » |
|
It is very useful, and not that hard to learn.
|
|
|
|
|
Logged
|
"I believe that this nation should commit itself to achieving the goal, before this decade is out, of landing a man on the moon and returning him safely to the earth." - John F. Kennedy
|
|
|
|
RickJ
|
 |
« Reply #7 on: September 21, 2005, 04:32:00 AM » |
|
Thanks, Jessica. I will definately work on it. Yesterday I did some tweaking with the nested tables and got a semi-desired look: www.jackson8.comBut DW's local view is showing a funky view of the contents in the blue one on the upper right. Here's how it looks in my local view. Do you know what the problem might be? Do nested tables "confuse" DW?:
|
|
|
|
|
thepixellator
|
 |
« Reply #8 on: October 14, 2005, 04:49:07 PM » |
|
oh, man, 3 weeks later, I finally see this post. Something is up with the notification by email, because I didn't get one. Did you want to know why you're getting the yellow highlighted ending tags for end strong, end link, and end font? Just switch to split view to find out if you can see the beginning tags. If they're not there, you can safely erase the ending tags, then try to format your text again.
|
|
|
|
|
Logged
|
::Jessica:: Have I reached the party to whom I am speaking?
|
|
|
|
RickJ
|
 |
« Reply #9 on: October 15, 2005, 09:41:44 AM » |
|
Thanks! That was it; just extra code.
|
|
|
|
|
Logged
|
|
|
|
|