You are here: Re: Change included code « PHP Programming Language « IT news, forums, messages
Re: Change included code

Posted by Jerry Stuckle on 04/19/07 13:43

Jon Slaughter wrote:
> "Jon Slaughter" <Jon_Slaughter@Hotmail.com> wrote in message
> news:TbFVh.341$im2.122@newssvr22.news.prodigy.net...
>> "Geoff Muldoon" <geoff.muldoon@trap.gmail.com> wrote in message
>> news:MPG.2091bef7f337c72398991e@news.readfreenews.net...
>>> Jon_Slaughter@Hotmail.com says...
>>>
>>>> To bad this doesn't work. You don't seem to understand the issue. The
>>>> problem is that using the style sheet is not included properly.
>>>>
>>>> e.g., in the main html file I have
>>>>
>>>> <LINK REL=StyleSheet HREF="styles/main.css" TYPE="text/css">
>>> Iv'e joined this thread late, so maybe I'm off track, but wouldn't the
>>> following simple fix work:
>>>
>>> <LINK REL=StyleSheet HREF="/styles/main.css" TYPE="text/css">
>>>
>>> Just tell all the scripts (regarless of where they are) that the style
>>> sheet is to be sourced relative to the http document root.
>>>
>>
>> Tried it. Doesn't work.
>>
>> I'll try again to be sure but from what I recall it has the same effect in
>> both cases.
>>
>
> Nope, doesn't work.
>
>
>

It works if /styles is in the root directory of your website.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация