Welcome to Code Forum!

Join a community that supports you and your coding journey from day one. We strive to be a friendly, supportive community that empowers everyone to be better developers. By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Search results

  1. O

    JavaScript Dividing by one ???

    It does sounde funny, but I did this and use 5 - 6 - 7 for n and just see what happens 5 & 6 yeold 0 and ....: <script> count = 150; n = 7 alert(count/n); alert((count/n)%1); </script>
  2. O

    HTML & CSS CSS <SELECT>

    Try this jPaulB <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <style type="text/css"> select{ background-color: purple; color:white; } select option { background: purple; color: #fff...
  3. O

    HTML & CSS Align center - CSS / PHP

    That's correct. The problem is there are 25 stylesheets controlling the page, That is a ridiculous amount. The page looks like it's a purchased website design. Bring your problems to the creators and if they won't fix it post a bad review about it and them. I would the page does not work...
  4. O

    HTML & CSS Align center - CSS / PHP

    You gave me the styles Good after I get the HTML Open your main page. Right mouse click and look at the menu, then use the 'View Page Source" (or something like it). That page is the HTML Coding. I need that please.
  5. O

    HTML & CSS Table width on mobile devices

    Post your code HTML & CSS what you gave us works great. Please identify the problem area and what you want the final piece to look like.
  6. O

    HTML & CSS Website Picture on Startpage with Animation when going with mouse over the picture

    It's called 'mapping' find it here https://www.w3schools.com/html/html_images_imagemap.asp
  7. O

    HTML & CSS Align center - CSS / PHP

    run your code through a php decoder before copy/paste. And because you have nothing labeled as header or menu. Popst the HTML code after you do that. AND post the CSS code too.
  8. O

    HTML & CSS Placing an ordered/unordered list inside a <p>

    You can not place a list inside a <p> element. Lists are block elements and paragraphs can only contain inline elements
  9. O

    HTML & CSS Can't center a grid item with a max-width

    What you're using and what you gave us are two different things. align-items is used with flex not grid. And align-items: end; It's flex-end But the most important thing is the commenting out margin: 0 auto; which centers things. Also put the border back so you can see the div, without a...
  10. O

    HTML & CSS Can't center a grid item with a max-width

    Your div with a max-width did center! If it's not doing that for you my guess is you have other items and styles that you are not giving us. Post the entire code you are using that won't center the div element.
  11. O

    HTML & CSS Using Inspect element to retrieve design

    Never heard that and since the code is needed to make the website you can't hide it. View the page or the section you want and tell me if it doesn't work.
  12. O

    HTML & CSS Using Inspect element to retrieve design

    Why not just use "view page source" in your browser?
  13. O

    HTML & CSS HTML Table Issue

    I loaded your code and it works perfectly (I did change the font color to black so I could see it. ) The site you went to is experimental, so I went to the official w3c validator here: https://validator.w3.org/ and it passed with flying colors.
  14. O

    HTML & CSS my menu button when clicked isn't opening the nav and it should be

    This is a better css only way to animate the hamburger menu and have the whole thing responsive. https://alvarotrigo.com/blog/hamburger-menu-css/
  15. O

    JavaScript !== confusion

    != they are not equal !== they are the same type (numbers)
  16. O

    PHP Why does ../ work but not / for relative file paths?

    Sorry Johna I was going to look into this when I had time. didlly might have answered your question - don't know. I never run into this because I never use relative addresses.
  17. O

    JavaScript Filter results, but include first...

    JS without HTML is worthless in most cases. Since I have no idea where ID = "myInput" is located I'm lost. Please give the HTML and the CSS for this.
  18. O

    JavaScript Need Help with a JavaScript Problem.

    Are you wanting a program to figure out how to do this or to do this after you know how to? I can tell you where things go and give you code that will do that, but not code to figure it out.
  19. O

    HTML & CSS Positioning of bootstrap child rows.

    Make them any height you want, but you have to change the css for the other two in calc(50vh - 3.5vh/2)} the 3.5vh should be the height of both the top rows added.
  20. O

    HTML & CSS Positioning of bootstrap child rows.

    I would give the row an ID Then use the calc css function like this: <style> #row1{background-color:red;height: 3.5vh;} #row2{background-color:green;height:calc(50vh - 3.5vh/2)} #row3{background-color:pink;height:calc(50vh - 3.5vh/2)} </style> This will not give a great example because I don't...
Back
Top Bottom