Toon posts:

[html] php highlight colorcoding wrapt

Pagina: 1
Acties:

Verwijderd

Topicstarter
De highlight_string functie van php zet alles tussen <font></font> tags. Als erachter een andere kleur komt, is het zo in html dat die wrapt.
Is er een manier op dat uit zetten, of iig, zo maken dat het niet wrapt?

  • drm
  • Registratie: Februari 2001
  • Laatst online: 09-06-2025

drm

f0pc0dert

HTML hoort in Webdesign & Graphics

Music is the pleasure the human mind experiences from counting without being aware that it is counting
~ Gottfried Leibniz


  • André
  • Registratie: Maart 2002
  • Laatst online: 08:38

André

Analytics dude

Zelf een higlight_string schrijven is de simpelste oplossing.
Of je zet alles in een <td> met als attribuut: nowrap.

Verwijderd

Topicstarter
ja, bedankt!

Verwijderd

Daar hoef je het niet voor in een td te zetten, er is namelijk een CSS property voor.