Skip to content
Snippets Groups Projects
Commit 768e167f authored by Anna Horndahl's avatar Anna Horndahl
Browse files

Exersice 1 klar

parent 98c20cd7
No related branches found
No related tags found
No related merge requests found
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Home page</title>
<link rel="stylesheet" href="style.css">
<script src="script.js"></script>
</head>
<body>
<div>
<img src="image5-small.jpg">
</div>
</body>
</html>
\ No newline at end of file
Exercise 1/image5-small.jpg

5.86 KiB

...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<div class="wrapper"> <div class="wrapper">
<div class="menu-container"> <div class="menu-container">
<ul id="menu"> <ul id="menu">
<li><div>Home</div></li> <li><div><a href="home.html" target="index-content">Home</a></div></li>
<li>-</li> <li>-</li>
<li><div>Slideshow</div></li> <li><div>Slideshow</div></li>
<li>-</li> <li>-</li>
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
</div> </div>
<div class="index-content-parent"> <div class="index-content-parent">
<iframe name="index-content" src="" ></iframe> <iframe name="index-content" src="home.html"></iframe>
</div> </div>
</div> </div>
......
...@@ -42,15 +42,5 @@ iframe { ...@@ -42,15 +42,5 @@ iframe {
width: 800px; width: 800px;
height: 500px; height: 500px;
margin-left: 150px; margin-left: 150px;
border: 0;
}
.index-content {
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
width: 100%;
height: 100%;
} }
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment