我试图添加css代码到头标签。css样式来自于短代码。标题文本来自短代码和标题颜色/字体大小。等等,这是一个例子。
<html>
<head>
<?php wp_head(); ?>
.................. (some style, js) ..................
/* I want to put all of css styles into head tag from into body tags */
</head>
<body>
<?php
//shortcode css from use
我正在使用创建一个对话框窗口。要在对话框中显示的div具有类' dialog‘。
让我们先来看看html:
<div class="click_me">
Click Me
</div><!-- end of class click_me-->
<div class="dialog">
this is my dialog
</div>
css和javascript如下:
<style type="text/css">
.click_me{
width:
尝试在我的django项目中添加一个滑块到html页面,但是css和javascript没有加载。由于这一点,而不是滑块是一个实际的滑块。图像滑过,我得到一条垂直的图片线。这些是我在浏览器控制台中得到的错误 Failed to load resource: the server responded with a status of 404 (Not Found)
slider.js:1 Uncaught ReferenceError: $ is not defined
at slider.js:1
main.js:1 Failed to load resource: the serv