Does ayone know why non of the text in my table is being formatted by my css? i have tried calling the css from the table
<table border="0" cellpadding="0" cellspacing="0" class="table" and the text inside does not change size as i want it to, and i have tried to add td to me included css page
.tablemain, td {
background-color:#eeeeee;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 8pt;
font-style: normal;
line-height: 18px;
font-weight: normal;
color: #000000;
text-decoration: none;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
margin-left: 0px;
}
here is the link to the page (<!-- m --><a class="postlink" href="http://test.slweb.co.nz/mva/historydef.php">http://test.slweb.co.nz/mva/historydef.php</a><!-- m -->)
Thanks
Sheldonclass="table" and .tablemain ???even with the corrct reference name it still does not work?
Thanks
SheldonHave you made a reference to your stylesheet in the head?
<link href=http://www.webdeveloper.com/forum/archive/index.php/"mystyle.css" type="text/css" rel="stylesheet">yep
all the other styles work, just not the text inside the table?.tablemain, .tablemain.td {
background-color:#eeeeee;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 8pt;
font-style: normal;
line-height: 18px;
font-weight: normal;
color: #000000;
text-decoration: none;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
margin-left: 0px;
}have you tried
<table class="tablemain"
instead of
<table style="tablemain"
And, by the way, using tables for layout and posting the question in a css forum... Oh my.haha yes, i use tables for layout and css for design, cross browser support of tables and too many idiots using IE for full css use, anyhow i like tables.
But thanks ill try that
<table border="0" cellpadding="0" cellspacing="0" class="table" and the text inside does not change size as i want it to, and i have tried to add td to me included css page
.tablemain, td {
background-color:#eeeeee;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 8pt;
font-style: normal;
line-height: 18px;
font-weight: normal;
color: #000000;
text-decoration: none;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
margin-left: 0px;
}
here is the link to the page (<!-- m --><a class="postlink" href="http://test.slweb.co.nz/mva/historydef.php">http://test.slweb.co.nz/mva/historydef.php</a><!-- m -->)
Thanks
Sheldonclass="table" and .tablemain ???even with the corrct reference name it still does not work?
Thanks
SheldonHave you made a reference to your stylesheet in the head?
<link href=http://www.webdeveloper.com/forum/archive/index.php/"mystyle.css" type="text/css" rel="stylesheet">yep
all the other styles work, just not the text inside the table?.tablemain, .tablemain.td {
background-color:#eeeeee;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 8pt;
font-style: normal;
line-height: 18px;
font-weight: normal;
color: #000000;
text-decoration: none;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
margin-left: 0px;
}have you tried
<table class="tablemain"
instead of
<table style="tablemain"
And, by the way, using tables for layout and posting the question in a css forum... Oh my.haha yes, i use tables for layout and css for design, cross browser support of tables and too many idiots using IE for full css use, anyhow i like tables.
But thanks ill try that