【发布时间】:2013-07-01 06:15:17
【问题描述】:
我用 HTML、JavaScript、CSS 创建了一个简单的 - HelloWorld.html 网页。
当我从 Eclipse IDE 运行它时,它可以在浏览器上完美运行。
What it does is like: the page has 5 buttons,
and hellow World is displayed from 5 different <div>'s
that remains hidden and appears as inline after button click.
当我导航到工作区并尝试在浏览器中手动打开 HelloWorld.html 文件时,没有任何反应。
在外部 css 文件中声明的所有属性:位置和 bgcolors 等对浏览器没有影响。
我知道这听起来很愚蠢,但我只是为此痛恨自己。 有谁知道它为什么会这样?
PS: 1. 我的文件中没有服务器端脚本。 2. HTML、JS、CSS是不同的文件。
【问题讨论】:
-
能否提供完整的代码???
标签: javascript html css webpage