Re: [PHP] CSS with PHP?

2001-09-03 Thread David Robley

On Mon,  3 Sep 2001 13:18, Ashlyn wrote:
 I am using a downloaded PHP sitesearch script and can not get it to
 read the page contents past the style sheet..

 If I search a text file it will give me the contents exactly as I wish,
 but if I search a html document it only gives me the page title and
 site links..

 The page in question is at
 http://www.themysticmoon.com/booksfiles/search.php and if you type in
 conway it will show you exactly what I mean. First listing is html
 page, second is text... I need it to look like second listing..

 In the readme file it said to
 When using CSS and Javascript make sure you enclose it in comments or
 place it in an external file, otherwise the indexer will index it. 

 This is way over the top of my head...I am using a linked stylesheet
 for the whole site..
 Any ideas gladly welcomed..
 Thanks
 Ashlyn


Well, without knowing more about your search engine, in your page
 http://www.themysticmoon.com/booksfiles/celtic.html

try referencing your stylesheet without a full URL. That is, use

LINK REL=stylesheet HREF=/sitestyle.css TYPE=text/css

Oh, and I think your stylesheet has a specific font referenced which 
doesn't exist on my machine. Somehow I don't think the results are as you 
would like them to be :-)

-- 
David Robley  Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES  Flinders University, SOUTH AUSTRALIA  

   Closed Hearing for the Caption Impaired...

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] CSS with PHP?

2001-09-02 Thread Ashlyn

I am using a downloaded PHP sitesearch script and can not get it to read the
page contents past the style sheet..

If I search a text file it will give me the contents exactly as I wish, but
if I search a html document it only gives me the page title and site links..

The page in question is at
http://www.themysticmoon.com/booksfiles/search.php and if you type in conway
it will show you exactly what I mean. First listing is html page, second is
text... I need it to look like second listing..

In the readme file it said to
When using CSS and Javascript make sure you enclose it in comments or place
it in an external file, otherwise the indexer will index it. 

This is way over the top of my head...I am using a linked stylesheet for the
whole site..
Any ideas gladly welcomed..
Thanks
Ashlyn



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] CSS with PHP

2001-02-02 Thread Brandon Orther

Hello

Sorry if this is a little off subject, but I am working on a php script that
changes the CSS of all the pages in a web site.  I was wondering if in CSS
you could make a CSS that made all text a certain color and size. not
including links and form objects

Thank you,


Brandon Orther
WebIntellects Design/Development Manager
[EMAIL PROTECTED]
800-994-6364
www.webintellects.com



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] CSS with PHP

2001-02-02 Thread stankusn

Yes

just include this tag in the head of you HTML
LINK HREF="style.css" type="text/css" rel="stylesheet"


then call this style.css
A:link { color: #66; font-size: 9pt; font-family: Verdana, Helvetica,
Arial; }
A:active { color: black; font-size: 9pt; font-family: Verdana, Helvetica,
Arial; }
A:visited { color: #66; font-size: 9pt; font-family: Verdana, Helvetica,
Arial; }
A:hover { color: black; font-size: 9pt; font-family: Verdana, Helvetica,
Arial; }

DIV.topright { color: #00; font-size: 9pt; face: Verdana, Helvetica,
Arial; }
P.main { text-indent: 1em; color: #66; font-size: 9pt; face: Verdana,
Helvetica, Arial; }
P.titlebar { text-indent: 2em; color: #66; font-size: 9pt; face:
Verdana, Helvetica, Arial; }

BODY { background: #66; font-size: 9pt; font-family: Verdana, Arial,
Helvetica, sans-serif; font-color="#66";  }
FONT.titlebar { color: #66; font-weight: 700; font-size: 45pt;
font-family: Garamond, Verdana, Helvetica;}
I { color: #66; font-size: 20pt; font-family: times new roman,
Helvetica;  }
B { color: #66; font-size: 20pt; font-family: times new roman, Arial,
Verdana, Helvetica, Arial;}

this is a sample from one of my sites...it changes everything in the body
tag and the links will change toothe FONT.titlebar will change anything
that has a class="titlebar" tag in the HTML (eg. font class="titlebar" )

hope this helpshere is an example of changing the link color based on
story.
http://konversion.thekult.org
mouse around a little. you'll see what I mean...

nixter
---
Nick.Stankus
Software Engineer
Logicon/Sterling Federal
402-232-7870
---
"There are two things that are infinite; Human stupidity and the
universe. And I'm not sure about the universe." - Albert Einstein

- Original Message -
From: "Brandon Orther" [EMAIL PROTECTED]
To: "PHP User Group" [EMAIL PROTECTED]
Sent: Friday, February 02, 2001 2:37 PM
Subject: [PHP] CSS with PHP


| Hello
|
| Sorry if this is a little off subject, but I am working on a php script
that
| changes the CSS of all the pages in a web site.  I was wondering if in CSS
| you could make a CSS that made all text a certain color and size. not
| including links and form objects
|
| Thank you,
|
| 
| Brandon Orther
| WebIntellects Design/Development Manager
| [EMAIL PROTECTED]
| 800-994-6364
| www.webintellects.com
| 
|
|
| --
| PHP General Mailing List (http://www.php.net/)
| To unsubscribe, e-mail: [EMAIL PROTECTED]
| For additional commands, e-mail: [EMAIL PROTECTED]
| To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] CSS and PHP

2001-01-18 Thread Brandon Orther

Hello,

I am making a script that creates a dynamic htm page.  One of the many
things that this script does is change the css.  The problem I am having is
that it doesn't seem to display the css when it is loaded through the web
server.  When I look at the source and save it as an htm file.  It loads up
perfectly.  Has anyone ever had this problem before?

Thank you,


Brandon Orther
WebIntellects Design/Development Manager
[EMAIL PROTECTED]
800-994-6364
www.webintellects.com



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] CSS and PHP

2001-01-18 Thread Chris Adams

On 18 Jan 2001 08:58:45 -0800, Brandon Orther [EMAIL PROTECTED] wrote:
I am making a script that creates a dynamic htm page.  One of the many
things that this script does is change the css.  The problem I am having is
that it doesn't seem to display the css when it is loaded through the web
server.  When I look at the source and save it as an htm file.  It loads up
perfectly.  Has anyone ever had this problem before?

PHP doesn't care about the bytes being sent, so there shouldn't be any special
problems related to CSS. Have you verified whether or not any of what you
expect is showing up in the generated HTML? At a guess, there's something
slightly wrong in the generated code which is causing a display failure. If
you're saving it through IE, some of the save options will have IE save it's
internal parsed version (it's the same cause as the difference between View
Source's code and View Partial Source's output), which could explain why that
works.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]