0

Can we increase the width of the horizontal line?

18th Oct 2016, 2:23 PM
Karamala Naga Venkata Sai Indra Kumar
Karamala Naga Venkata Sai Indra Kumar - avatar
7 ответов
+ 4
The default horizontal line width is 100% of the width of the browser.You can setting the width attribute of the horizontal line,for instance:<hr style="width:50%;height:2px;background_color:red;"/>
18th Oct 2016, 2:38 PM
KelseyCarl
KelseyCarl - avatar
+ 1
use this <hr width="50%">
18th Oct 2016, 2:39 PM
Akshay S A
+ 1
yes u can add attributed in the hr tag to modify it.. just add width=" " in tag put width value in quotes
23rd Oct 2016, 6:38 AM
Ankita Srivastava
Ankita Srivastava - avatar
0
yes, you can. you have to only putting write attribute into it.
19th Oct 2016, 2:00 AM
AKSHAY SAMEL
AKSHAY SAMEL - avatar
0
yes
20th Oct 2016, 11:04 AM
mburhan
0
(((
20th Oct 2016, 4:36 PM
константин лаврин
константин лаврин - avatar
0
@kelseyCarl the background_color attribute is not resulting in red background,whats the reason?
24th Oct 2016, 12:18 PM
Raj Shah
Raj Shah - avatar