All Questions
69
questions
3
votes
1
answer
4k
views
How to format and indent CSS in Notepad++?
I have CSS file generated by Sass compiler, but the text inside the CSS file is all on one line.
Is there a way to indent and or format it properly on Notepad++ and VSCode?
I have tried installing ...
0
votes
1
answer
89
views
How do we add images here in 1 single row having name of animals under their pics html css
<ul type="disc">
<li> Himalayan/Indian Black Bear <br>
<Img Src="http://www.shunya.net/Pictures/Himalayas/Darjeeling/HimalayanBear03.jpg" height="30%&...
-1
votes
2
answers
679
views
Formatting CSS into single or multiple lines based on property count
Consider the following CSS:
.foo {
color: red;
}
.bar {
color: blue;
font-size: 14px;
}
.baz { color: pink }
My singular problem is: What regex would format that code as follows - All ...
0
votes
0
answers
37
views
Media query not recognised in Notepad++ [duplicate]
I'm trying to use a media query in my CSS, however I'm unable to get the query to work.
It seems as though my CSS file doesn't recognise the term '@media' as a special term (i.e. it isn't ...
0
votes
1
answer
48
views
Slowly Rendered Html page
I am trying to make a Sign-UP form in html and CSS with notepad++ but whenever I try to run it on chrome, it loads very slowly. Is it a configuration error or something? What am I doing wrong? Is ...
0
votes
2
answers
101
views
Move images over in HTML after % shrinking?
I am trying to create a horizontal taskbar. I wanted to use custom images and have them shrunk down to fit. I created a class for this that shrinks the image in the unordered list, but it makes the ...
1
vote
1
answer
153
views
regex to find pattern not inside another pattern
I'm trying to write a regex to find all ID selectors in a CSS file. Basically, that means any word that starts with a #, so okay
#\w+
Except ... color specifiers can also start with a #. So what I ...
0
votes
0
answers
38
views
Add a two column above div but that column and div should not have gap
In div class background color is black, My question is make a two column in anyway so that the div class of horizontal line should not have gap while making a column.
Suppose i create a two column ...
1
vote
1
answer
4k
views
grid-template-columns doesn't exist in notepad++?
Trying to make a grid,
.wrapper {
display: grid;
grid-template-columns: 48% 52%;
}
The issue is that when I type this, display works, but grid-template-elements doesn't go bold, it's ...
-1
votes
2
answers
457
views
CSS Properties rules are not working in HTML file
Please don't be too mean i am just trying to understand. Okay, so I am proficient in C++, Java, and C# for applications. I have recently been trying to understand web development. Right now i am going ...
0
votes
1
answer
500
views
Why are these CSS curly braces not matching?
I am debugging a large piece of CSS code. I have narrowed the issue down to just a few lines. I've been staring at those lines for far too long, without seeing any issue:
@-moz-document url(chrome:/...
0
votes
1
answer
671
views
Notepad++ only paste first line of copied code in replace?
I uses replace feature of notepad ++ a lot to replace code across multiple files. But recently i don't know what i did wrong whenever i paste code of multiple lines in replace textbox of notepad++, ...
1
vote
1
answer
112
views
HTML and CSS codes to be together color highlighted in one .html project
I am doing HTML/CSS as beginner and when I add an simple CSS styled button code in my HTML file it won't highlight that code with an specific color. I changed in settings from HTML to CSS highlights ...
-1
votes
1
answer
1k
views
How To Recover CSS Rules From A Corrupted CSS File
My .css file was working fine but today I noticed the website is not acting based on CSS rules so I tried to inspect the rues on browser and surprisingly I noticed the CSS file is empty!
I tried to ...
0
votes
2
answers
183
views
i would like to change all my div in my html as well as my class name in css at the same time
So i have created a horizontal navigation with a drop down menu, I've simply red what i saw and tried it myself. I've copied and pasted the html and css, I've changed the html in my lines of codes and ...