html - I can`t change the font size and the font style for my website`s home page -


i want change font size, color , style.

this html code:

<div id="content">          <center><h1>learn</h1></center>      </div> 

.. , css code:

 #content{ margin: 70px 0; background: none; padding: 60px; clear: both; padding: 195px; font-style: verdana; font-color:white;  } 

your css rule should be

#content{   margin: 70px 0;   background: none;   padding: 60px;   clear: both;   padding: 195px;   font-family: verdana sans-serif; /* changed */   color:white; /* changed */ } 

however, these settings going have white text on white background -> text invisible, should change "color" setting


Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -