PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > comp.info.authoring.CSS > Two images in background?
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Two images in background?

Réponse
 
LinkBack Outils de la discussion
Vieux 28/02/2008, 23h59   #1
Ian Hobson
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Two images in background?

Hi All,

The client has specified a CMS that generates html that is essentially a
table in a body tag.

!Doctype....
<html>
<head>....</head>
<body>
<table>
All the page here, with some transparent backgrounds.
</table>
</body>
</html>

Sadly it can't be changed.

Now he wants a background that is a 200*200 image, repeated in both
directions, but with a gradient.

The gradient is from near black at the top to old gold after 2 or 3
repetitions of the graphic, and then it is to be the graphic with the
old gold background further down the page. Some pages are only 3 repeats
tall, others are very long. Note - neither background is a plain colour.

I can create a 200 * 200 version and replicate it in both directions on
the body tag, to provide a plain version of the background.

I could create a 200 * 600 gradiented version and use repeat-X to
provide the gradient he wants at the top of the screen.

But I can see no way to place the gradient version over the plain
without adding a div to carry it.

Is there any way to do this?

Regards

Ian



  Réponse avec citation
Vieux 29/02/2008, 00h26   #2
C A Upsdell
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Two images in background?

Ian Hobson wrote:
> Hi All,
>
> The client has specified a CMS that generates html that is essentially a
> table in a body tag.
>
> !Doctype....
> <html>
> <head>....</head>
> <body>
> <table>
> All the page here, with some transparent backgrounds.
> </table>
> </body>
> </html>
>
> Sadly it can't be changed.
>
> Now he wants a background that is a 200*200 image, repeated in both
> directions, but with a gradient.
>
> The gradient is from near black at the top to old gold after 2 or 3
> repetitions of the graphic, and then it is to be the graphic with the
> old gold background further down the page. Some pages are only 3 repeats
> tall, others are very long. Note - neither background is a plain colour.
>
> I can create a 200 * 200 version and replicate it in both directions on
> the body tag, to provide a plain version of the background.
>
> I could create a 200 * 600 gradiented version and use repeat-X to
> provide the gradient he wants at the top of the screen.
>
> But I can see no way to place the gradient version over the plain
> without adding a div to carry it.
>
> Is there any way to do this?


I wonder if the TBODY can have a background image? If so, the TABLE
could have the gold image, and the TBODY the gradient image.



  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 02h44.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,08297 seconds with 10 queries