html and css

  1. L

    HTML & CSS Masonry Gallery Hover CSS Issue

    I have a great masonry gallery code but needed to add a hover affect that links out that is already coded on the site...only problem is when I add an <a link out it interrupts one css line that I just can’t seem to figure out how to make work! Thanks in advance for ANY assistance on this! This...
  2. P

    :hover fails to display Tooltip

    I am tasked with displaying Tooltips, my absolute first time in my xx years of programming, and I am unable to display them using "hover". Though the cursor changes as expected, the tooltip remains hidden upon hovering. I honestly don't know why. This is mainly for MS Edge though should, in...
  3. yumedoll

    JavaScript [SOLVED] Can anyone help me figure out why these specific EventListeners aren't working?

    I have this: document.documentElement.addEventListener("load", function(){ document.getElementById("loading").style.display = "block"; document.getElementById("okthanks").style.display = "none"; }); window.addEventListener("load", function(){...
  4. L

    Styling an HTML site with CSS without changing the code

    Hi! I need help with a school assignment. The assignment is to style a website with at least two images, and making it easier to read without changing the HTML. We have received a code but we may only link to our own CSS file and therefore make no other changes inside the HTML code. I am very...
  5. A

    Using CSS classes in table

    I'm trying to use multiple classes in a table, although I am not combining them. I am using them at different parts of the table. What I have is: CSS .objs { text-align: center; font-size: 18px; font-weight: bold; } .tables { text-align: center; } HTML <td class="tables">...
  6. Yompso

    I am having trouble with <style>

    So I recently started coding with Free code camp, and I have a bit of trouble with using <style>, I am trying to give the text-align property the value of center, but it does not work, can you help me?, here's my code: <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" >...
  7. LKinneyX23

    col-md with video not appearing inside content div

    I have no idea what is happening with this as it keeps randomly changing on browsers, working one time I try and then not, without me having changed any code. It's showing entirely wrong in Dreamweaver, and I am pulling my hair out in confusion at this point. I am trying to make a responsive...
  8. B

    Moving UL to right side of page

    So this is my page as it stands now ( I know it's silly, it's just for practice): I want to move the Related menu in the top right corner to the side of the article so it's next to the aqua boxes, with the menu items running down the right side of the page. How can I do this? Any help would...
  9. rene7705

    concatenated CSS won't be used by browser, despite W3C validator indicating no problems.

    hi all, i wrote a CMS + web-apps system that's opensourced (MIT-licensed) at GitHub - NicerEnterprises/NicerApp-WebOS, published (with older, stable code) at NicerApp WebOS and (with the latest, buggy code) at https://said.by, and today's bug has proven itself hard to fix. in an attempt to...
  10. ijndsfijkansmf

    school project being stupid, columns and rows not working.

    this is due in like a week or two and I've tried using chatgpt but it doesn't work. I've got like a background image and I have it so that when the image finishes it goes back to the normal background colour, which is white. I'm trying to put some writing next to an image which is in the middle...
  11. yumedoll

    JavaScript Why is the placement of the declaration of my let variables being misinterpreted?

    I have declared a few variables for a game I'm making about baking a cake and the variables will act as indicators of the amount of each ingredient to decide the outcome of the cake. let mixamnt = flouramnt = sugaramnt = chocoamnt = milkamnt = eggamnt = butteramnt = redamnt = vanillaamnt =...
  12. yumedoll

    JavaScript Why is the placement of the first declaration of my let variable being misinterpreted?

    I have declared a few variables for a game I'm making about baking a cake and the variables will act as indicators of the amount of each ingredient to decide the outcome of the cake. let mixamnt = flouramnt = sugaramnt = chocoamnt = milkamnt = eggamnt = butteramnt = redamnt = vanillaamnt = 0...
  13. A

    Have the 3 images in the same line

    Hello Friends, I am trying to have the description of image come below the image. Once, I tried with figure and figcaption tags, the- second image goes below. I want to have the three images in same horizontal line while have the description to be below. If you run the code below, you may...
  14. A

    To have more space in right side

    Hello Friends: I am trying to have more space in right side of after the text. Photo, then, text. I extracted the part of the code. If you look at www.sis.anura7.ca , On the right side of the text, there is no space at all, specially on a smart phone. Thanks for your help. <!DOCTYPE...
  15. C

    JavaScript Navigate images with javascript

    <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <link rel="stylesheet"...
  16. proompter

    CSS CSS Grids Tutorial

    Hey guys, I've just created a new channel where I'm going to cover Full Stack related topics extensively, including CSS. Content isn't being monitized at the time of posting this so this is 100% free, hopefully you will learn a thing or two :) If you can like, comment, share and subscribe I'd...
  17. RealImmortal2004

    How do I hide the modal after 5 seconds?

    I’ve tried the code below but it doesn’t seem to work well. Please help!!! I’m trying to get the modal to popup with an onclick event as it normally would but then I want it to disappear after about 5 seconds and hide the ability to allow the user from making it hide. <html...
  18. P

    Need help for applying simple font-style

    I've used some google fonts, let me show you some <link rel="stylesheet" href="style.css"> <link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link...
  19. Quonit

    Custom font not loading on Neocities

    I am making a new webpage for my website on neocities: (FRIDAY NIGHT JAMMIN'). On it, I want a few places to use a specific font that looks like the game the webpage is about. I used this tutorial: How To Load and Use Custom Fonts with CSS | DigitalOcean 1. I use the website they told me to use...
  20. Z

    PHP How do I get the if statement correct in the lines that has it in the program?

    We are encountering problems in the if statements in the program and cannot run it in the local host in the xampp. if(isset($_POST['submit'])) { $kWh=$_POST['kWh']; $offsetpercent = 0.0; $offset = 0.0; $offsetpercent = $offset / 100; $offsetpercent = $offsetpercent + 1; $size=$kWh /...
Top Bottom