This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Dreamweaver > March 2005 > border marker color
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
border marker color
|
|
|
| Hello,
can I change the color of the border marker line (the dotted) in DW mx
from the default black to something else? when I design a black
background page I can not see mt border lines, only if I give them a
color which means a width, which means, screwing up the design.
thanks,
Mic
| |
| Adrian Stock 2005-03-03, 6:36 pm |
| Mic wrote:
> Hello,
>
> can I change the color of the border marker line (the dotted) in DW mx
> from the default black to something else? when I design a black
> background page I can not see mt border lines, only if I give them a
> color which means a width, which means, screwing up the design.
>
> thanks,
>
> Mic
You could do it with css stylesheets.
If you only want it for one table, add the following to the <table> tag.
<table style="border: 1px solid white;">
Change the pixel value as required.
Instead of 'solid' write 'dotted' or one of the other value provided in
the css editor in DW.
Instead of 'white', write the hexcode of the colour required with a # in
front of the hexcord.
If you want this to apply to individual cells, you have to write the
same style rule into each <td> tag in the table.
------------------------
More economically,
Give your table an id; e.g. <table id="table_01">
go to the css file linked to your html file.
write the style information into the css file; thus:
#table_01 {
border: 1px solid white;
}
Write anything else between the braces that you want to apply to the
table as whole.
Then write:
#table_01 td {
border: 1px solid white;
}
That means: "for any cell <td> in this particular table", the following
style rules apply. Add whatever other things you want to apply.
There are lots of variations on this, depending on what you want to
achieve in your site as a whole.
The above just solves the problem for one particular table. There are
also ways of making it apply to all tables or to several selected
tables. See css tutorials on this.
If you want these borders only while you are editing a table, keep them
while you are editing, remove them from the style sheet when you have
finished.
Remove them temporarily by commenting them out IN THE STYLE SHEET, i.e.
putting
/*
before the style
and
*/
after the style.
That way you can bring the borders and other features in and out as
required.
Good luck.
Adrian
| |
|
| wow Adrian, you wrote all that now? that is fast. thanks
Mic
Adrian Stock wrote:
> Mic wrote:
>
>
>
>
> You could do it with css stylesheets.
>
> If you only want it for one table, add the following to the <table> tag.
>
> <table style="border: 1px solid white;">
>
> Change the pixel value as required.
> Instead of 'solid' write 'dotted' or one of the other value provided in
> the css editor in DW.
> Instead of 'white', write the hexcode of the colour required with a # in
> front of the hexcord.
>
> If you want this to apply to individual cells, you have to write the
> same style rule into each <td> tag in the table.
>
> ------------------------
>
> More economically,
>
> Give your table an id; e.g. <table id="table_01">
>
> go to the css file linked to your html file.
>
> write the style information into the css file; thus:
>
>
> #table_01 {
> border: 1px solid white;
> }
>
> Write anything else between the braces that you want to apply to the
> table as whole.
>
>
> Then write:
>
> #table_01 td {
> border: 1px solid white;
> }
>
> That means: "for any cell <td> in this particular table", the following
> style rules apply. Add whatever other things you want to apply.
>
>
> There are lots of variations on this, depending on what you want to
> achieve in your site as a whole.
>
> The above just solves the problem for one particular table. There are
> also ways of making it apply to all tables or to several selected
> tables. See css tutorials on this.
>
> If you want these borders only while you are editing a table, keep them
> while you are editing, remove them from the style sheet when you have
> finished.
>
> Remove them temporarily by commenting them out IN THE STYLE SHEET, i.e.
> putting
>
>
> /*
>
> before the style
>
> and
>
> */
>
> after the style.
>
> That way you can bring the borders and other features in and out as
> required.
>
>
> Good luck.
>
> Adrian
>
>
>
| |
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|