Admin:Map
From The Scuba Wiki
(Difference between revisions)
Line 1: | Line 1: | ||
+ | <html xmlns="http://www.w3.org/1999/xhtml"> | ||
+ | <head> | ||
+ | <title>Hidden Div</title> | ||
+ | </head> | ||
+ | |||
+ | <body> | ||
+ | <div id="main">This is not hidden.</div> | ||
+ | |||
+ | <div id="hidden">This is hidden.</div> | ||
+ | |||
+ | </body> | ||
+ | </html> | ||
+ | |||
+ | Ok now I will add some basic style to these boxes. | ||
+ | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
+ | <html xmlns="http://www.w3.org/1999/xhtml"> | ||
+ | <head> | ||
+ | <title>Hidden Div</title> | ||
+ | |||
+ | <style type="text/css"> | ||
+ | <!-- | ||
+ | #main{ | ||
+ | width:500px; | ||
+ | height: 20px; | ||
+ | background: lightblue; | ||
+ | } | ||
+ | #hidden { | ||
+ | width:300px; | ||
+ | height:20px; | ||
+ | background: lightgrey; | ||
+ | } | ||
+ | --> | ||
+ | </style> | ||
+ | |||
+ | </head> | ||
+ | |||
+ | <body> | ||
+ | <div id="main">This is not hidden.</div> | ||
+ | |||
+ | <div id="hidden">This is hidden.</div> | ||
+ | |||
+ | </body> | ||
+ | </html> | ||
+ | |||
+ | |||
+ | |||
+ | |||
<html> | <html> | ||
<script language="javascript" type="text/javascript" > | <script language="javascript" type="text/javascript" > |
Revision as of 19:10, 26 January 2010
This is not hidden.
Ok now I will add some basic style to these boxes. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
This is not hidden.
Category