Can't load css & js in the right way in index.php
-
Dear,
I got a big problem in loading css & js files in Head tag in index.php. The problem happens with Chrome, but Firefox is okie.
When I open my website with Chrome, there is about 10px padding from top. When I open Chrome’s Inspect elements, I see an abnormal. There’s nothing loaded in <head> tag, <title> and all other css, js & meta tag loaded in <body> tag. When I view the code, everything is right, and normal.
This is the code from Inspect Element:
========================================================
<!DOCTYPE html>
<html>
<head></head>
<body <body cz-shortcut-listen=”true”>
” “
<title>My website | Tâm Vũ Nguyệt Lau</title>
<meta charset=”UTF-8″>
<meta name=”viewport” content=”width=device-width, initial-scale=1.0″>
<link rel=”shortcut icon” href=”img/favicon.ico”>
<link rel=”stylesheet” id=”main-css” href=”http://localhost/tamvu/wp-content/themes/job/style.css” type=”text/css” media=”all”>
<link rel=”stylesheet” id=”main-css” href=”http://localhost/tamvu/wp-content/themes/job/css/job.css” type=”text/css” media=”all”>
===========================================================
Please help me to find out the solution to this. This makes my website not appear in IE.
You can check it at: http://onthitienganh.net
I manual adapt this theme from smashingmagazine.com
- The topic ‘Can't load css & js in the right way in index.php’ is closed to new replies.