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

[Bug]: in-line CSS and external css is present #58

Open
CBID2 opened this issue Oct 25, 2024 · 0 comments
Open

[Bug]: in-line CSS and external css is present #58

CBID2 opened this issue Oct 25, 2024 · 0 comments

Comments

@CBID2
Copy link
Contributor

CBID2 commented Oct 25, 2024

Description

In the final touches file, both of the images contain in-line CSS:

  1. <img style="width: 150px;" src="https://cdn.pixabay.com/photo/2014/10/27/18/32/obsidian-505332_960_720.jpg" alt="Obsidian" />
  2. <img style="width: 150px;" src="https://cdn.pixabay.com/photo/2014/10/27/18/32/obsidian-505332_960_720.jpg" alt="Obsidian" />

    Since there is external CSS, it best to avoid using it and inline CSS at the same time because most often, they can't be reused.

Solution

Place the inline CSS in the external CSS section.

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

1 participant