S
S
Stepan2014-09-15 09:11:03
Programming
Stepan, 2014-09-15 09:11:03

How to add an underline to links when hovering over a block?

There is a construction of the form

<li>
<a>Ссылка <br>
Текст</a>
</li>

I make this CSS
li:hover a{
text-decoration:underline;
}

But when I move the cursor between the lines, the underline disappears. Between "Link" and "Text"

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexander, 2016-09-03
@netrox

Prints the contents of a file, byte by byte, to the console screen.
1. looks at the number of arguments - too few - displays usage help.
2. if there is an argument, it tries to open the file; if it fails, it displays an error message.
3. reads the file byte by byte and outputs these bytes to the console - if a read error occurs, it displays an error.

D
Dmitry Gavrilenko, 2016-09-03
@Maddox

cmd => cd path_to_exe => fileReader.exe path_to_any_file_that_program_reads

D
Dima Pautov, 2014-09-15
@xoma2

this is the normal behavior of links, because a link is not a whole block of text. Make the link block!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question