G2G: HTML coding? ?

+5 votes
423 views
I was using coding to create a centered Bold Colored Title for memorials

before I used  - see first example Robert Royce:

<div style="text-align: center;"><span style="font-family: Bookman Old Style; font-size: 18pt; color:#0404B4"><u> '''Robert Royce of Connecticut'''</u> </span></div>

but I noticed the color disappeared

so recoded (I had to put the ''' outside the <span>) See second example at Robert Royce

<div style="text-align: center;">'''<span style="font-family: Bookman Old Style; font-size: 18pt; color:#0404B4"><u> Robert Royce of Connecticut</u> </span>'''</div>

I believe this happened when the pages changed style. Can it be fixed without my finding the places I used it and then changing them? Should I have been doing it the second way all along? Some of my HTML coding is by "feel"
WikiTree profile: Robert Royce
in WikiTree Tech by Anne B G2G Astronaut (1.4m points)

Anne, I've run across color html issues in the past. But I just noticed that the profiles use XHTML 1.0 transitional, so I tried this and it worked:

<p style="color: red">hello</p>

or

<div style="color: red; font-size: 3em">hello</div>

 

As for applying bulk updates... I'd be surprised if we had that ability but if a tech would like to give us a tip, please do:D

Please log in or register to answer this question.

Related questions

+6 votes
1 answer
+3 votes
0 answers
asked Dec 29, 2023 in WikiTree Tech by Kenneth Nellis G2G6 Mach 1 (13.9k points)
+12 votes
2 answers
+4 votes
1 answer
asked Apr 28, 2016 in Policy and Style by Victoria Surr G2G6 Mach 1 (10.6k points)
+16 votes
4 answers
+21 votes
6 answers
asked Nov 28, 2014 in Policy and Style by Chris Whitten G2G Astronaut (1.6m points)
+15 votes
3 answers
+7 votes
1 answer
asked Jun 28, 2014 in The Tree House by William Arbuthnot of Kittybrewster G2G6 Pilot (191k points)
+6 votes
1 answer
+11 votes
2 answers
asked May 13, 2016 in WikiTree Tech by Ellen Smith G2G Astronaut (1.7m points)
...