Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Design CSS Tab Adjustments Reply To: CSS Tab Adjustments

#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.