View Full Version : div and p class text display
brndn
January 30th, 2006, 06:11 PM
here is my problem. I have a div class that contains text.
for some reason my pclass style wont alter the text.
any suggestions?
the css wont affect the text??
thanks anyone
<td colspan="2" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<div class="crumb">
<p class="brdcrumb">
<a href="/">Home</a> > <a href="/policies/">Play Pages</a> > <a href="/policies/page.stm">page</a></p>
<tr>
<td width="401" height="29"></div>
</table>
</td>
bwh2
January 30th, 2006, 06:45 PM
show your css code
brndn
January 30th, 2006, 07:54 PM
.brdcrumb {
font-family: Arial, Helvetica, sans-serif;
font-size: 9px;
font-weight: normal;
text-transform: uppercase;
color: #003333;
border: none;
}
bwh2
January 30th, 2006, 08:26 PM
what DOCTYPE are you using?
brndn
January 30th, 2006, 08:35 PM
a file called intranet.css
it is imported into the html file????
why do you ask?
bwh2
January 30th, 2006, 08:40 PM
no, i'm asking what DOCTYPE. the DOCTYPE is located at the beginning of the html file. for instance, view this page's source and look at the first line.
// i just capitalize DOCTYPE b/c it's just standard practice. i'm not shouting it.
brndn
January 30th, 2006, 09:16 PM
sorry if i gave you the wrong impression, i was just curious, i have not played with css before and thought that there could be a simple fault in my file type.
thanks for your help though i have managed to locate the problem.
regards brndn
bwh2
January 30th, 2006, 09:38 PM
so what did you to do fix it?
MTsoul
January 31st, 2006, 01:22 AM
:lol: frustrating isn't it.
real_illusions
January 31st, 2006, 07:50 AM
p.brdcrumb {
font-family: Arial, Helvetica, sans-serif;
font-size: 9px;
font-weight: normal;
text-transform: uppercase;
color: #003333;
border: none;
}
should work.
as long as you link to it correctly.
<link rel="stylesheet" type="text/css"
href="stylesheet.css">
for an external stylesheet in the same folder as your page.
if its in the head, add <style></style> either side of the styling code.
ditt0
January 31st, 2006, 08:19 AM
Oh those links in the paragraph..links should have special classes assigned or selectors defined in the css , they are not treated as text (in what regards color and text-decoration).
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.