Does CSS accept folder names with spaces? - css

I have tried to insert a background image in a CSS archive, the image is in my computer, I tried to put the image address but the editor does not recognize it. When I run the code my background photo does not appear. There is some problem with the spaces in some folder names? The image address is
"G:/Programação/Webdesign/Curso de Webdesign/Projeto CSS/imagens/bg-3.jpg". My code editor is Visual Studio Code.

It accepts folder with spaces it will be %20 in url.
But you should use relative path for your image like /imagens/bg-3.jpg or /Projeto CSS/imagens/bg-3.jpg

Related

I'm working with the Austin Night theme; I'm trying to customize the images within the CTA section using JSON file

I'm trying to customize the CTA section with new images and the support documentation for Austin Night says you're supposed to customize images within the JSON files. I uploaded some images to the image manager but now I'm unsure of where to copy over the new image file within the coding - So I need help knowing where exactly I do this and what part of the image URL is supposed to copy over the default image text. Thanks!
I've uploaded images to the Image Manager and I've copied various parts of the image URL to replace the theme's default images, but nothing seems to work. I've been working within the en.JSON homepage file and I even tried to change the image within the OB Custom images file all in Stencil File Editor, since the theme documentation doesn't give much description on what to do exactly besides to customize in the JSON file.

Unable to add bgimage in CSS

The below is my piece of code, I am not able to add background-image in my web page, can anyone tell me where I am going wrong?
enter image description here
Create folder called 'images' near your class_id.html file are located and Copy "Aravind_Signature.jpg" image to the newly created image folder
and then change the css background-image property as below
background-image:url("images/Aravind_Signature.jpg");
Note : its bad approach for referring image files path starting from drive names like "c:\". Because when you share your code you need change image path always.
There is nothing wrong, you just need to look at referring to path this way...
either use '/' or '\' so that you will get the right path.

Sitecore 8 Custom Icons without using zip file

Adding custom icons in Sitecore requires the following step:
Zip it is all. The name of archive should be the same as the containing folder (MyIcons.zip);
Upload the zip file by the path which was mentioned above: \sitecore\shell\Themes\Standard.
The problem is when I need more icons I need to add the icon and zip the file again. Is there a way to avoid this or make this maintainable without using zip file?
You can directly specify the URL of the icon you wish to use in the Icon field of the item. This can be an image on disk:
Or it can be an image from the Media Library:
I would recommend using the format such as: /-/media/F8C69CCD422C40AC843D2E4144F16964.ashx?thn=1
This ensures that the icon used is of thumbnail size (the thn=1 parameter) and by using the guid of the media item it means that the icons can be moved/restructured without having to update the Icon fields.
In both these cases, you need to manually enter the path of the icon file, you cannot specify it using the icon selector dialog.

how to set image and text scroll in adobe capivate 9

Can anyone please help me. Am using adobe captivate 9. I have a content with image that exceeds the slide spacing, i want to set this content within the page using scroll. I have tried using text-scroll widget but i cant add images to it.
Put the image into an MS Word document and save it as an HTML web page. The result will be an HTML file and folder named "[file name]_files" in whichever folder you saved it to.
Select both the HTML file and the folder, right click, and choose Send to -> Compressed (zipped) folder in the context menu.
Dragging that ZIP folder directly onto your Captivate slide will create scrolling HTML Web Object based on the formatting of the MS Word file. It will show up in your Library in the "Web" folder.
Unfortunately, this is a feature that is missing from Captivate. The best solution I've found is to make an html file that includes the text and points to the image, then zip and import as an HTML5 Animation.

Powerbuilder resource file with spaces in icon names

I created a Powerbuilder app that uses picture buttons. Some icons have names with spaces in them ('icon 1.png'). Now I created a resource file (.pbr). Rebuild goes thrue without problems, however when I ran the app, the picture buttons with icons that have spaces in the title show a white image. It works fine for buttons without spaces ('icon2.png').
Is there a way to make a valid .pbr with spaces? I tryed editing icon paths with ",',~b but I get errors during rebuild.
Yes, it is possible to use spaces in the icon file names. I am already using in Powerbuilder 11.5. What version do you use?

Resources