R
R
Ramil2015-10-15 12:51:32
HTML
Ramil, 2015-10-15 12:51:32

How to remove y markers without using css?

I need to remove markers from a list. But you can't use css styles. Generally it is impossible. Even inline styles. Well, or tell me a tag that adds an indent to the right.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Chyrva, 2015-10-15
@vafarulez

An interesting question with a crooked formulation, I'll subscribe)
Remove markers or indent to the right and not a single line of css, intrigued

<ul>
    <li type="none">1</li>
    <li type="none">2</li>
    <li type="none">3</li>
    <li>4</li>
    <li>5</li>
    <li>6</li>
</ul>

1,2,3 - without marker
4,5,6 - with marker Screenshot of Sergey
's answer

A
Aram Aramyan, 2015-10-15
@GreenBee

Let's start with what you need to do and what can you use?
After all, indentation can be obtained with the required number of spaces   It's not the prettiest way, but it works.
Those. you can write:
However, this method will only indent the first line. When wrapping a line, it doesn't work (or maybe it should?).
You can use a table:

<table>
<tr>
<td>&nbsp;&nbsp;&nbsp;</td>
<td>Ваш длинный текст, который переносится на другую строку</td>
</tr>
</table>

You can also try the blockquote tag - it indents most of the time.
<blockquote>Текст</blockquote>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question