Font weight and background not working!


#1

Hello there,
here is a html code snippet:
<div id="Jumbotron" align="center">
<h1>Hello There!</h1><br><hr>
</div>

and its CSS rule:
#Jumbotron{
padding: auto;
margin:auto;
background-image: url('C:\Users\Public\Pictures\Sample Pictures\Tulips.jpg');
padding:auto;
float:center;
text-align:center;
font-weight: 100;
}

But the background isn't appearing and the font weight isn't working too!
why?


#2

You running this online ? it won't work as your image is locally on your pc and the lesson is run online.

Also make Jumbotron to jumbotron lowecase j


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.