color attribute in text widget?
-
I am using the <hr> tag in the text widget and trying to change the color of the line to suit the Tarski theme –
the color attribute seems to be ignored and deleted by the widget – is it not supported?if not, any other way to get a light grey line across the text widget?
thanks
http://56stblaiseactualites.wordpress.com/
The blog I need help with is: (visible only to logged in users)
-
Yes, an Internet search found this code for me several days ago. So, here you go.
<div align=”center”>
<hr color=”#dddddd” size=”1″ width=”60%” />No only can you specify color, you can control thickness [size], width, and position using div align.
This will give you what you want.
Jim
-
thanks jalexartis,
unfortunately everything works – apart from the color…
after saving the changes, and checking the blog, if I go back to look at the code in the widget, this is now how it appears:
<div align=”center”>
<hr size=”1″ width=”60%” /></div>color has been removed by the programme…
??
-
Sorry, you can determine if it is theme related by selecting a different theme [DO NOT ACTIVATE] and see what the results are. It works for me with the Vigilance theme and In Microsoft’s Windows Live Writer. WordPress is not eating my color statement. Good luck! –jim
-
- The topic ‘color attribute in text widget?’ is closed to new replies.