Saturday, May 29, 2021

Re: CSS not linking with HTML

Done but not working
Regards

On Sat, May 29, 2021, 22:17 Chelsea Fan <allaberdi16yazhanow@gmail.com wrote:
try to change settings 

STATIC_DIR = [
os.path.join(BASE_DIR,'static')
]

On Fri, May 28, 2021 at 9:38 PM sukhy gill <sukhy.gill1989@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+unsubscribe@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.

--
You received this message because you are subscribed to a topic in the Google Groups "Django users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-users/qGMoFXNAgww/unsubscribe.
To unsubscribe from this group and all its topics, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAJwZnddGgtyEE%2BHRxPAf%2BHb1FTxUgN9%3DOCOV%2BdLB%3DF2KH77Jiw%40mail.gmail.com.

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAJ8btZbjJeKM7kCoozJF%3Ds20cqKUum4%3DumhWRmyrhYXcMkL0qA%40mail.gmail.com.

No comments:

Post a Comment