Sumit Chourasia
Sumit Chourasia

Reputation: 2434

wysihtml5 alignment is not coming properly

I'm not very good CSS. I've been trying this for past 2 hours but I'm not able to align my wysihtml5 elements properly. by default wysihtml5 component comes in "li" tag and and I'm using "li" tag for showing bullets so it is affecting wysihtml5 component also. I've attached snapshot for clarification.

enter image description here

components like Heading, Bold, italic, underline and other elements are coming in new line. I want all of them to be in same line.

Please help.

Upvotes: 0

Views: 230

Answers (1)

Edward Ploy
Edward Ploy

Reputation: 395

If you can add css. Add this line.

li{list-style-type: none;display: inline-block;}

Explanation:

  • list-style-type: none will remove black dots in front of li. you can use square, circle... if you want...

  • display:inline-block will make li in one line...

  • you can add class in front of li (e.g. : .class li) to make it more specific...

Upvotes: 1

Related Questions