This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Dreamweaver > April 2004 > Table border help please.
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 |
Table border help please.
|
|
|
| Using Dreamweaver MX, suddenly if I select a table and choose a border
of 1 pixel I get a double line all around the table.
TIA,
Chris.
| |
|
|
| David Stiller 2004-04-21, 2:46 pm |
| You'll have to add "class='tblBorder'" to your <table> tag, but I
support DiMa's take on it. :)
"dot" styles (like .tblBorder) are called classes (sometimes "custom
classes") and apply specifically to HTML tags that have a class attribute
set to that style's name, only without the dot, like <table
class="tblBorder">...</table>. Styles without the dot are called elements
and refer to their namesake HTML tag.
So if it suits your needs, you can make *all* tables have custom styling
by substituting "table" for DiMa's ".tblBorder" in the example she provided,
and then you wouldn't have to add the class attribute.
Like ...
table {
border: 1px solid #000000;
}
David
stiller ( at ) quip ( dot ) net
> In the head of your page (or better yet in an attached style sheet with
out
> style tag and comments):
>
> <style type="text/css">
> <!--
> .tblBorder /* or something more general */
> border: 1px solid #000000; /* Choose your own color and style */
> }
| |
|
| Chris,
See if this helps :
http://www.dreamweaverresources.com...tableborder.htm
--
Nadia
--------------------------------
: Dropdown Menu Design Available :
: Templates: Free Nav Bar Sets:
: Resources : Ecommerce : SEO Articles :
http://www.DreamweaverResources.com
!!Page Design Elements !!
-----------
"chris" <cgs@ntlworld.com> wrote in message
news:c5m6p3$j82$1@forums.macromedia.com...
> Using Dreamweaver MX, suddenly if I select a table and choose a border
> of 1 pixel I get a double line all around the table.
> TIA,
> Chris.
>
| |
|
|
|
| | Copyright 2003 - 2009 forum4designers.com Software forum Computer Hardware reviews |
|