Home html How to make a vertical line?

How to make a vertical line? [Duplicate]

Author

Date

Category

Tell me, here is such a & lt; HR & GT; – this is a horizontal line. And how to make a vertical?


Answer 1, Authority 100%

tag & lt; hr & gt; does not have any relation to php, it is html.

And for every frame there are CSS properties: Border , border-left , border-top , etc.


Answer 2, Authority 50%

& lt; div style = "border-width: 1px; border-style: solid; border-color: # 0000FF ; "& gt; data inside a blue frame & lt; / div & gt;

Answer 3, Authority 50%

Glind the desired text in DIV with the class ‘v_line’ and write it the following style in CSS

.vline {
 Border-Left: 1px Solid Black;
}

And more read here:
http://htmlbook.ru/css/border-left


Answer 4

You can still create a picture of 1x1px and make “Background: URL (…) Repeat-Y” to block.

Programmers, Start Your Engines!

Why spend time searching for the correct question and then entering your answer when you can find it in a second? That's what CompuTicket is all about! Here you'll find thousands of questions and answers from hundreds of computer languages.

Recent questions