Home › Forums › Design › CSS Tab Adjustments › Reply To: CSS Tab Adjustments
March 31, 2017 at 6:38 am
#253337
Paulie_D
Member
For one thing <font>
is an obsolete/deprecated element and shoudn’t be used.
I’d start there. Just use a span
if you must wrap the heading text in another element.
Then put the styles in the CSS stylesheet…where they belong…not in the HTML.
Also, you can’t select something in JS by classname
if the class doesn’t exist in the HTML. so this x = document.getElementsByClassName("city");
is doing…nothing.