linking .css to php document.
I have some basic classes defined in the css file i.e.
.Red
{
font-family:Tahoma;
font-size;42px;
font-weight:bold;
color:Red;
}
.blue
{
font-family:Tahoma;
font-size;42px;
font-weight:bold;
color:Blue;
}
so now in my .php file when i try to output any html I'm not getting any styling from site.css i don't really know how to set up that link.
This gets no styling
<span=class="Blue" >
"Some text on my page and some text I added to see if the page is refreshing"
?>
</span>
This gets no styling
<?php print
<h1 class="Blue">"This is some text in plan HTML"
?>
</h1>
This gets no styling
<?php
print "<p class="Blue">"Hello World"</p> ;
?>
I know it's got to be some little nuance that I'm missing I think one of the issues is that in the .php document there is nothing to link the CSS file
-
KirkMcD -
Thanks - 1 reply
{{ DiscussionBoard.errors[6575540].message }}-
ronc0011 -
Thanks - 1 reply
{{ DiscussionBoard.errors[6576119].message }}-
ronc0011 -
Thanks - 1 reply
{{ DiscussionBoard.errors[6576220].message }}-
Brandon Tanner -
[ 1 ] Thanks
Signature{{ DiscussionBoard.errors[6576489].message }} -
-
-
-
-
wayfarer -
Thanks - 1 reply
SignatureI build web things, server things. I help build the startup Veenome. | Remote Programming Jobs{{ DiscussionBoard.errors[6577562].message }}-
ronc0011 -
Thanks - 1 reply
{{ DiscussionBoard.errors[6581954].message }}-
Carl Potts -
Thanks - 1 reply
{{ DiscussionBoard.errors[6582138].message }}-
wayfarer -
Thanks - 1 reply
SignatureI build web things, server things. I help build the startup Veenome. | Remote Programming Jobs{{ DiscussionBoard.errors[6582177].message }}-
Carl Potts -
Thanks - 1 reply
{{ DiscussionBoard.errors[6582261].message }}-
lazypuppy -
Thanks - 1 reply
{{ DiscussionBoard.errors[6582423].message }}-
Carl Potts -
Thanks - 2 replies
{{ DiscussionBoard.errors[6582511].message }}-
lazypuppy -
Thanks - 1 reply
{{ DiscussionBoard.errors[6582633].message }}-
Carl Potts -
Thanks
{{ DiscussionBoard.errors[6582715].message }} -
-
-
wayfarer -
Thanks
SignatureI build web things, server things. I help build the startup Veenome. | Remote Programming Jobs{{ DiscussionBoard.errors[6582741].message }} -
-
-
-
-
-
-
-
-
matt5409 -
Thanks
{{ DiscussionBoard.errors[6583729].message }} -
-
ALicenseToCode -
[ 1 ] Thanks - 1 reply
{{ DiscussionBoard.errors[6586483].message }}-
ronc0011 -
Thanks
{{ DiscussionBoard.errors[6588623].message }} -
-
-
SmartWeb -
Thanks
SignatureSmart Web Solutions{{ DiscussionBoard.errors[6601588].message }} -
-
jaasmit -
Thanks
{{ DiscussionBoard.errors[6611610].message }} -