简体   繁体   中英

Add a title to an element in a specific style by js

I want the title I give to my element to be arranged as follows:

1-book1
2-book2
3-book3
4-book4

But when I give the title, it shows like this :

1-book1 2-book2 3-book3 4-book4

Friends, how can I style my title?

You could also put every element in a div tag. That should solve the problem

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM