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. Edrol97

    Hover feature img disabling

    Hi all, I am editing my navbar on one of my pages, and coming across a problem where the hover underline feature is on the img elements of the header. I don't want this to be the case, and only want the hover underline function to be on text. How do I edit this? Thanks, Eliot
  2. Edrol97

    Page displaying differently in DEV and live

    Hi all. I'm on TSOHost (123reg now) and have uploaded my updated HTML and CSS files to it, but my website is displaying very differently in DEV and also in Chrome on my computer. Does anyone know why this is the case? How it does look vs how it should look below. The footer is also all out of...
  3. Edrol97

    My footer is a half page when window size changed.

    Hi all, My footer on a new page is showing as white after a certain width and only seems at minimum width to cover half the bottom half of the page. I've set overflow:hidden but can't see what else is up. Code attached as well as video. footer { background-color: black; color: black...
  4. Edrol97

    Navbar Niggles

    Thanks Tom, using overflow:hidden worked brilliantly.
  5. Edrol97

    What is everyone working on?

    Currently working on a PhP form for my website and finding it highly irritating. I've got the styling on point for the page, and the format as I'd like it but the thing to make it actually do the job is not working.
  6. Edrol97

    PHP Submitting form in PHP to email

    Hi all, am very new and inexperienced with PHP. I have this code for submitting a form to email that I asked ChatGPT to write (may or may not be a fatal flaw), and I can't seem to get it to work. Any and all help appreciated. Note, unless it's not obvious from what I've said, I'm a complete...
  7. Edrol97

    Navbar Niggles

    Hi all, I have a weird scroll effect on my navbar for this page and I'm wondering why it's the case. It's only a tiny scroll, but looks like the following. I'm attaching the relevant html and css, and also a YouTube video showing the problem (here) <!DOCTYPE html> <html lang="en"> <head>...
  8. Edrol97

    Problems with forms

    Hi all, I've got a form that I've added to my website. It's not operational yet, in that it doesn't send an email with the information in the form to my chosen address. How do I ensure it sends an email with the information in the form being sent to my email from the click of the button. I also...
  9. Edrol97

    Image Cropping and Loading Issues on Website (HTML/CSS Issue)

    Hi devjoe. Also something to consider: as an artist myself with a copious amount of images I made sure that all images I had were the least amount of pixels. Things to consider: RGB color suppression uses less than CMYK- if you use Photoshop or a similar photo editor, you can toggle between RGB...
  10. Edrol97

    JavaScript Politicordle Wordle Copycat conditional JS for incorrect spot correct letter

    Hi all, I'm making a vaguely copycat wordle but with a hint section for users to get clues. I've managed on the dev version of the site to add in an if statement for the correct and an else statement for the incorrect letter, but how would I add an else statement for wrong place right letter...
  11. Edrol97

    JavaScript Creating an if statement for colours changing depending on correct answer?

    Hi Simon, Apologies for being a muppet. Where do I add this in the InitGame() function? I've tried adding it after what's already there and before but can't seem to make it function. Thanks, Eliot
  12. Edrol97

    CSS Adding text to border

    Hi John, Thanks for this. My plans have developed somewhat and now, I'm wondering how I would add a text element to the border top. Is there anyway to do this? E
  13. Edrol97

    I want to make a top border line on one of my navigation bars

    How do I do the above? I've tried border-top: #000000 10px; as part of my navigation bar div.
  14. Edrol97

    JavaScript Creating an if statement for colours changing depending on correct answer?

    The full code const inputs = document.querySelector(".inputs"), hintTag = document.querySelector(".hint span"), guessLeft = document.querySelector(".guess-left span"), wrongLetter = document.querySelector(".wrong-letter span"), resetBtn = document.querySelector(".reset-btn")...
  15. Edrol97

    JavaScript Creating an if statement for colours changing depending on correct answer?

    Hi all, I'm wondering if I'm right here, think I'm on the right track but don't know. I've got a word based game that I've made on politics. The current version is currently live and can be seen here. I want to conditionally change the colors of the boxes based on the correct letters being...
  16. Edrol97

    Nav Bar niggles- 2 columns on page

    Hi all, I have problems with a nav bar on a word game I've made. Currently the page is in two columns- one larger than the other. How do I ensure the nav bar is at the top of the page? Full code below and a screenshot of how it looks in practice. <!DOCTYPE html> <html lang="en"> <head>...
  17. Edrol97

    Centre arrows around a div

    Hi Tom, the arrows are specifically for that gallery though. I've tried what I think you've suggested and got this. While the arrows are closer to the correct position they no longer call the images they are meant to despite my slider.js file being unedited.
  18. Edrol97

    Centre arrows around a div

    I want it hugging the image. The HTML is this: <div id="imageslidercontainer"> <div class="imageslider"> <div class="slider_previous_button" onclick="SliderPreviousImage()"> <img src="img/background/left-arrow.png" draggable="false"...
  19. Edrol97

    Gallery displaying differently in dev mode and on live website

    Hi Johna, managed to solve this. Will close it. Thanks, Eliot
  20. Edrol97

    Centre arrows around a div

    #imageslidercontainer { display: flex; position: relative; top: 50%; margin-left: 25%; text-align: center; } .slider_previous_button { top: 50%; left: 0px; position: relative; height: 600px; } .slider_next_button { top: 50%; right: 0px; position: relative; height...
Back
Top Bottom