0

Different titles, same line?

How would I make this; R Y A N Go on the same line using css? The HTML is; <h1 class=“r">R</h1> <h1 class=“y">Y</h1> <h1 class=“a">A</h1> <h1 class=“n">N</h1> How can I get it on the same line?

12th Jul 2018, 3:30 AM
Ryan Sullivan
Ryan Sullivan - avatar
11 ответов
+ 1
D'lite thank you :)
12th Jul 2018, 3:36 AM
Ryan Sullivan
Ryan Sullivan - avatar
+ 1
Get me a link to this code
12th Jul 2018, 3:39 AM
Dlite
Dlite - avatar
12th Jul 2018, 3:51 AM
Dlite
Dlite - avatar
+ 1
D'lite i was coding on a diffrent platform,
12th Jul 2018, 4:09 AM
Ryan Sullivan
Ryan Sullivan - avatar
+ 1
Alright
12th Jul 2018, 4:10 AM
Dlite
Dlite - avatar
+ 1
The correct way is h1 { display:inline; }
12th Jul 2018, 5:30 AM
Calviղ
Calviղ - avatar
0
using CSS :: Ryan Sullivan (Suvan) h1{ display:inline; }
12th Jul 2018, 3:35 AM
Dlite
Dlite - avatar
0
D'lite i just tested it, it has no effect
12th Jul 2018, 3:39 AM
Ryan Sullivan
Ryan Sullivan - avatar
0
ok
12th Jul 2018, 3:40 AM
Ryan Sullivan
Ryan Sullivan - avatar
12th Jul 2018, 3:41 AM
Ryan Sullivan
Ryan Sullivan - avatar
0
D'lite its all good its h1{ display: inline-block; }
12th Jul 2018, 3:42 AM
Ryan Sullivan
Ryan Sullivan - avatar