TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,236
  • Total Topics: 21,353
  • Online today: 577
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 442
  • Total: 442

Change background colours on blocks/articles

Started by samo, March 02, 2007, 02:57:30 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

samo

hi, is it possible to change the background colour of an individual block or article without having to change the themes style sheet?

Lesmond

You could use a html table to do this :) but it would depend on the content or code you are using

Lesmond

Try this, obviously you don't have to use red ;)

<table border="0" width="100%" bgcolor="#FF0000" height="297" cellspacing="0" cellpadding="0">
<tr>
<td align="center">
<b>Your content here</b></td>
</tr>
</table>


This website is proudly hosted on Crocweb Cloud Website Hosting.