Hej
jeg har et problem.
Alt tekst som jeg skriver går ud af div.
- <!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>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>Hello</title>
- <link href="Layout.css" rel="stylesheet" type="text/css" />
-
- </head>
-
- <body>
- <div id="wrapper">
-
- <div id="header">
-
- </div>
-
-
-
- <br />
- <br />
- <br />
- <div id="Undermenu">
- HEJ
- </div>
- <br />
- <br />
- <br />
- <div id="body">
- TextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextText
- </div>
-
- </div>
-
- </body>
- </html>
- @charset "utf-8";
- /* CSS Document */
-
- * {
- margin: 0;
- padding: 0;
- }
-
-
-
-
- #wrapper{
- width:800px;
- margin-top: 45px;
- margin-right:auto;
- margin-left:auto;
- box-shadow: 10px 10px 5px #888;
- border-radius:10px;
- -moz-border-radius:10px;
- border-bottom-style:solid;
- border-width:thin;
-
- }
-
-
- #header{
- background-color:#fffcd6;
- border-bottom-style:solid;
- border-bottom-color: #963;
- margin-bottom: 5px;
- }
-
- #Undermenu{
- border:2px solid #a1a1a1;
- padding:10px 40px;
- background:#dddddd;
- border-radius:10px;
- -moz-border-radius:10px; /* Firefox 3.6 and earlier */
- height: 120px;
- margin-top: 10px;
-
- }
jeg vil gerne have at boxen skal automatisk udvide sig, når jeg tilføjer tekst.