I'm tasked with putting a website on a CD, and when I do the the styles do not show up on the pages? Is it something I'm doing wrong. Some one told me that I would have to inline style all of the styles in each page. Below is what I have in the actual file and its not working.
<LINK REL=STYLESHEET href=http://www.webdeveloper.com/forum/archive/index.php/"mainstyles.css" TYPE="text/css">
Thanks,
JoshThere's no reason to inline the styles, and reason not to. If your style sheet is in the same directory as the rest of the files it should work.Its not working with the links. Here is the code behind the links that should be white but are showing up blue.
<table class="quicklinksTable">
<tr>
<td class="quicklinks">
<a href=http://www.webdeveloper.com/forum/archive/index.php/"http://www.bankersdashboard.com/WhoWeAre/MessageFromCEO/default.asp">
<img border=0 src=http://www.webdeveloper.com/forum/archive/index.php/"images/Bullet.jpg" width="12" height="15" align="absbottom">
Message From CEO
</a>
</td>
</tr>
And the style sheet object for the quicklinks class is:
#quicklinks {
font-family: Arial;
font-size: 9pt;
color: #FFFFFF;
font-weight: bold;
cursor: pointer;
padding-left: 30px;
padding-top: 0px;
padding-right: 0px;
padding-bottom: 0px;
margin: 0px;
}
.quicklinksHover {
font-family: Arial;
font-size: 9pt;
color: #50AE4C;
font-weight: bold;
cursor: pointer;
padding-left: 30px;
padding-top: 0px;
padding-right: 0px;
padding-bottom: 0px;
margin: 0px;
}
.quicklinksTable {
padding: 0;
margin: 0;
background-color: #264CA0;
border: none;
width: 100%;
height: 100%;
table-layout: fixed;
}
I could probably have the classes in the wrong spots or something.
Thanks.
J<td id="quicklinks">that didn't work either.
Thanks,The #quicklinks is only applied to text not to anchor text.
To apply to anchor text use #quicklinks a { bla ... }Duh, Thanks for the input, That worked once I created the alink and avisited.
Thanks,
<LINK REL=STYLESHEET href=http://www.webdeveloper.com/forum/archive/index.php/"mainstyles.css" TYPE="text/css">
Thanks,
JoshThere's no reason to inline the styles, and reason not to. If your style sheet is in the same directory as the rest of the files it should work.Its not working with the links. Here is the code behind the links that should be white but are showing up blue.
<table class="quicklinksTable">
<tr>
<td class="quicklinks">
<a href=http://www.webdeveloper.com/forum/archive/index.php/"http://www.bankersdashboard.com/WhoWeAre/MessageFromCEO/default.asp">
<img border=0 src=http://www.webdeveloper.com/forum/archive/index.php/"images/Bullet.jpg" width="12" height="15" align="absbottom">
Message From CEO
</a>
</td>
</tr>
And the style sheet object for the quicklinks class is:
#quicklinks {
font-family: Arial;
font-size: 9pt;
color: #FFFFFF;
font-weight: bold;
cursor: pointer;
padding-left: 30px;
padding-top: 0px;
padding-right: 0px;
padding-bottom: 0px;
margin: 0px;
}
.quicklinksHover {
font-family: Arial;
font-size: 9pt;
color: #50AE4C;
font-weight: bold;
cursor: pointer;
padding-left: 30px;
padding-top: 0px;
padding-right: 0px;
padding-bottom: 0px;
margin: 0px;
}
.quicklinksTable {
padding: 0;
margin: 0;
background-color: #264CA0;
border: none;
width: 100%;
height: 100%;
table-layout: fixed;
}
I could probably have the classes in the wrong spots or something.
Thanks.
J<td id="quicklinks">that didn't work either.
Thanks,The #quicklinks is only applied to text not to anchor text.
To apply to anchor text use #quicklinks a { bla ... }Duh, Thanks for the input, That worked once I created the alink and avisited.
Thanks,