Width border | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Width border

can you stretch the width border from end to end(left-right)?

1st Feb 2017, 7:11 AM
Codie Richards
Codie Richards - avatar
5 Answers
+ 2
I didn't understand your question :(
1st Feb 2017, 7:18 AM
visph
visph - avatar
+ 2
Maybe you want to avoid default margin of the page: body { margin:0; } Else you want to set ( or unset ) some padding values ( of an element or a container element ), so use 'padding' css property... I don't know if I answer in the good direction: sorry if not ^^
1st Feb 2017, 7:43 AM
visph
visph - avatar
+ 1
margin: 0 auto;
8th Feb 2017, 8:53 PM
Dendrite
Dendrite - avatar
0
when you set how far the width border stretches it always leaves space on the y axis in the beginning of the page and the ending of the page. space ↓. ↓ [ <--->. ] (<-- like this) l want the border to stretch from the start to the end of the y axis No Space ↓. ↓ [<--->] (<-- like that)
1st Feb 2017, 7:35 AM
Codie Richards
Codie Richards - avatar
0
thanks
1st Feb 2017, 7:44 AM
Codie Richards
Codie Richards - avatar