+ 1

How can i combine these? ⬇️

<h1 style="border:2px solid Tomato AND style="align-center OR style="font-family:veranda;"> AND OTHERS??

21st May 2020, 8:16 PM
𝐙𝐢𝐠𝐙𝐚𝐠
𝐙𝐢𝐠𝐙𝐚𝐠 - avatar
4 Respuestas
+ 1
𝐙𝐢𝐠𝐙𝐚𝐠 OK this works - tested <h1 style="border: 2px solid Tomato; text-align: center; font-family: verdana;"> Header 1 </h1>
22nd May 2020, 8:58 AM
HNNX 🐿
HNNX 🐿 - avatar
+ 1
This should all fit inside a single style declaration <h1 style="border: 2px solid Tomato; align-center; font-family: verdana;"> However, if not for the purpose of learning html I would advise against styling your headers using html - it would look much cleaner using CSS Also, are you sure about align center? What are your trying to achieve? Text is centered using text-align: center
21st May 2020, 8:26 PM
HNNX 🐿
HNNX 🐿 - avatar
0
It doesn't work :(
22nd May 2020, 7:09 AM
𝐙𝐢𝐠𝐙𝐚𝐠
𝐙𝐢𝐠𝐙𝐚𝐠 - avatar
0
I missed a : near border: 2px I'll try again in code editor and let you know if I'm missing anything else 😁
22nd May 2020, 8:55 AM
HNNX 🐿
HNNX 🐿 - avatar