�
�
â–ª â–ª2019-01-15 20:10:09
css
â–ª â–ª, 2019-01-15 20:10:09

What's wrong with this editor?

I have known for a long time that it is better to bypass the wretched dreamveaver altogether. But I never had time to switch to phpstorm. There have always been problems. Today again. It seems that the editor messed up the css code, now all the styles on the site fly off because of this. Highlights the error in the editor. If I delete this line, the error appears on another similar line , media . What could be the problem? Everything was great yesterday. Today I added a new class, and suddenly this happened.
I also noticed that if you copy this line to another place above the highlighted error, the editor does not see any errors in it. In the wordpress editor, he does not see any errors, but all the styles on the site have flown off. I just noticed that the line that I added today, and after which the bugs went, disappeared. It's like I didn't do anything today. But errors began to arise not just like that.
I suspect that dreamveaver littered the entire file with its next bug. A year ago there was the same problem with another site, but I did not attach any importance to it. The problem is that I don't have copies. Or maybe a problem in the code? Then why did the error start appearing everywhere?
Before removal
5c3e13e0d4799512429247.jpeg
After
5c3e13ef125cb682579159.jpeg

@media screen and (max-width:830px) {.content-art:after{display: none}}
.container.article{position: relative;padding: 5% 0% 10% 30%;width: 80%;    min-width: 350px;
    max-width: 1460px;}
.container.article.comments-block{padding: 0% 0% 0% 30%;}
@media screen and (max-width:830px) {.container.article{padding: 5% 10% 10% 11%;}}
@media screen and (max-width:740px) {.container.article{width: 100%;}}


.bottom-block {position: fixed; background:rgba(255,255,255,0.70); height: 90px; bottom: 0; right: 0;z-index: 9;}
@media screen and (max-width:600px) {.bottom-block{height: 70px;}}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Timofeev, 2019-01-15
@kingdomofcrooked

I have known for a long time that it is better to avoid dreamveaver altogether. But I never had time to switch to phpstorm.

If you use dreamveaver, then you probably don't need phpStorm, but webStorm.
For sure. Judging by the error that cannot find the closing curly brace. And if you posted the code as code, then I think you would even find it. Or we would suggest. But the picture code is not respect for colleagues.
I am sure that there is even a special place in hell for those who insert code like that. Next to those who do not turn on the turn signals.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question