[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 379: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 379: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Webmasterplein.net • Toon onderwerp - Css plaatje als background color
aan alle goede dingen komt een eind, webmasterplein.net 2003 - 2013
wij danken jullie voor al mooie momenten die dankzij dit forum ontstonden - Derk, Rutger en Stef

Css plaatje als background color

Het echte opmaakwerk, alles vragen over HTMLen, CSSen en Javascripten.

Css plaatje als background color

Berichtdoor Moonstrike » 19 jan 2008 20:30

Is het mogelijk om via Css een div een plaatje van 1x1 als background color te doen?
Want Ie6 loopt te kloten en weergeeft de kleuren anders dan in Firefox, en de gewone background gebruik voor een gradient die alleen verticaal wordt herhaalt.
Avatar gebruiker
Moonstrike
wmpr
 
Berichten: 3287
Geregistreerd: 22 apr 2006 14:40
Woonplaats: Lui lekker land 8)

Re: Css plaatje als background color

Berichtdoor ElbertF » 19 jan 2008 20:33

Ik begrijp niet helemaal wat er fout gaat, kun je het verschil laten zien?

Antwoord op je vraag: ja, .
Avatar gebruiker
ElbertF
wmpr
 
Berichten: 1310
Geregistreerd: 14 nov 2007 22:09

Re: Css plaatje als background color

Berichtdoor Moonstrike » 19 jan 2008 21:05

Nee dat bedoel ik niet, Ik heb een Div waar ik een gradient in heb.
Die gradient is een achtergrond plaatje dat alleen verticaal herhaalt wordt, maar ik wel da t de div rekbaar is dus heb ik hem ook een background color mee gegeven.

Zo ziet het eruit in FF

Zo in IE
Avatar gebruiker
Moonstrike
wmpr
 
Berichten: 3287
Geregistreerd: 22 apr 2006 14:40
Woonplaats: Lui lekker land 8)

Re: Css plaatje als background color

Berichtdoor ElbertF » 19 jan 2008 21:42

Welke code gebruik je dan, ik heb nog nooit kleurverschillen meegemaakt. Je kan geen twee achtergrondafbeeldingen instellen voor één element, ik toekomstige HTML-versies misschien wel. :razz:
Avatar gebruiker
ElbertF
wmpr
 
Berichten: 1310
Geregistreerd: 14 nov 2007 22:09

Re: Css plaatje als background color

Berichtdoor Moonstrike » 19 jan 2008 21:45

Avatar gebruiker
Moonstrike
wmpr
 
Berichten: 3287
Geregistreerd: 22 apr 2006 14:40
Woonplaats: Lui lekker land 8)

Re: Css plaatje als background color

Berichtdoor ElbertF » 19 jan 2008 22:10

#0066CC is gewoon web safe. background-color kan geen URL-waarde hebben nee.. Kun je me dit online laten zien? :shock:
Avatar gebruiker
ElbertF
wmpr
 
Berichten: 1310
Geregistreerd: 14 nov 2007 22:09

Re: Css plaatje als background color

Berichtdoor Moonstrike » 20 jan 2008 12:05

http://www.freewebs.com/testmoonstrike/
Heb ook nog is bij die site gepost die jij gaf in dat andere topic, maar daar loopt Ie als enigste te kloten. :|
Avatar gebruiker
Moonstrike
wmpr
 
Berichten: 3287
Geregistreerd: 22 apr 2006 14:40
Woonplaats: Lui lekker land 8)

Re: Css plaatje als background color

Berichtdoor ElbertF » 20 jan 2008 12:43

't Is gezichtsbedrog, de achtergrondkleur gewoon goed maar de kleur van de PNG afbeeldingen wijken af. Probeer deze eens anders op te slaan of anders een GIF als dat kan. :}

Afbeelding
Avatar gebruiker
ElbertF
wmpr
 
Berichten: 1310
Geregistreerd: 14 nov 2007 22:09

Re: Css plaatje als background color

Berichtdoor Moonstrike » 20 jan 2008 13:45

Hoe kan een png nou verschillen in browsers ?

Edit: Yes, het werkt door hem als gif op te slaan, Thx alleen nu de ronde hoeken ook nog even in gif opslaan, hopen dat die dan ook kloppen.
Edit2:Ronde hoeken werken nu ook mee :D, maar hoe kan Ie een png anders weergeven dan FF ?
Avatar gebruiker
Moonstrike
wmpr
 
Berichten: 3287
Geregistreerd: 22 apr 2006 14:40
Woonplaats: Lui lekker land 8)

Re: Css plaatje als background color

Berichtdoor Remi » 20 jan 2008 14:04

Dat komt omdat IE nog steeds slecht overweg kan met png bestanden.
Maar in FireWorks heb ik bij de export een knopje, waardoor die ook goed werkt in IE 8-)
Avatar gebruiker
Remi
wmpr
 
Berichten: 3010
Geregistreerd: 04 apr 2006 15:22

Re: Css plaatje als background color

Berichtdoor Moonstrike » 20 jan 2008 14:09

Past hij hem dan aan voor Ie6 ofzo? En is dat niet het zelfde als bij photoshop save for web?
Avatar gebruiker
Moonstrike
wmpr
 
Berichten: 3287
Geregistreerd: 22 apr 2006 14:40
Woonplaats: Lui lekker land 8)

Re: Css plaatje als background color

Berichtdoor ElbertF » 20 jan 2008 14:41

Avatar gebruiker
ElbertF
wmpr
 
Berichten: 1310
Geregistreerd: 14 nov 2007 22:09

Re: Css plaatje als background color

Berichtdoor Moonstrike » 20 jan 2008 16:41

Weet je ook hoe dat via photoshop kan?
Avatar gebruiker
Moonstrike
wmpr
 
Berichten: 3287
Geregistreerd: 22 apr 2006 14:40
Woonplaats: Lui lekker land 8)

Re: Css plaatje als background color

Berichtdoor ElbertF » 20 jan 2008 17:23

Geen idee, beetje spelen met de instellingen. :}
Avatar gebruiker
ElbertF
wmpr
 
Berichten: 1310
Geregistreerd: 14 nov 2007 22:09

Re: Css plaatje als background color

Berichtdoor Remi » 20 jan 2008 21:15

In FireWorks kan je "Remove Unused colors" uitzetten en dan is het opgelost. Ik weet dat dit niet in PS kan, en ik zou er ook niet een oplossing dan voor weten.
Avatar gebruiker
Remi
wmpr
 
Berichten: 3010
Geregistreerd: 04 apr 2006 15:22

Re: Css plaatje als background color

Berichtdoor libia » 21 jan 2008 21:19

1 vraagje, als het een 1*1 afbeelding is, waarom gebruik je dan niet gewoon een kleur als achtergrond??
ola, un cerveza por favor.


of
Avatar gebruiker
libia
wmpr
 
Berichten: 4149
Geregistreerd: 23 okt 2005 14:14
Woonplaats: Alphe!!

Re: Css plaatje als background color

Berichtdoor ElbertF » 21 jan 2008 23:21

Dat heeft ie toch ook. :}
Avatar gebruiker
ElbertF
wmpr
 
Berichten: 1310
Geregistreerd: 14 nov 2007 22:09

Re: Css plaatje als background color

Berichtdoor Moonstrike » 22 jan 2008 15:44

Avatar gebruiker
Moonstrike
wmpr
 
Berichten: 3287
Geregistreerd: 22 apr 2006 14:40
Woonplaats: Lui lekker land 8)


Keer terug naar HTML, CSS, Javascript



cron