Frontend
HTML, CSS and JavaScript - Having trouble with CSS? Post your question here. Find solutions & discuss stylesheets, hacks and techniques.
13,911 topics in this forum
-
Dear Anyone. I've done a 5-page website which is called accessibilitypartners.co.uk., we're 2 disabled people who want to make work-life easier for other disabled people. We've bought the name, we've built - after a nightmare learning curve - a PASSABLE website on Google Sites - still hugely learning! - and we've got a Google Domains. Now here's what we THINK we know but you can correct us on any of it because if we were right, this would be working! These are probably-wrong thoughts, not statements! 1.) Accessibilitypartner.co.uk is the DOMAIN NAME. Domain names point to websites. 2.) There's 3 kinds of website names, a CNAME which means Canonical Name…
- 29 replies
- 3.8k views
- 1 follower
-
Hi Developers im doing a university project on creating a clickable map based journey planner for the london underground trains... i was wondering if someone could make a step by step video on how i use the transport for london ( TFL) API and insert it in my program so that when 2 stations are clicked and they press the continue button data such as each stop the train makes on the chosen route, the duration of the journey, the colour of the lines the route takes etc to be displayed on the second page the programs im using for my project are: HTML CSS JavaScript/JQuery kind regards Zed
-
- 8 replies
- 3k views
-
-
The site is www.redmonwrecker.com , if you type that url in the browser, the site will load. However, if you google redmon wrecker, www.redmonwrecker. com is the first choice in the search results, but if you click that result, the site won't load. I"m not sure why this is, the url is the same in both the google search and typing it in the browser bar. Looking at whynopadlock.com it says the ssl cert is not installed correctly, though its odd that the site will load with ssl on some browsers but not all. Any suggestions are appreciated.
-
- 2 replies
- 2.3k views
-
-
hi i have built a site at Taihape New Zealand - Adventure Central (mytaihape.com) and have everything sorted but the widget footer 4 is larger than the rest of the footer links how do i reduce the size of the footer without wrecking my site. theme is next legit news
-
- 0 replies
- 2.8k views
-
-
Hi everyone. There is something I am trying to understand I've seen few websites all the content is displayed in a single page, for example I go to the navbar and I click in one of the bottoms and it takes me straight to a section in the body I mean after clicking automatically goes down the page and show the content of that bottom in the navbar, how that trick works?
-
- 9 replies
- 3.2k views
-
-
-
Hi All - I have downloaded a free template site to edit and use as my own on my AWS instance. I'm a platform engineer and my html/css skills are very limited. Made some changes to the code but noticing that when I replace an existing img file with my own - some will work but majority won't display and I'm just left with a small box icon with a line through it in the corner of where the pic is followed with my alt text. Ive checked everything below and really struggling to figure out what the issue is. Any advise would be amazing, thanks - checked name of the file and location of images. All OK. - double checked it's jpg which it is - changed th…
- 4 replies
- 2.2k views
-
I would like to build the attached in bootstrap with it being responsive dependent on screen size. On tablet devices and smaller I would like the image to be edge to edge of the screen with the content section indented in the bottom of the image slightly. Any help/guidance would be great! Thanks
- 3 replies
- 2.7k views
- 1 follower
-
Hi I´m a making a website and using CSS float layout and I have a problem. On every side of the website I have a white border, I want it to fill the whole page.. What should I do?
- 1 reply
- 2.2k views
- 1 follower
-
Hello I have added a CSS dropdown menu to www.eugenemdonaghy.co.uk but with 2 problems 1) sub menu is just taking the maximum width of the items in the sub menu 2) viewing site on mobile makes content unreadable if viewed in portrait mode any ideas on how to sort this?
-
- 8 replies
- 2.6k views
- 1 follower
-
-
Hello, I am developing a website with a form, in which when filled out, will populate the results on a stylised page. Can this be done with the Form ID of the form field? I am using wordpress for this. Any help would be greatly apprieciated. Thanks!
- 2 replies
- 2.1k views
-
I have the following header menu bar and I need to move the menu and logo to the right so it is centerd. Can anyone help me? CSS code: * { box-sizing: border-box; } Body { background: url(/images/srtc-graph.jpg); font-family: Arial, Helvetica, sans-serif; margin: 0; padding: 0; } li { list-style: none; } a { text-decoration: none; } #navigation { display: flex; align-items: center; background-color: #FFF; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); …
-
- 25 replies
- 3.3k views
- 2 followers
-
-
Hi there, I'd like to know whether you need to create a database when creating and sending a website to your client. I'm asking about sending on freelancing platforms. I'me new and need help on thsi matter. So, if someone could reply, it'd be of great help.,
-
- 1 reply
- 1.6k views
-
-
Hello. I'm new to web design and am having a lot of trouble creating a working "print recipe" button on Wordpress. If you look at my attached picture, you'll see I have a button that says "Print Recipe". I've searched the web for hours but couldn't find anything about how I can set this button up to print my recipes. What I want to happen is that I click the button, it takes my recipe template (in this case it's "SOS Bacon"), and brings it up in a separate print tab. Any help on this would be greatly appreciated. I'm not a web designer by trade and know nothing about coding, I'm just making this website for a family member. I am aware that there are Print Button plugins o…
-
- 1 reply
- 1.8k views
-
-
Hello. I am at my wits' end trying to make this work. I have developed a website in Dreamweaver and it displays correctly. I have used custom fonts that have displayed correctly. When previewing it from Dreamweaver in Firefox, Chrome and Opera it all displays fine. When I upload to the remote server the website displays fine in Firefox but not in Chrome and Opera. I am not sure what is happening and I am stuck as I need it to display properly. Any guidance would be massively appreciated. Kind Regards The website is siconlightning.solutions 🤯
-
- 3 replies
- 2.2k views
-
-
Hi there, I've just started working on a new site, and the responsiveness seems to break on mobile for seemingly no reason. When I reduce the window size down to the same as mobile on my computer, everything displays as expected, but on an actual phone (or when emulating a phone), it breaks. URL is https://highnotes.tech, and the project files are attached. Also, I'm fairly new to web design work, so any tips as to stupid things I'm doing / easier ways to go about it, plus design improvements, would be awesome. Thanks in advance guys, Josh HighNotes.tech.zip
- 10 replies
- 3.2k views
- 1 follower
-
i need to create html site with out coding skill some one know any software ?
-
- 1 reply
- 1.8k views
- 1 follower
-
-
I'm going back to basics and doing a HTML/CSS course on Udemy and conveniently enough the tutor is avoiding the whole 'position' property thing and only touching on it when needed. I thought well lets have a closer look at this cos if I'm doing web design I need to understand this stuff. So I've looked at w3schools and freecodecamp and still can't find a good tutorial explaining how the position property works. When I try some of the examples it doesn't seem to follow how they've explained it works. 'Position' property has got to be one of the most confusing topics I've ever come across. I'm asking, no begging is there a clear, concise and thorough resource which dea…
- 3 replies
- 1.8k views
- 1 follower
-
Wonder if anyone can help me am trying to get it so my pm tabs will scroll left and right but will not pass the final tab. so if I press the left button the first tab will not be moved left but if I press right tab button it will move to the next tab until that gets to the final tab then it will not move no more and i will need to press left button to move back so on screen shot at the bottom on how tabs look here my JS code const container = document.querySelector(".pm-tab"); const leftBtn = document.querySelector(".leftBtn"); const rightBtn = document.querySelector(".rightBtn"); let translate = 0; leftBtn.addEventListener("click", function() { var nu…
-
- 0 replies
- 1.5k views
- 1 follower
-
-
Hi, I have a video on a webpage it plays in Microsoft Edge, but not in Google Crome. Yes I have cleared the cache but that didn't help. Here's the code [code] <!doctype html> <html> <head> <meta charset="utf-8"> <title>more info</title> <link href="OEP.css" rel="stylesheet" type="text/css"> </head> <body> <div class="blue"> <br /> </div> <div class="grey"> <br /> </div> <div id="oep"> Ossian Enterprise Park </div> <div class="grey"> <br /> </div> <div class="blue"> …
-
- 0 replies
- 1.6k views
-
-
Hey guys, I have an assignment to build a web using html, css, javascript, jquery & bootstrap. Im struggling with awesome fonts, jquery & some other stuffs just wont show up. Can anyone give me a hand? Thanks restaurantproject.html
-
- 2 replies
- 1.8k views
-
-
Hi everyone. Hope someone can help. I am creating a simple message system where users can message each other. I read the php code into two divs. The first div is the message being received; therefore from another member on the site. The second div is the reply, so the logged in users message. Each div has a message wrapper with a message container div which itself contains a p tag and a span tag and an image container for the profile image. The profile image location is different in each div. The receiver div has the image container on the left with the message container to its right. The sender container has the message container on the left and the image container …
-
- 2 replies
- 1.6k views
- 1 follower
-
-
Hi all, I am fairly to new SCSS, and trying to create 3 classes each for a set of 5 name and value pairs. It works, but the outputted css shows each class 5 times! So something is being wrongly referenced here: $colours: ( white: #fff, purple: #20123a, green: #39C271, duskblue: #000473, skyblue: #41B8BC ); @each $name, $value in $colours { .#{$name} { color: $value !important; } .#{$name}-bg { background-color: $value !important; } .#{$name}-border { border-color: $value !important; } } Let me know what I am doing wrong here! Thanks
-
- 4 replies
- 1.6k views
-
-
Hi there, I have created a webform, which when submitted sends to email. I have included ajax to handle the notifications. But it's not quite working when a file is attached. It sends to email fine when it's just text If I include the form handler contactForm.php directly in the html page with the form, it sends the form attachment fine. If I include a console.log(file) just above the ajax, it does display the file data Below is the code in question: <form enctype="multipart/form-data" method="post" action="<?php echo htmlspecialchars($_SERVER["PHP_SELF"]);?>"> <input class="file-input" id="fileUpload" name="attachment" type…
-
- 1 reply
- 1.5k views
-
-
This is a bit of a shot in the dark but maybe someone out there has an answer. I'm doing a course on Wordpress and we are using Axios instead of using JQuery in our JS. An example statement is below. const response = await axios.post(universityData.siteURL + "/wp-json/wp/v2/note/", ourNewPost) All works fine but what I don't understand is the structure / content of 'response'. How do I interrogate 'response'? I had assumed for instance if I did console.log('Axios response: ' + response.data) I'd get a nicely laid out JSON like OO output in the Chrome console panel. But all I see is: Axios response: [object Object] I can do console.log(response.d…
- 2 replies
- 1.7k views
- 1 follower
-
I have 3 main sections to my website and each are in their own subfolders. My main index page is for only one of the 3 sections but lives outside the subfolder in the root. Will it damage SEO, the user experience or good practice by instead moving the index to the subfolder and using something like htaccess to redirect to it from a google search or direct link etc? eg redirect 301 from mysite.com to mysite.com/subfolder1/ The reason is that for all the other pages, relative links are within the subfolder but the index needs to point to the subfolder so it means it's structured differently.
-
- 3 replies
- 1.3k views
- 1 follower
-
-
I've being trying to embed my calendar page as an inline pop-up following these instructions, but the "Schedule a meeting" button refuses to show up after copy/pasting the script. I've tried it on a simple html/css sandbox too, but no luck. I don't know if I'm supposed to do something else to make it show up. Please help.
-
- 2 replies
- 1.2k views
-
-
Hello friends I want to know can i install react running thsi command on G drive instead of C for insttaling react in default C: is this as said here https://www.w3schools.com/react/default.asp C:\Users\Your Name>npm install -g create-react-app but what if i do like this G:\react>npm install -g create-react-app and then create react application there G:\react>npx create-react-app myfirstreact the reason i am asking this becoz in future if i want to set up reactapplication in another drive say F: can i do that without any issue? or first times i always need to install on C drive first? after that i can access globally?
-
- 0 replies
- 1.4k views
- 1 follower
-
-
Hey everyone! I started a very clear portfolio website for a friend: http://joanarafael.info/new/ The only clickable projects on the left column are the 2 first ones: "Who's the savages …" + "Factory Into House". It's all working fine but when you filter a project by category and then click on one of the projects, the list is also refreshed - of course - and the users doesn't see the filtered category anymore. Can anyone suggest a good and simple js/jquery library for me to easily keep the menu "fixed" so that it doesn't refresh when you open a new project? I can image this would be simple to achieve with AJAX but I'm not comfortab…
- 4 replies
- 1.6k views
-
Hi all - I have been tasked with creating a number plate designer script for a website. I've been having some real troubles and it's a tight deadline does anyone know a script which is pre-build which can be modified? Good examples would be: http://www.plates4cars.co.uk/designer.php#numberplates http://www.a1showplates.com/
-
- 6 replies
- 7.7k views
-
-
Hi all, I have a problem with a HTML/CSS layout, is here the right topic to show the code? Thanks
- 9 replies
- 1.5k views
-
I am wanting to create a website that sells products to school parents but it is the schools I need to advertise to sign-up. The website will need 2 sections, one for the schools to find out about the service with the aim to sign them up to use us. The second section is once a school has signed up, the parents (and care-givers) will order through our website. I don't need to sell to the parents as such as we will be exclusive to the school. I just need to make it as easy as possible as the parents who will have the option of using us or not bothering. I need the URL for the parents to be very easy as they will be getting printed info with links (which they have to type…
-
- 5 replies
- 1.2k views
- 1 follower
-
-
Hi, im starting a new site for my client, but the drop down menu is disappearing when the cursor reaches the start of the new div below. it has a higher z-index of 1000 and its visible when rolled over, you just cant get to the last <li> in the list. Im sure its something simple. Can any advise me maybe what to look at. http://www.turnerfunerals.co.uk
-
- 1 reply
- 1.3k views
-
-
Is there considered a standard for structuring a flat, static website directory structure these days? I mean in the past it was simple index.html /images /js /css but now with compiled files etc, would something like the following be acceptable? index.html /source /scss /js /images /images /js /css
-
- 1 reply
- 1.7k views
-
-
I have a large css file in use. Have experienced several times that new added css rules where not applied. After long searching for a minor mistake or after placing the new part earlier in the css file I got it working. That made me wondering: What is the best way to check large css file for parts breaking up the css? Is there some tool for checking css for breaking parts?
- 3 replies
- 1.6k views
- 1 follower
-
Hi, and thank you for checking out my post. I am having an issue compiling the 'styles .scss file into a styles .css file' , when both files are located inside two different folders. Example: scss file --> assets/scss/styles.scss and css file --> assets/css/style.css. this is the error message I get: Can anyone help me figure this out, Please?
-
- 1 reply
- 1.4k views
-
-
With *{text-align: center} a map I am using from Mapbox goes halway off the screen , with html{text-align: center} it aligns perfectly. Weird. And fascinating. Can anyone shine a light on this? Thank you for your help.
-
- 1 reply
- 1.5k views
- 1 follower
-
-
Hello friends, I am trying to make a button color switcher but somehow its not working although i see no error in the console here is the code <!DOCTYPE html> <html lang="en"> <head> <title>Bootstrap Example</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js…
-
- 0 replies
- 1.7k views
-
-
Hi for use in my TYPO3 website I created a nice header-slider. All fine, but I can not get it screen wide. The slick slider has so many css properties that it is had to find the right one. Any of you experienced guys/ girls can help me getting this right? here is the live sample: it holds one slide at the moment so it is not "sliding" now would be nice to get it full-wide. http://testnl.vini4all.nl/
-
- 1 reply
- 1.3k views
- 1 follower
-
-
Hi, I'm relatively new to this and have just taken over the continual development of my website. It runs on wordpress which I'm beginning get to grips with. My website has all my contact details and icons for social media sites at the top of each of page on the website. I am unable to find anywhere in Wordpress where I can change these details. Any assistance would be greatly appreciated. ww.sgtreeservices.co.uk elfie
-
- 1 reply
- 1.3k views
-
-
I want to update my website's mobile layout as it takes more time to upload on mobile. Does not meet the standard speed. Can anyone suggest what to change in my website design? Thanks, Neer Event Management Visit : https://www.neereventsmanagement.com/wedding-event-management-services-delhi-india/
-
- 0 replies
- 1.3k views
- 1 follower
-
-
Hello friends, Any idea why the seach popup only works on small screen using vanilla js and why the jquery method does noy work at all I am trying to add a simple seach popup screen with classlist add and remove with vanilla js but it only works for small screen here is the code const openButton = document.querySelector(".js-search-trigger"); const closeButton = document.querySelector(".search-overlay__close"); const searchOverlay = document.querySelector(".search-overlay"); openButton.addEventListener("click",openOverlay); closeButton.addEventListener("click",closeOverlay); function openOverlay(){ searchOverlay.classList.add("s…
- 1 reply
- 1.5k views
-
Hi there, So the project is to create an invoicing tool. I would like a bit of help to see how to go about this, i'm not good with javascript so you may have to bare with me. So i currently have 1 row of 5 text inputs. I can click a button to add another row (Maximum of 10 rows). Each row again has 5 text inputs. So, i need to be able to add a calculation based on input. Structure: Item code > Item Name > Item price > Item quantity > Total Id like Item Quantity to multiply with Item Price and give a total in the Total column and then take the Total columns that have data in them and add it all up for a sub total at the end. Cur…
- 26 replies
- 10.6k views
-
i make two div div named by sidebar and layout into container div named by container i make flex box to the container to make the sidebar in left side and the layout in right side .. and that's well done but the problem that the this flex box effect on any element into the layout div ( when make centering don't work until i remove the flex box <!DOCTYPE html> <html> <meta charset="UTF-8"> <head> <title>snapshot</title> <link rel="stylesheet" href="snapshot.css"> <script src="https://kit.fontawesome.com/11e8366046.js" crossorigin="anonymous"></script> <li…
-
- 2 replies
- 1.5k views
-
-
hello friends, Currently i hav installed sass using node.js inside d: directory. And main is folder inside d: directory and with the command prompt of node i can watch my scss file for changes and write into css with this command sass --watch programming/sass/scss/main.scss programming/sass/css/main.css with this directory structure now is there any way i can watch changes under subdir2,subdir3,subdir4,subdir5 with a single command?
- 4 replies
- 3.4k views
-
Below in the CSS the second selector contains attributes for margin. The first 'margin' attribute doesn't work while the second which does the same thing as far as I can see does. The only difference is it's more explicit. This is simple stuff I know but it's doing my head in as to why either won't work. A second question about posting in these forums. When I post a code extract like below the cursor gets stuck inside the code block and I want to post a second block or just type below. How do I get the cursor out of the code block to type outside of it? I know I can post several empty lines and then just paste in the middle but there must be a proper way. …
- 5 replies
- 1.6k views
- 1 follower
-
I wrote a blog post detailing how we automate accessibility testing at Moonpig https://medium.com/moonpigtech/how-we-automate-accessibility-testing-at-moonpig-89a0ae0db0f5
-
- 0 replies
- 1.5k views
-
-
i really try and try to make margin for grid area elements ( 4 pic ) i want to make margin right and margin left with maintaining of centering of elements i want the 4 pic still in center with left margin and right margin ! code of html <div class="image"> <img class="one" src="images/pic03.jpg" alt=""> <img class="two" src="images/pic04.jpg" alt=""> <img class="three" src="images/pic01.jpg" alt=""> <img class="four" src="images/pic05.jpg" alt=""> </div> code of css .image { min-width: 100%; display: grid; grid-template-areas: …
-
- 3 replies
- 1.4k views
- 1 follower
-
-
when i make zoom out , the page is corrupted like this the part with gray color is cut by footer section with black color as background that's the code Heilo.css Heilo.html Normalise.css
-
- 1 reply
- 1.4k views
- 1 follower
-
-
My first design 🙃 link https://codepen.io/ahmedbnabouelezz/pen/YzwQRje
-
- 5 replies
- 1.3k views
-