PC Review


Reply
Thread Tools Rate Thread

Adding a coloured border one the outside of a one row-two column t

 
 
=?Utf-8?B?QmluZ29jYWxsZXI=?=
Guest
Posts: n/a
 
      27th Mar 2005
Help!! I am creating a one row-two column table with a coloured border. I
only want the coloured border on the outside of the table but I keep getting
a coloured line inbetween the two columns - whereas I want the internal line
to be the dotted line that doesn't show up when published. I have tried
selecting the table and adding a solid box border but it still colours the
internal line. I have tried collapsing the borders but this doesn't work. I
would really appreciate it if somebody could help.
 
Reply With Quote
 
 
 
 
Murray
Guest
Posts: n/a
 
      27th Mar 2005
Try this -

<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td style="border:solid teal; border-width:1px 0 1px 1px;">whatever</td>
<td style="border:solid teal; border-width:1px 1px 1px; 0;">whatever</td>
</tr>
</table>

--
Murray
============

"Bingocaller" <(E-Mail Removed)> wrote in message
news:4F230ECF-FE35-4F5D-A541-(E-Mail Removed)...
> Help!! I am creating a one row-two column table with a coloured border. I
> only want the coloured border on the outside of the table but I keep
> getting
> a coloured line inbetween the two columns - whereas I want the internal
> line
> to be the dotted line that doesn't show up when published. I have tried
> selecting the table and adding a solid box border but it still colours the
> internal line. I have tried collapsing the borders but this doesn't work.
> I
> would really appreciate it if somebody could help.



 
Reply With Quote
 
=?Utf-8?B?QmluZ29jYWxsZXI=?=
Guest
Posts: n/a
 
      28th Mar 2005
Thanks Murray - if poss could you also tell me how to select the table from
Design view - just the outer side of table to add the border and leave the
middle of table with dotted line. The code is great but also I want to know
how to do from Design view.

"Bingocaller" wrote:

> Help!! I am creating a one row-two column table with a coloured border. I
> only want the coloured border on the outside of the table but I keep getting
> a coloured line inbetween the two columns - whereas I want the internal line
> to be the dotted line that doesn't show up when published. I have tried
> selecting the table and adding a solid box border but it still colours the
> internal line. I have tried collapsing the borders but this doesn't work. I
> would really appreciate it if somebody could help.

 
Reply With Quote
 
Murray
Guest
Posts: n/a
 
      28th Mar 2005
There are many things that cannot be done well if you confine your
operations to Design view. This means that the more comfortable you become
with HTML markup, the better you will become at using FP.

In FP (I am using 2003), create some new styles by using FORMAT | Style....,
select User-defined styles from the Styles List: dropdown, and enter
"td.left" in the Name (selector): field. Then click on the FORMAT button at
the bottom, select Border, and in the Style: list, click on "solid". Now
set the color value as you want, the Width to 1, and click to remove the
right border. Click OK, OK, OK to exit the dialog. Do the same process to
define a second style called td.right, only this time make it have top,
right, and bottom borders only.

This process should leave you with the following code in the head of the
page -

<style>
<!--
td.left { border-left: 1px solid #FF0000; border-top: 1px solid
#FF0000;
border-bottom: 1px solid #FF0000 }
td.right { border-right: 1px solid #FF0000; border-top: 1px solid
#FF0000;
border-bottom: 1px solid #FF0000 }
-->
</style>
</head>

You have created the CSS styles, and now you must make them work on your
page. So, click in the left cell, and bring up its properties

--
Murray
============

"Bingocaller" <(E-Mail Removed)> wrote in message
news:946F2BD0-938B-43DF-949E-(E-Mail Removed)...
> Thanks Murray - if poss could you also tell me how to select the table
> from
> Design view - just the outer side of table to add the border and leave the
> middle of table with dotted line. The code is great but also I want to
> know
> how to do from Design view.
>
> "Bingocaller" wrote:
>
>> Help!! I am creating a one row-two column table with a coloured border.
>> I
>> only want the coloured border on the outside of the table but I keep
>> getting
>> a coloured line inbetween the two columns - whereas I want the internal
>> line
>> to be the dotted line that doesn't show up when published. I have tried
>> selecting the table and adding a solid box border but it still colours
>> the
>> internal line. I have tried collapsing the borders but this doesn't
>> work. I
>> would really appreciate it if somebody could help.



 
Reply With Quote
 
Murray
Guest
Posts: n/a
 
      28th Mar 2005
Oops - hit send by mistake! Here's the whole enchilada again.

There are many things that cannot be done well if you confine your
operations to Design view. This means that the more comfortable you become
with HTML markup, the better you will become at using FP.

In FP (I am using 2003), create some new styles by using FORMAT | Style....,
select User-defined styles from the Styles List: dropdown, and enter
"td.left" in the Name (selector): field. Then click on the FORMAT button at
the bottom, select Border, and in the Style: list, click on "solid". Now
set the color value as you want, the Width to 1, and click to remove the
right border. Click OK, OK, OK to exit the dialog. Do the same process to
define a second style called td.right, only this time make it have top,
right, and bottom borders only.

This process should leave you with the following code in the head of the
page -

<style>
<!--
td.left { border-left: 1px solid #FF0000; border-top: 1px solid
#FF0000;
border-bottom: 1px solid #FF0000 }
td.right { border-right: 1px solid #FF0000; border-top: 1px solid
#FF0000;
border-bottom: 1px solid #FF0000 }
-->
</style>
</head>

You have created the CSS styles, and now you must make them work on your
page. So, click in the left cell, format it using FORMAT | Style...., and
selecting td.left from the list of styles. Do the same with the right cell
and td.right. This should now give you code like the following -

<tr>
<td class="left">&nbsp;</td>
<td class="right">&nbsp;</td>
</tr>

Does that do what you wanted?


--
Murray
============

"Bingocaller" <(E-Mail Removed)> wrote in message
news:946F2BD0-938B-43DF-949E-(E-Mail Removed)...
> Thanks Murray - if poss could you also tell me how to select the table
> from
> Design view - just the outer side of table to add the border and leave the
> middle of table with dotted line. The code is great but also I want to
> know
> how to do from Design view.
>
> "Bingocaller" wrote:
>
>> Help!! I am creating a one row-two column table with a coloured border.
>> I
>> only want the coloured border on the outside of the table but I keep
>> getting
>> a coloured line inbetween the two columns - whereas I want the internal
>> line
>> to be the dotted line that doesn't show up when published. I have tried
>> selecting the table and adding a solid box border but it still colours
>> the
>> internal line. I have tried collapsing the borders but this doesn't
>> work. I
>> would really appreciate it if somebody could help.



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding sum of coloured cells The Rook Microsoft Excel Misc 1 17th Nov 2008 11:31 AM
difference between coloured flag and coloured flag + border around =?Utf-8?B?TWVsaXNzYQ==?= Microsoft Outlook Discussion 2 4th Sep 2007 09:39 AM
How can we display the coloured border around the active sheet? =?Utf-8?B?QmltRGlt?= Microsoft Excel Setup 1 31st May 2007 02:39 PM
adding coloured cells together =?Utf-8?B?VGhlUm9vaw==?= Microsoft Excel Programming 4 17th Aug 2006 04:25 PM
How to create a white page border surrounding the coloured backgro =?Utf-8?B?U2FyYWg=?= Microsoft Powerpoint 2 31st Jan 2006 01:39 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:31 AM.