The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

> hr line in a div
post Apr 1 2019, 04:00 PM
Post #1

Group: Members
Posts: 9
Joined: 1-April 19
Member No.: 26,868


I want to add a hr line into one of my css divs, and I can't seem to make it work. Can someone help me out please?


.topleft {
  position: absolute;
  top: -10px;
  left: 16px;
  color : #413839;
  padding-left: 150px;
font-family: "Andale Mono";
hr { width:100%; height: 1px; background: #fff }
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Posts in this topic
jjordan33   hr line in a div   Apr 1 2019, 04:00 PM
Christian J   You can create a line using the CSS "border...   Apr 1 2019, 04:45 PM
pandy   Did you remember to add the HR to the HTML?   Apr 1 2019, 08:30 PM
jjordan33   Did you remember to add the HR to the HTML? .......   Apr 2 2019, 05:22 PM
pandy   I'm psychic! :P   Apr 2 2019, 06:37 PM

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


- Lo-Fi Version Time is now: 22nd January 2020 - 05:24 AM