my html code is :
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>web page </title>
<link rel=”stylesheet” type="text/css" href="css/style.css">
<div class="navdiv">SM FABRICATORS</div>
<li class="navulli"><a href="#" class="navullia">Home</a></li>
<li><a href="./about.html" class="navullia" >About</a></li>
<li><a href="./services.html" class="navullia" >Services</a></li>
<li><a href="./contact.html" class="navullia" >Contact</a></li>
and my css code is :
why cant I style my page please can any one help me ???
January 21, 2021, 9:35am
Where you put your css file?
In the same directory?
January 21, 2021, 9:37am
This is just a wild guess as we don’t have that many info, but
those quotes doesn’t seems standard:
". Perhaps they are causing HTML parsing error thus your style is not loaded?
January 21, 2021, 9:40am
I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (
</>) to add backticks around text.
this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).
thank you i did not wrote it correctly.
July 22, 2021, 9:53pm
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.