html - CSS works with FF and IE, but not Chrome -


i know 1 simple mistake i'm missing, second set of eyes great. following html , css connecting on firefox , ie, not chrome. i'm testing font size. chrome ignoring css.

html:

<!doctype html> <html lang="en"> <head>   <meta charset="utf-8">   <title>put title here later</title>   <meta name="description" content="what about?">   <meta name="author" content="my name">   <link rel="stylesheet" type="text/css" href="style.css"> </head> <body> <p>test</p> </body> </html> 

css:

p {     font-size: 100px; } 

chrome likes cache stylesheets. that's thing think different here given code provided. when have page loaded in chrome, try pressing ctr + shift + r hard reload.

if doesn't work, press f12 open inspector, go main browser window , click , hold reload button until sub menu pops up. there select "empty cache , hard reload".

also, sure have typed css , not copy , pasted it. it's rare, have seen copy-and-paste introduce hidden characters caused strange browser errors.


Comments