Click here to Skip to main content
15,850,547 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: Center text vertically with relative height Pin
Graeme_Grant2-Apr-23 23:36
mvaGraeme_Grant2-Apr-23 23:36 
GeneralRe: Center text vertically with relative height Pin
_Flaviu3-Apr-23 0:01
_Flaviu3-Apr-23 0:01 
QuestionFinal Project ideas that integrates ChatGpt Pin
Mohamad Shoumar29-Mar-23 6:16
Mohamad Shoumar29-Mar-23 6:16 
AnswerRe: Final Project ideas that integrates ChatGpt Pin
Gerry Schmitz29-Mar-23 6:50
mveGerry Schmitz29-Mar-23 6:50 
QuestionHow to add horizontal line under DIV Pin
wenwan131424-Mar-23 20:08
wenwan131424-Mar-23 20:08 
AnswerRe: How to add horizontal line under DIV Pin
Richard MacCutchan24-Mar-23 23:37
mveRichard MacCutchan24-Mar-23 23:37 
GeneralRe: How to add horizontal line under DIV Pin
Gerry Schmitz29-Mar-23 6:53
mveGerry Schmitz29-Mar-23 6:53 
AnswerRe: How to add horizontal line under DIV Pin
Jeremy Falcon27-Mar-23 5:46
professionalJeremy Falcon27-Mar-23 5:46 
The horizontal rule answer will work perfectly. But, if you don't want to create a separate element (tag) for it, then there is a second way... just use the bottom border on the div tag itself. Divs by default will span 100% of their container, so the net effect would be the same as a hr tag but while keeping the document tree clean.
CSS
#with-border {
  border-bottom: black 1px solid;
}
HTML
<div id="with-border">
  Howdy
</div>
Jeremy Falcon

GeneralRe: How to add horizontal line under DIV Pin
vefaakin6-Feb-24 23:27
vefaakin6-Feb-24 23:27 
GeneralRe: How to add horizontal line under DIV Pin
Richard Deeming6-Feb-24 23:40
mveRichard Deeming6-Feb-24 23:40 
GeneralRe: How to add horizontal line under DIV Pin
Jeremy Falcon7-Feb-24 6:56
professionalJeremy Falcon7-Feb-24 6:56 
AnswerRe: How to add horizontal line under DIV Pin
Jeremy Falcon27-Mar-23 5:47
professionalJeremy Falcon27-Mar-23 5:47 
Questionfacebook and twitter share button plugins not working properly Pin
Member 1595298024-Mar-23 3:13
Member 1595298024-Mar-23 3:13 
AnswerRe: facebook and twitter share button plugins not working properly Pin
Member 1595298027-Apr-23 6:32
Member 1595298027-Apr-23 6:32 
AnswerRe: facebook and twitter share button plugins not working properly Pin
Member 1595298027-Apr-23 7:01
Member 1595298027-Apr-23 7:01 
QuestionI need ready-made web page codes in html and css / احتاج الى اكواد صفحه ويب جاهزة بلغة htmlو css Pin
Hussein Bajeham22-Mar-23 23:16
Hussein Bajeham22-Mar-23 23:16 
AnswerRe: I need ready-made web page codes in html and css / احتاج الى اكواد صفحه ويب جاهزة بلغة htmlو css Pin
OriginalGriff22-Mar-23 23:18
mveOriginalGriff22-Mar-23 23:18 
QuestionThree divs inside a div Pin
_Flaviu21-Mar-23 6:50
_Flaviu21-Mar-23 6:50 
AnswerRe: Three divs inside a div Pin
Jeremy Falcon21-Mar-23 12:39
professionalJeremy Falcon21-Mar-23 12:39 
GeneralRe: Three divs inside a div Pin
_Flaviu22-Mar-23 2:23
_Flaviu22-Mar-23 2:23 
GeneralRe: Three divs inside a div Pin
Jeremy Falcon22-Mar-23 6:02
professionalJeremy Falcon22-Mar-23 6:02 
GeneralRe: Three divs inside a div Pin
_Flaviu27-Mar-23 0:23
_Flaviu27-Mar-23 0:23 
GeneralRe: Three divs inside a div Pin
Jeremy Falcon27-Mar-23 5:32
professionalJeremy Falcon27-Mar-23 5:32 
AnswerRe: Three divs inside a div Pin
Jeremy Falcon21-Mar-23 12:40
professionalJeremy Falcon21-Mar-23 12:40 
QuestionWombat and Muppet know nothing about web push notifications... Pin
WhoPinchedMyName19-Mar-23 10:29
WhoPinchedMyName19-Mar-23 10:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.