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?
11 Réponses
+ 1
D'lite thank you :)
+ 1
Get me a link to this code
+ 1
inline works just fine
https://code.sololearn.com/Wsc2YWNV30KB/?ref=app
+ 1
D'lite i was coding on a diffrent platform,
+ 1
Alright
+ 1
The correct way is
h1 {
display:inline;
}
0
using CSS ::
Ryan Sullivan (Suvan)
h1{
display:inline;
}
0
D'lite i just tested it, it has no effect
0
ok
0
D'lite its all good its h1{
display: inline-block;
}