WCM Forum

WCM Forum (http://www.wcm.at/forum/index.php)
-   Programmierung (http://www.wcm.at/forum/forumdisplay.php?f=17)
-   -   background bild nur horizontal kacheln? (http://www.wcm.at/forum/showthread.php?t=231926)

tessi 24.11.2008 10:50

background bild nur horizontal kacheln?
 
hallo!

kann man ein hintergrund-bild nur horizontal kacheln?

wenn ja - wie mach ich das?

danke!!

zAPPEL 24.11.2008 11:00

background: url(meinbild.jpg) top left repeat-y;

lg Mathias

tessi 24.11.2008 11:08

danke.

stimmt das so:

<body color="#000000" background="kerzeneu.jpg" top left repeat-y;>

tessi 24.11.2008 11:17

oder so:

<body color="#000000" background="kerzeneu.jpg" background-repeat: repeat-y;>

tessi 24.11.2008 11:22

ok .... stimmt wohl beides nicht

zAPPEL 24.11.2008 11:22

Nein, das ist eine CSS Angabe, das muss so aussehen:

<body style="background:url(kerzeneu.jpg) top left repeat-y #000;" >

tessi 24.11.2008 11:24

super. vielen dank.

nur statt y gehört x.

tessi 24.11.2008 13:38

könntest du mir auch bitte noch sagen wie man ein hintergrundbild nicht kachelt und zentriert?

so auf die art stell ich mir das vor:

http://www.cssplay.co.uk/layouts/background.html

tessi 24.11.2008 13:42

ich glaub, ich habs so ungefähr grad rausgefunden:

<body style="background-image:url(test.jpg);background-repeat:no-repeat; background-position:center middle;" text="#000000" bgcolor="#ffffff" link="#000000" vlink="#000000" alink="#000000">


Alle Zeitangaben in WEZ +2. Es ist jetzt 09:00 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© 2009 FSL Verlag