|
|||
![]()
hallo forum,
habe folgendes problem: habe eine infobox in form eines div-containers. in diesen container möchte ich eine hintergrundgrafik fest positionieren. klappt im firefox aber nicht. dort wird das bild bei der angabe von background-attachment: fixed; nicht angezeigt. habe herausgefunden, dass css2 folgendes vorsieht: "If the background image is fixed within the viewport (see the 'background-attachment' property), the image is placed relative to the viewport instead of the element's padding area." wie bekomme ich nun dieses bild in den anzeigebereich des div containers? hier der code: .errorbox { height: 28px; margin: 20px 0px 20px 0px; padding: 8px 80px 8px 80px; border: 1px solid black; background-color: red; color: white; text-align: center; background-image: url("error.gif"); background-attachment: fixed; background-repeat: no-repeat; overflow: auto; } vg opa-rudi |
Sponsored Links |
![]() |
Themen-Optionen | |
Ansicht | |
|
|
![]() |
||||
Thema | Autor | Forum | Antworten | Letzter Beitrag |
Div springt falsch | Skiruna | CSS | 3 | 30.01.2012 13:31 |
Wie vergrößere ich die Gallery Boxen? | butters | CSS | 3 | 27.11.2011 03:56 |
CSS - CMS - lange Menus Balken/BG oben? | shinobi | CSS | 3 | 13.10.2011 22:12 |
Header entfernen | tripple | CSS | 17 | 15.06.2010 16:41 |
CSS Hack + IE6 + Div + Elternelement | BooKer | CSS | 7 | 12.01.2009 21:03 |