Click here to Skip to main content
15,908,674 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello everyone,
I'm working on my website [DELETED].

And I can't find problem with code that changes CSS styles according to resolution
CSS
@media screen and (min-width:1199px)and (nim-height:799px) {

{
 margin-top:-12.5%;
}
#credit
{
 margin-top:31.4%;
}
#boxes
{
 margin-top:-18%;
}
div.left1
{
 font-size:12px;
}
div.right1
{
 font-size:13px;
}
}

Anyone can help me with this?

What I have tried:

@media screen (min-width:1199px)and (nim-height:799px)
Posted
Updated 21-Jun-23 5:38am
v4
Comments
Dave Kreskowiak 20-Jun-23 12:23pm    
What is "nim-height"?
Richard Deeming 20-Jun-23 14:17pm    
I've removed the link to your site, since it makes your question look like spam.

As Dave said, it should be min-height, not nim-height. And there's a missing selector for the first rule within that media query.

Beyond that, you haven't explained what the problem is.

1 solution

LOL, i was looking for error over 2 hour and didnt saw this
As Dave said, it should be min-height, not nim-height


Thanks
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900