Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CCS Style Sheet does not connect on live web site?

Status
Not open for further replies.

gus121

Technical User
May 9, 2002
298
GB
Hi Setup website locally no problem.

Place on live website site. Site relative link for style sheet does not appear to connect through everything else does.

<link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; src=&quot;/newsite/tdci.css&quot;>
<script type=&quot;text/javascript&quot; src=&quot;/newsite/inc/function.js&quot;></script>
<script type=&quot;text/javascript&quot; src=&quot;/newsite/code/ezdata.js&quot;></script>

website address:

Any Sugestions

Angus
 
Your syntax looks fine. Double check the naming of the actual style(s) you're trying to apply.
 
Hi thanks.
I managed to get the home page to work by complete fluke.
I new that the web page was been hosted on linux red hat so I looked at the source code of there home website. The first style sheet on the page used this syntax i had never seen this before.

<style type=&quot;text/css&quot; media=&quot;all&quot;>@import &quot;/newsite/tdci.css&quot;;</style>

Instead of using this syntax:
<link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; src=&quot;/newsite/tdci.css&quot;>

I used this:
<style type=&quot;text/css&quot; media=&quot;all&quot;>@import &quot;/newsite/tdci.css&quot;;</style>

Can anyone explain the difference. What its doing? Is there a reason for this?

Angus
 
The DHTML Menus dont work in NS7.1 now? When they do on the local version? umm.. puzzling?

Angus
 
Try changing this:

<link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; src=&quot;/newsite/tdci.css&quot;>

to this:

<link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; src=&quot;newsite/tdci.css&quot;>

There's always a better way. The fun is trying to find it!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top