---
title: "lite trött men CSS problem"
type: "forum-thread"
url: "https://www.webforum.nu/amne/html-css/138591-lite-trött-men-css-problem"
topic: "HTML & CSS"
topic_url: "https://www.webforum.nu/amne/html-css"
author: "voigtann1"
published: "2005-12-01T19:05:30.000Z"
updated: "2005-12-01T23:34:40.000Z"
replies: 2
views: 264
page: 1
pages: 1
language: "sv-SE"
site: "webForum — webforum.nu"
rights: "Upphovsrätten till varje inlägg tillhör dess författare."
attribution: "Citera som: webForum, https://www.webforum.nu/amne/html-css/138591-lite-trött-men-css-problem"
---

# lite trött men CSS problem

## #1 — voigtann1, 2005-12-01T19:05Z

Jag har två problem 
Jag försöker göra en (nästan 100%) sida men jag skulle vilja att "toppen" har ändå lite luft. så att den inte blir riktigt 100% ändå.

Och själva #text id vill jag att den ska fylla det resterande i det vita innehållet:

```
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title></title>
<style type="text/css" media="screen,projection">
@import url(style.css);
</style>
</head>
<body>

<div id='content'>
  <div id='logo'>
    <div id='logo2'></div>

  </div>
  <div id='text'>aaa</div>
</div>

</body>
</html>
```

```
body
{
	background-color:#ddd;
	height:100%;
}

#content
{
	border: 1px solid #999;
	height:95%;
	background-color:#fff;
	width:800px;
	margin: 0 auto;
	min-height:95%;
}
#logo
{
	border: 1px solid #880000;
	background: #993333;
	height: 70px;
	margin:10px;
	margin-bottom: 5px;
	padding:0px;
}
* html #logo
{
	height:72px;
}

#text
{
	border: 1px solid #bbbbaa;
	background: #ddddcc;
	margin:10px;
	margin-top:5px;
}
#logo2
{
	width:96px;
	height:110px;
	background: url(qi.gif) no-repeat;
	float:left;
	position:absolute;
	top:0px;
	margin-left:60px;
}
* html #logo2
{
	top: 7px;	
}
```

Permalänk: https://www.webforum.nu/p/138591

## #2 — caya, 2005-12-01T20:53Z

sätt 
margin-top:vaddunuvillha; 
på #content

Permalänk: https://www.webforum.nu/p/1720637

## #3 — voigtann1, 2005-12-01T23:34Z

Hur löser man med bordern då... den kommer bli fel med 2px..

Permalänk: https://www.webforum.nu/p/1720763

---

Tråden på webben: https://www.webforum.nu/amne/html-css/138591-lite-trött-men-css-problem
