Skip to content

Commit 5f49d4c

Browse files
author
Kaleb Haslam
committed
Added source code for 29 and 30
1 parent 98325d7 commit 5f49d4c

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

XHTML and CSS/Tut-29_div/index.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<!DOCTYPE html>
2+
3+
<html>
4+
<head>
5+
<style type="text/css">
6+
div {border:2px solid red;
7+
position:absolute;
8+
width:300px;
9+
top:40px;
10+
left:35px;}
11+
</style>
12+
</head>
13+
<body>
14+
<div>my name is bucky</div>
15+
</body>
16+
</html>
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<!DOCTYPE html>
2+
3+
<html>
4+
<head>
5+
<style type="text/css">
6+
.redtext {color:red;}
7+
.greengoblins {color:green;}
8+
</style>
9+
</head>
10+
<body>
11+
<p class="redtext">i want this tesxt to be red!</p>
12+
<p class="greengoblins">boy oh boy i wish I was GREEN!</p>
13+
</body>
14+
</html>

0 commit comments

Comments
 (0)