Avatar of MOSTAGHASSI
MOSTAGHASSI
Flag for United States of America

asked on 

Css codes are visible in source codes of page,why?

Hello;

I use DW 2015 cc for creating webpage and above php file added the link of css file as:

<link  href="css/home-stylesheet.css" rel="stylesheet"/>

Open in new window


My css file also start with:
 
@charset "utf-8";
/* CSS Document */

body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	display: block;
    }

Open in new window


But when i see the source codes of php page i see that all css codes are included in the source codes,please let me know where is the problem?
Thanks
CSSHTMLPHP

Avatar of undefined
Last Comment
MOSTAGHASSI

8/22/2022 - Mon