Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List of links, can't add style with CSS #181

Closed
DevBeginner1 opened this issue Oct 23, 2023 · 1 comment
Closed

List of links, can't add style with CSS #181

DevBeginner1 opened this issue Oct 23, 2023 · 1 comment

Comments

@DevBeginner1
Copy link

DevBeginner1 commented Oct 23, 2023

Hi.
I am new with web development.
I try to make a list of links, which consists to put all links on the top of a page, on one line, to have something like this.

links

Here is the HTML code :
`

{% block head %}
    {% endblock %}
</head>
<body>
    <ul id="list1">
        <li><a href="{{url_for('home_page')}}">Home</a></li>
        <li><a href="{{url_for('current_projects')}}">Current projects</a></li>
        <li><a href="{{url_for('about')}}">About us</a></li>
        <li><a href="{{url_for('contacts')}}">Contacts</a></li>
        <li><a href="{{url_for('help')}}">Help</a></li>
    </ul>

    {% block body %}

    {% endblock %}
</body>
`

But when I try to add styles to list elements ith css, nothing happens.

Thanks for your help.

@AllThingsSmitty
Copy link
Owner

Hi, your question isn't specific to the content in this repo. You will have a better chance of finding an answer if you post your question on Stackoverflow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants