|
Posted by dorayme on 11/04/06 07:39
In article <454c11ca$0$22937$afc38c87@news.optusnet.com.au>,
"Vince Morgan" <vinhar@UNSPAMoptusnet.com.au> wrote:
> "dorayme" <doraymeRidThis@optusnet.com.au> wrote in message
> news:doraymeRidThis-ADDA69.13022904112006@news-vip.optusnet.com.au...
> > Show us the url with it in the head, and what platform, OS ,
> > which particular version of browser?
> >
> > --
> > dorayme
>
> Hi Dorayme,
> The IE vers is 6.0.2800.1106;
> Mozilla ActiveX Control v1.7.12;
> OS win2000.
> The IDE is Dev-PHP 2.0.12.
> I'm working in an IDE (local server) as I don't have a server on this
> (win2000) machine.
> However, below I have included code that replicates the problem when using
> <link>.
> The directory struct is,
>
> Root
> |-\Styles
> |-\HTML
>
> In the 'HTML' dir;
> <snip>
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
> "http://www.w3.org/TR/html4/strict.dtd">
> <html>
> <head>
> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
> <meta http-equiv="Page-Enter" content="blendTrans(Duration=0.2)">
> <meta http-equiv="Page-Exit" content="blendTrans(Duration=0.2)">
> <link rel=StyleSheet href="../Styles/reqHeader.css" type="text/css">
>
> <script type="text/javascript">
> var theForm = null;
> </script>
>
> </head>
> <body>
> <div class="Head">This is a test.<div>
> </body>
> </html>
>
> </snip>
>
> In the 'Styles' dir;
> <snip>
>
> .Head
> {
> color:#306090;
> font-family:Helvitica, Arial;
> font-weight:Bold;
> font-size:16px;
> }
>
> </snip>
>
> Perhaps the Mozilla control doesn't work exactly the same as the stand-alone
> browser? Thinking aloud textualy :)
>
> Vince
First thing I notice is no "" around the word Stylesheet in the
link to the sheet. But this is perhaps no problem. Next I notice
a failure to close the div after the test sentence. I reckon this
is a bit more important. Anyway, on the Mac version of Mozilla
(1.7.12) it does not stop it from appearing ok and being
controlled by the css when the file directory is as follows: the
css is in a folder (called Styles) within another folder. In this
last folder is another folder which contains the html file.
OK, lets take this again. I made a folder called "top", inside I
had 2 folders, one called "Styles" and one called "html". Inside
Stles was reqHeader.css while inside html was test666.html. This
had to be like this otherwise, no go. So are you getting your
paths right?
--
dorayme
Navigation:
[Reply to this message]
|