Re: Re: PHP & CSS

From: Date: Mon, 06 Oct 2003 18:44:28 +0000
Subject: Re: Re: PHP & CSS
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-165228@lists.php.net to get a copy of this message
On Mon, 6 Oct 2003 13:18:00 -0500 "erythros" <erythros@erythros.com> wrote: > people will still be able to see your style sheet, by folling the > link to your css file. > how are you apling the variables in the first place? now that you > are link to a style sheet what has changed (apperance wise) with > the output of the page. is the formating not being applied? can > you send a sample of what you are trying to do? You're right. They'll be able to follow the link. Maybe I'm just being silly, but I'm thinking that I don't want the style sheet in the HTML <head></head> ========= The HTML is currently created using PHP, for example: <?php include and read the ini file print("<html><head>"); print("<script type=\"text/javascript\" charset=\"ISO-8859-1\">); print the style sheet details using variables from ini file print("</script">); print("</head><body>"); ========= Instead, I would like to do this, applying the variables to the linked style sheet: <?php include and read the ini file print("<html><head>"); print("<link href="path/to/style.css" rel="stylesheet" type="text/css">"); print("</head><body>"); ========== I haven't tried it yet, but David's idea makes a lot of sense. -- Raquel ============================================================ He who possesses the source of enthusiasm will achieve great things. Doubt not. You will gather friends around you as a hair clasp gathers the hair. --I Ching (B.C. ?)

« previous php.general (#165228) next »