Log In · Register

 
cant change font with php includes
Mulder
post Sep 4 2005, 11:46 AM
Post #1


i lost weight with Mulder!
*******

Group: Official Designer
Posts: 4,070
Joined: Jan 2005
Member No: 79,019



so, if you go to <my site>, you might notice that the bushisms stand out a lot.

so, im using <php inludes (i know that thats not exactly it, i dont feel like looking in my codes right now. but im using a random quote generator.

how do i change the font? ive put in the font tags around both the php includes and in the actual php file, ive put in a stylesheet, ...



help?
 
 
Start new topic
Replies
Mulder
post Sep 4 2005, 01:35 PM
Post #2


i lost weight with Mulder!
*******

Group: Official Designer
Posts: 4,070
Joined: Jan 2005
Member No: 79,019



ok, so this is the php file right now

CODE
<?
$quote = array(
1 => "Chew before you swallow.",
2 => "They want the federal government controlling Social Security like it's some kind of federal program.",
3 => "If we don't succeed, we run the risk of failure.",
4 => "I understand there's a suspicion that we-we're too security-conscience.",
5 => "I own a timber company? That's news to me. Need some wood?",
6 => "I wish I wasn't the war president. Who in the heck wants to be a war president? I don't.",
7 => "This is historic times.",
8 => "My job is to, like, think beyond the immediate.",
);
srand ((double) microtime() * 1000000);
$randnum = rand(1,8);
echo"$quote[$randnum]";
?>


so id make it
CODE
<div id="quotes" style="position:absolute; width:100; height:150; z-index:0; left:10; top:20">

<?
$quote = array(
1 => "Chew before you swallow.",
2 => "They want the federal government controlling Social Security like it's some kind of federal program.",
3 => "If we don't succeed, we run the risk of failure.",
4 => "I understand there's a suspicion that we-we're too security-conscience.",
5 => "I own a timber company? That's news to me. Need some wood?",
6 => "I wish I wasn't the war president. Who in the heck wants to be a war president? I don't.",
7 => "This is historic times.",
8 => "My job is to, like, think beyond the immediate.",
);
srand ((double) microtime() * 1000000);
$randnum = rand(1,8);
echo"$quote[$randnum]";
?>
</div>


and in my stylesheet, have
CODE
.quotes {
blah blah blah;}


?
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: