Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

nbsp not working in CSS content tag [duplicate]

Tags:

css

People also ask

What can I use instead of &Nbsp?

In CSS property padding and margin can be used to tab space instead of non-breaking spaces (nbsp).

How do you add a space in a CSS content?

The break tag is meant for single line breaks, and not more than one in a row. If you want to add extra whitespace between pieces of text, use CSS padding and margins instead for cleaner code. Or, you can use an HTML <p> tag, as we'll see next.

What is NBSP CSS?

A commonly used entity in HTML is the non-breaking space: &nbsp; A non-breaking space is a space that will not break into a new line. Two words separated by a non-breaking space will stick together (not break into a new line).

What is the &nbsp tag?

Alternatively called a fixed space or hard space, NBSP (non-breaking space) is used in programming and word processing to create a space in a line that cannot be broken by word wrap. With HTML, &nbsp; lets you create multiple spaces that are visible on a web page and not only in the source code.


This could be the answer you are looking for :

content: "|\00a0\00a0";