I honestly trying this to fix now for literally about 12 hours.. I can't get my hovers to work.
I switched my website to another host, and they simply doesnt work anymore.. idk why
Host before: www.youbetterrun.de (as you see they still work there, try to hover over the navbar and on the Vote Images on the left)
Host after: www.l2xenoth.com - i had my site before on this host in /site2 (in this directory they worked.. idk why) then i switched them to the default directoy and they dont work now..
Anyone know why this happens?
you have some path problem with JQuery, see the errors in the image below, so check the dependencies and their path !
UPDATE
you can see in the bottom left of the screenshot, in js folder there is no jquery
Related
When previewing my pages with a live server everything works fine.
but when I tried to open my index file from local it didn't show CSS or anything.
and when click on navigation that links to another page it shown "File not found"
first of all, please provide code with your question. Second of all, I had this once happening to me, I fixed it by changing (this is an example) /CSS/style.css to ./CSS/style.css
So you basically put a dot in front of it. Please let me know if this helps.
I tried lots of different ways and nothing is showing up, I never use Brackets environment and I'm facing this issue. I added my URL image background but it isn't showing up. Does anyone have an idea?
Maybe the url is wrong, you are in the folder image so you just have to write it like this :
background-image: liner-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.6), url(sawirl.jpg))
I'm having an extremely hard time trying to figure out why my css file is not being called. So I have a file named Style.css which was working perfectly fine until recently when I tried to modify some of the code and nothing was changing. I genuinely don't have the slightest clue as to why because everything was working perfectly fine when I first made the file.
The picture below shows both of my css files. The reason I have 2 files is because I was testing to see if the path I was calling was correct. Which I think I am calling to correct path, but I'm not getting the right results.
Both css files
As you can see when I call Stylee.css note the extra 'e'. Everything displays correctly with a blue border.
Calling Stylee.css
Then I call Style.css and I don't get a blue border. The border is black which is what the border color used to be in my old file, but I changed it to blue.
Calling Style.css
I absolutely promise this is not photo shopped I genuinely don't know why my old file is being called. I was hoping maybe someone knew why this might be the case. I made sure to go into my folder options and unhide hidden files and folders. Nothing came up. I kept changing the color in Stylee.css and the border kept changing. The style for the hover does work if that helps knowing.
I am aware that I can easily stop calling Style.css and call Stylee.css to make everything work, but I really don't want to settle for that. I'm coding to learn and kind of want to learn why this is happening.
I'm sorry everyone. Doing ctrl + F5 twice fixed the problem.
Old CSS showing up?
Solved my problem.
first time poster and html noob here.
For a few hours now ive been trying to use a background picture. I downloaded an image I wanted to use, and set about trying to code it.
No matter what I tried, the image would not display. However, when I tried one of the other images I was using, it displayed just fine.
I tried using just the first letter of the existing image, and the program immediately suggested the image in a dropdown, as well as several other images with names starting with the same letter. However when I tried to use the new images first letter, it did list options, but none of them were the image I had downloaded.
I tried renaming the image, but still no luck.
I havnt included any code just yet, since this seems to not be related to the code itself (Since other images display just fine). Has anyone run into something like this before? Extensive google searches did not yeild anything for me.
In case it matters, I am specifying the background image as part of the Body css.
Thanks in advance for any help.
Please check to ensure your preferred image is located in the same parent folder as your htlm.
As #Patrick Falvey says but if the picture is not in the same folder remeber to / before your file path :)
I try to view an htm page locally (on my laptop) in IE 10 and none of the images appear. However, if I go to the image url itself, it shows fine. For example, if I go to the URL "C:\Users\Angie\Desktop\pdb\ROTE - Main Menu.htm", images like this:
<IMG SRC="graphics/LogoSm2.gif" STYLE="Margin-top: 0pt; margin-bottom: 0pt" width="71" height="67">
do not show, but if I go directly to the image, "C:\Users\Angie\Desktop\pdb\graphics\LogoSm2.gif", it shows.
Can anyone help please?
Edit: RESOLVED. FIGURED IT OUT! It was a stupid oversight on my part. The file had a .htm extension from where I copied it, but I had to change it to .html to view locally. :-P It works with the original relative links. Thanks everyone who tried to help.
You're using a relative path, which means the server checks from the directory it is in. You could traverse all the way to the file, but that's not really recommended. Add the image into your web-app/images directory and grab it that way.
This site may help regarding some resource resolution, although it's a little unclear from your question which server/language you're using.
Try changing it to
src="/graphics/LogoSm2.gif"