Toon posts:

[css] scrollbar 100% correct maken

Pagina: 1
Acties:

Verwijderd

Topicstarter
Ik probeer me stylesheel 100% goed te maken, maar blijf maar error krijgen voor me scrollbars.

code:
1
2
3
4
5
6
7
8
9
10
body, html  { 
font-family: verdana, geneva, arial, helvetica, sans-serif;
scrollbar-face-color: #e5e5e5 !important;
scrollbar-shadow-color: #e5e5e5 !important;
scrollbar-highlight-color: #ffffff !important;
scrollbar-3dlight-color: #d4d4d4 !important;
scrollbar-darkshadow-color: #acacac !important;
scrollbar-track-color: #efefef !important;
scrollbar-arrow-color: #919191 !important;
}


Dat geeft error omdat hij 'niet in body' mag.

En als ik

code:
1
2
3
4
5
6
7
8
9
.{ 
scrollbar-face-color: #e5e5e5 !important;
scrollbar-shadow-color: #e5e5e5 !important;
scrollbar-highlight-color: #ffffff !important;
scrollbar-3dlight-color: #d4d4d4 !important;
scrollbar-darkshadow-color: #acacac !important;
scrollbar-track-color: #efefef !important;
scrollbar-arrow-color: #919191 !important;
}


Gebruik dan geeft de validator, parse error aan.

http://jigsaw.w3.org/css-validator/ die gebruik ik trouwens


Dat !important zou de fout weg moeten laten, maar dat werkt dus ook niet. Hoe kan ik nou foutloos scrollbars veranderen?

  • crisp
  • Registratie: Februari 2000
  • Laatst online: 00:21

crisp

Devver

Pixelated

Hoe kan ik nou foutloos scrollbars veranderen?
niet; scrollbar kleurtjes in CSS is een uitvinding van Microsoft en geen onderdeel van de CSS standaard.

Intentionally left blank


Verwijderd

Topicstarter
Damn, dus of geen scrollbars, of geen foutloos css sheet :(

  • samo
  • Registratie: Juni 2003
  • Laatst online: 21-08 13:14

samo

yo/wassup

Verwijderd schreef op 08 September 2003 @ 16:36:
Damn, dus of geen scrollbars, of geen foutloos css sheet :(
Of een foutloos css sheet, en een extern scrollbar sheet dat je alleen inlaad in ms... :-)

voor de puristen onder ons...

Bekend van cmns.nl | ArneCoomans.nl | Het kindertehuis van mijn pa in Ghana


  • crisp
  • Registratie: Februari 2000
  • Laatst online: 00:21

crisp

Devver

Pixelated

Of een 1337e DHTML scrollbar :P

Intentionally left blank


  • BtM909
  • Registratie: Juni 2000
  • Niet online

BtM909

Watch out Guys...

Wat is trouwens het nut van volledig 'foutloos' maken volgens: http://jigsaw.w3.org/css-validator/

Je weet (inmiddels) dat die scrollbar-meuk IE-only is, dus als je die wilt: so be it!

Ace of Base vs Charli XCX - All That She Boom Claps (RMT) | Clean Bandit vs Galantis - I'd Rather Be You (RMT)
You've moved up on my notch-list. You have 1 notch
I have a black belt in Kung Flu.


  • Bosmonster
  • Registratie: Juni 2001
  • Laatst online: 19-08 22:14

Bosmonster

*zucht*

Precies.. wat een browser niet kent, hoort ie niks mee te doen... dus maakt geen drol uit ;)

  • Clay
  • Registratie: Oktober 1999
  • Laatst online: 22-06 13:51

Clay

cookie erbij?

Ik dacht zelfs dat msie (6?) de hippe scrollbar gewoon saai maakt als je een fatsoenlijke doctype opgeeft.

Instagram | Flickr | "Let my music become battle cries" - Frédéric Chopin


Verwijderd

Clay schreef op 08 september 2003 @ 18:59:
Ik dacht zelfs dat msie (6?) de hippe scrollbar gewoon saai maakt als je een fatsoenlijke doctype opgeeft.
Nee, dat is een kwestie van aan het juiste elemen hangen van die properties (het html element dus, bij de juiste implementaties)

  • Clay
  • Registratie: Oktober 1999
  • Laatst online: 22-06 13:51

Clay

cookie erbij?

ok :) weer wat geleerd.

Instagram | Flickr | "Let my music become battle cries" - Frédéric Chopin

Pagina: 1