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!

Recent content by Edrol97

  1. Edrol97

    PDF Viewer question

    Is there any way to change the default pdf viewer. Ideally I want to make my own pdf viewer which emulates HTML5Flipbooks? When I ask AI as it's something I don't know how to do, it gives me the option to upload a pdf or it can't find my file, even with the filepath being correct. So what's...
  2. Edrol97

    JavaScript .htaccess

    Hi all, wondering about my .htaccess file and removing .html for users of my site. How do I do this? Current .htaccess below ErrorDocument 404 /404.html RewriteEngine on RewriteCond %{THE_REQUEST} /([^.]+)\.html [NC] RewriteRule ^ /%1 [NC,L,R] RewriteCond %{REQUEST_FILENAME}.html -f...
  3. Edrol97

    Is there a way?

    So basically making a PDF viewer fully responsive to the screen width, for the percentage to be set at less than 100% on page load and for the little button on the pdf viewer that allows you to switch between page width and screen width to be toggled to fit to width rather than fit to page.
  4. Edrol97

    Is there a way?

    Hi all, Is there a way to set the default setting of the pdf viewer on load to fit-to-width rather than fit-to page? Thanks, Eliot <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />...
  5. Edrol97

    General code issues- fact generator page logo

    I've tried it in png and it works, but then it doesn't display the nav correctly. The changes I've made aren't live because it was incorrect, so I don't want to upload it until it is correct. The current nav belongs to two pages on the site: house-of-lord.co.uk/Truedat and...
  6. Edrol97

    General code issues- fact generator page logo

    Doesn't work. I also tried loading it in base64
  7. Edrol97

    General code issues- fact generator page logo

    Right, so I wanted to edit and rationalise the code of one of my website pages with AI to ensure that it looked like a specific version of a news parody item. I'm generally anti-AI and I had a base design already, but it's changed a few things, and the logo now no longer shows up. I've checked...
  8. Edrol97

    Wanting to draw a table with both vertical and horizontal lines (defined from svg images)

    How would I input this? So far my code looks like this for the page, but I'm not sure how I would input it based on your suggestions. <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <link...
  9. Edrol97

    Wanting to draw a table with both vertical and horizontal lines (defined from svg images)

    Hi all, I've got the current page of my shop which sends an email to me if anyone ever wants to order something. The table has two images of lines (svgs) stated in the code but only one of them displays. How do I ensure both lines display in the direction they should be to form a table...
  10. Edrol97

    Autoplay background video loop on mobile (404 page)

    Right, it's getting better, now it plays automatically on second attempt of loading the page on mobile but still doesn't play straight away.
  11. Edrol97

    Autoplay background video loop on mobile (404 page)

    iOS. Have no idea whether it autoplays on Android OS. The video doesn't have an audio track and reduced accessibility settings being on or off doesn't seem to make a difference.
  12. Edrol97

    Autoplay background video loop on mobile (404 page)

    Hi all, My current 404 page works perfectly on desktop but the video element of it doesn't autoplay on mobile. how can I ensure this? https://house-of-lord.co.uk/JoeyJoJoJuniorShabadoo
  13. Edrol97

    How do I get this underline to fully underline all <a></a> tags

    Hi Tom, I've done this and it is better, but there's a gap in the underline. See below. How would I make sure the underline is just straight and expanded to the necessary length it should be.
  14. Edrol97

    How do I get this underline to fully underline all <a></a> tags

    So what I've got versus what I want How do I ensure this in my css. Code below. Thanks as always! a:hover { cursor: url(img/background/Pointer.svg), auto; text-decoration: none; background-image: url(img/background/Underline%20White.png); background-size: 45% 30%...
  15. Edrol97

    JavaScript What's wrong with my code- think JS related

    I want to make a fact generator: Here's the code. It's currently not working, and not sure what I'm doing wrong. All help appreciated. Thanks, Eliot <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta property="og:image" content="img/background/QSS.svg" />...
Back
Top Bottom