Recent content by BGB

  1. BGB

    Create a Quick Start Dialog

    Use electron.js to convert html to desktop application.
  2. BGB

    HTML & CSS How to center the navbar in this case (Flexbox and CSSgrid)

    By the way you can remove height in this case. I just use which suits better for my needs :)
  3. BGB

    CSS Zoom/expand an outline on hover.

    A simple way - html - <!DOCTYPE html> <html dir="ltr" lang="en-US"> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <meta charset="utf-8"> <title>Country Flags</title> <link rel="stylesheet" href="style.css"> </head> <body> <div...
  4. BGB

    HTML & CSS How to center the navbar in this case (Flexbox and CSSgrid)

    You mean center like this - If so, add this below .header p - nav { height: 100%; display: flex; flex-direction: column; justify-content: center; }
  5. BGB

    HTML & CSS How to center the navbar in this case (Flexbox and CSSgrid)

    Post your html code please.
  6. BGB

    JavaScript Adding Different Dropdown Menus

    But why to use javascript to just make drop down menus? Use css.
  7. BGB

    JavaScript Making click function possible outside window

    You mean like this - <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style> html, body { height: 100%; margin: 0; } #mySidenav { width: 100%; height: 100%...
  8. BGB

    THE PROGRAM IS NOT RUNNING

    Because your code has no-ascii character. Change - printf(“%d”,r); to printf("%d", r);
  9. BGB

    HTML & CSS footer

    Add your other codes.
  10. BGB

    Hey everyone!

    Welcome to CodeForum. Wishing you good luck in your coding journey :)
  11. BGB

    HTML & CSS Responsive website.

    You should read this from w3school to understand how it works -HTML Responsive Web Design.
  12. BGB

    HTML & CSS Create a line with custom color

    Can you shoe me the screenshot of the hr?
  13. BGB

    HTML & CSS Create a line with custom color

    That white lines are borders. Remove borders.
  14. BGB

    HTML & CSS Create a line with custom color

    Check this - <!DOCTYPE html> <html lang="en"> <head> <title>HR Color</title> <meta charset="utf-8"> <style> .main { width: 100%; height: 300px; display: flex; flex-direction: column...
  15. BGB

    HTML & CSS A CSS "box" that needs to have a variable width

    Just give a padding to your box and it will adjust the size according to its content - .box { width: fit-content; padding: 0.5rem 1.5rem; border-style: double; border: 2px solid green; border-radius: 20px; background-color: #B3FFB2; color: #FF0000; }
Top