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

    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?

    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" />...
  4. 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...
  5. 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...
  6. 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
  7. 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%...
  8. 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" />...
  9. Edrol97

    JavaScript I want to create a Tweet counter per day- how would I do it?

    I've got a feeling this has something to do with APIs but I'm very unsure as I've never used them before.
  10. Edrol97

    Wanting to insert multiple videos in the same html player- is there a way to do this?

    Hi All, Any help on the above is very much appreciated. Any ideas? All the best, Eliot
  11. Edrol97

    Do YouTube videos work in dev mode html?

    I'm trying to embed a YouTube video for one of my pages. How can I do this, without getting the following playback error: An error occurred. Please try again later. (Playback ID: 6325GQOCfu6IpG2z). Thanks in advance for your help.
  12. Edrol97

    Adding a video as a background in html/css

    I want to add a video as a specific page background in html/css. How would I do it so the video loops ad infintum? Thanks, Eliot
  13. Edrol97

    svg expand hover

    Hi, I'm wondering, I would ideally like a new svg underline that I've installed on my site, to span the entire url-linked text, but how would I ensure this in my css? Link for inspection. All the best, Eliot
  14. Edrol97

    Cursor gradient issues

    Hi all, I'm back after a little while, and having trouble with the viewbox in a specific svg file. It's constantly making it too big regardless of whatever size I make it. I've tried resizing it to 16 pixels from 32 pixels, I've tried editing the xml but wonder if anyone has any ideas about...
  15. Edrol97

    Custom cursor- svg issue

    Hi all, So I have a custom cursor that I want to implement. The code for the svg I want to add is as follows: <?xml version="1.0" encoding="UTF-8"?> <svg id="Layer_5" data-name="Layer 5" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 26.1...
  16. Edrol97

    <hr/> placement at top- recreation of Reuters style page

    Hi, So, I have a page I made last night found here. Mostly it's working well and as it should but I want the horizontal rule attached to the top of the nav bar and for that to be stuck to the top of the page. The navbar appears to be sticky which is right but I want the hr to be sticky too...
  17. Edrol97

    Multiple scrollbars in the same css file- is it possible?

    Hi all, Wondering if the above is possible. The navs and bodies of all of my pages are different and this is possible within css to manage, but if I want to have different scrollbars for each page, how would I do this with the same css? Is it possible? As always, thank you for taking the...
  18. Edrol97

    Trying to add svg arrows to my slider gallery- but they disappear when added

    Example of what I'm talking about below and all I've changed is the code of one of the images. They have the same file path, same name, just a different extension versus how it should look below: Is there a way to resolve this?
  19. Edrol97

    Weird cursor goings-on?

    My CSS is a bit messy because I've got so many formats for different body styles. As a result I tried to change my cursor yesterday and things went a bit awry. The site issues are live here and across the whole of the site. Is there a simple way to solve this?
  20. Edrol97

    How to add an svg cursor?

    Hi, I think my SVG Code is as follows in xml but haven't changed the url so am wondering if I need to change this to my specific file path. How would I add this to create a custom pointer across my site? <?xml version="1.0" encoding="UTF-8"?> <svg id="Layer_1" data-name="Layer 1"...
Back
Top Bottom