CSS width, height, and overflow | Computer Programming | Khan Academy

preview_player
Показать описание
Created by: pamela

Computer Programming on Khan Academy: Learn how to program drawings, animations, and games using JavaScript & ProcessingJS, or learn how to create webpages with HTML & CSS. You can share whatever you create, explore what others have created and learn from each other!

For free. For everyone. Forever. #YouCanLearnAnything

Рекомендации по теме
Комментарии
Автор

I'm having trouble completing the challenge after this video, which is "The Boxer Model", and I don't know why. I've widened the margins of the pictures of the boxers, but the program isn't telling me to do anything else. Here's my input within the code.

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Challenge: The boxer model</title>
<style>
body {
font-family: cursive;
}
.photo-gallery {
background: rgb(255, 254, 217);

}
.photo {
width: 200px;
border: 8px solid rgb(24, 38, 242);
}
#doggie-tan{
margin-right: 200px;
margin-bottom: 35px;
}
#doggie-chillin{
margin-bottom: 35px;
}
#doggie-tongue{
margin-left: 216px;
}
#container{
width: 660px;
height: 900px;
}

</style>
</head>
<body>

<div id="container">
<h1>Boxers are beautiful?</h1>

<div class="photo-gallery">




</div>
</div>
</body>
</html>

If anyone sees something that I've missed, PLEASE let me know, because not knowing is killing me!

adonisjackson