Board index   FAQ   Search  
Register  Login
Board index php forum :: HTML CSS

external css stylesheet doesnt work

Questions and tutorials related to Cascading Style Sheets *all versions*

Moderators: macek, egami, gesf

external css stylesheet doesnt work

Postby Komlan » Sun Jun 17, 2012 6:50 am

Since i have starting IIS with my php 5.2.17 i cant use external stylesheet. I have tried on other computer ,without changing the code, and it was working so i know the problem isnt my code.
Furthermore i cant display any images.......

I think the problem is in my php.ini but i searched and but without result..
Komlan
New php-forum User
New php-forum User
 
Posts: 4
Joined: Sat Apr 28, 2012 7:12 am

Re: external css stylesheet doesnt work

Postby freshnet » Fri Jul 27, 2012 5:36 am

The stylesheet shouldn't have anything to do with your php.ini file, but to test that, create a plain html file and try to use the external stylesheet. If it doesn't work, I'm guessing it's most likely a setting either in your browser or in IIS.
User avatar
freshnet
php-forum Active User
php-forum Active User
 
Posts: 277
Joined: Tue Feb 22, 2011 8:19 am
Location: Canada

Re: external css stylesheet doesnt work

Postby bliss » Sun Jul 29, 2012 5:48 pm

Doesn't this (between head tags) work?

Code: Select all
<link rel="stylesheet" type="text/css" href="link" />


Replace 'link' with the external sheet link.
bliss
New php-forum User
New php-forum User
 
Posts: 24
Joined: Sun Jul 29, 2012 5:38 pm


Return to CSS

Who is online

Users browsing this forum: No registered users and 0 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.

cron