This is the place for questions about learning design and pedagogy; how to use different page types for different purposes.

Tables: shadow effect border and background colours for cells

  • Jonathan Smith
  • Onderwerp Auteur
  • Offline
  • Administrator
  • Administrator
Meer
3 jaren 1 maand geleden #8617 door Jonathan Smith
Hi

Can anyone suggest a quick and easy way to add a border which creates a shadow effect for tables added through the Toolbar, and to change the background colour for cells? I'm hoping you can do this by dropping bits of code into the Source.

Best wishes

Jonathan Smith

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Meer
3 jaren 3 weken geleden #8618 door Fay
You can add background colours to table cells by adding a style to the td:
<td style="background-color:red;">

You can add shadow to the whole table by adding to the style for the table tag:
<table border="1" cellpadding="1" cellspacing="1" style="width:100%; box-shadow: 8px 5px 5px 0px #aaa;">
De volgende gebruiker (s) zei dank u: Jonathan Smith

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

  • Jonathan Smith
  • Onderwerp Auteur
  • Offline
  • Administrator
  • Administrator
Meer
3 jaren 3 weken geleden #8622 door Jonathan Smith
Beantwoord door Jonathan Smith in topic Tables: shadow effect border and background colours for cells
Thanks very much, Fay. I tried it and it worked. I also managed to accurately insert HTML colour codes!

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Moderators: ingdon
Tijd voor maken pagina: 0.132 seconden
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo