Visa ett inlägg
Oläst 2005-05-08, 17:45 #8
bakgrund bakgrund är inte uppkopplad
Nykomling
 
Reg.datum: Feb 2004
Inlägg: 10
bakgrund bakgrund är inte uppkopplad
Nykomling
 
Reg.datum: Feb 2004
Inlägg: 10
Jag gjorde en sida till en kund med hörn (ej runda) men jag fick ge upp efter ett tag.
När jag infogade bilder i contentboxen uppståd det fel i Explorer och i Firefox.
Bakgrundsfärgen gick igenom contentboxen fast den inte skulle göra det.

Så här ser den CSS kod som jag testade:

div.Article {
background: url("images/topleft.gif") top left no-repeat;
position:relative;
}
div.Article h3 {
position:relative;
background: url("images/topright.gif") top right no-repeat;
font-size:1.3em;
padding:15px;
padding-left:0;
margin:0;
right:-8px;
}
div.ArticleBody {
background: url("images/right.gif") top right repeat-y;
margin:0;
margin-top:-2em;
padding:15px;
padding-left:0;
position:relative;
right:-8px;
}
div.ArticleFooter {
background: url("images/bottomleft.gif") bottom left no-repeat;
position:relative;
top:7px;

}
div.ArticleFooter p {
background: url("images/bottomright.gif") bottom right no-repeat;
padding:15px;
padding-left:0;
display:block;
margin:-2em 0 0 0;
position:relative;
right:-8px;
}
div.ArticleLongContent {
background: url("images/left.gif") top left repeat-y;
}
bakgrund är inte uppkopplad   Svara med citatSvara med citat