Mange tak men det virker stadig ik
![:'( :'(](/images/smileys/cry.gif)
Det teksten skal gøre er at min. være sidens højde men hvis teksten indeni overskrider den højde følger boxens højde også med.
Jeg indsatte koden i mit stylesheet så det så sådan ud:
body
{
background-color: rgb(194,193,193);
}
#topbanner
{
position: absolute;
left: 50%;
top: 0px;
margin-left: -325px;
}
#maincolumn
{
position: absolute;
left: 50%;
top: 0px;
width: 670px;
background-color: white;
margin-left: -335px;
min-height: 100%;
height: auto !important;
}
#menu
{
position: absolute;
left: 50%;
top: 110px;
margin-left: -300px;
color: white;
}
a.menu
{
color: white;
}
a.menu:link
{
color: white;
text-decoration:none;
}
a.menu:visited {
color: white;
text-decoration:none;
}
a.menu:active {
color: white;
text-decoration:none;
}
a.menu:hover {
color: rgb(0,114,156);
text-decoration:none;
}
a
{
color: rgb(114,111,112);
border-style: hidden;
}
a:link
{
color: rgb(114,111,112);
text-decoration:none;
border-style: hidden;
}
a:visited {
color: rgb(114,111,112);
text-decoration:none;
border-style: hidden;
}
a:active
{
color: rgb(114,111,112);
text-decoration:none;
border-style: hidden;
}
a:hover
{
color: black;
text-decoration:none;
border-style: hidden;
}
.roundcont
{
width: 150px;
background-color: rgb(222,222,221);
color: rgb(114,111,112);
position: absolute;
left: 50%;
top: 150px;
margin-left: 175px;
z-index: 2;
}
.roundcont p
{
margin: 0 10px;
}
.roundtop
{
background: url(images/tr.png) no-repeat top right;
}
.roundbottom
{
background: url(images/br.png) no-repeat top right;
}
img.corner
{
width: 15px;
height: 15px;
border: none;
display: block !important;
}
p
{
color: rgb(114,112,111)
}
#textbox
{
z-index: 3;
position: absolute;
left: 50%;
top: 150px;
margin-left: -335px;
width: 480px;
padding: 10px 10px 10px 10px;
}
#submenutext
{
margin: 10px 10px 10px 10px;
}
#copyright
{
position: absolute;
left: 50%;
bottom: 4px;
margin-left: -240px;
color: rgb(114,111,112);
z-index: 2;
}
.logo
{
border-style: hidden;
}
(boxen hedder #maincolumn)
Det virker dog stadig ik(i firefox 3)
som her(scroll ned og du kan se at boxen ikke følger med teksten)
http://svendbenno.dk/NewDesign/
Indlæg senest redigeret d. 08.12.2008 16:41 af Bruger #14210