Dear Sukhy Gill,

I think you should check the link.
The single inverted comma is missing here,
<Link rel="stylesheet" href="{% static 'css/syle.css %} />

try this
<Link rel="stylesheet" href="{% static 'css/syle.css' %} />

Thanks,
Aniket

On Sat, May 29, 2021 at 12:09 AM sukhy gill <sukhy.gill1...@gmail.com>
wrote:

> Dear Frnds
>                 I am unable to  link CSS with HTML
> HTML working but CSS not working inside the .html file with the help of
> LINK in <head> tag
>
> I am using thefollowings:-
> Setting.py -  STATICFILES_DIRS=[os.path.join(BASE_DIR, 'static'),]
> HTML- {% load static %}
> <Link rel="stylesheet" href="{% static 'css/syle.css %} />
>
> Regards
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/3ca2aba0-a58f-4298-b248-16c51bdf90a6n%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/3ca2aba0-a58f-4298-b248-16c51bdf90a6n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CANPrwf9QNVZLzKJVYOtzw%3DjQ_Z8Gaq0gfSkv%2B3wuz936pNNatg%40mail.gmail.com.

Reply via email to