How to fix meaningless white space in video frame? [closed] - html

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 8 months ago.
Improve this question
Screenshot
Hello everyone,
I need your help to fix this interesting white space. Why does it look this?

You are seeing a sort of edge effect where the system is struggling to match part CSS pixels to the multiple screen pixels that make up one CSS pixel on modern displays.
If you put a background to the video the same coloring as the border it will 'fill up' the little gap.
background-color: rgba(255, 181, 147, 0.814);

Set the border-width to an even number, so instead of this:
#video_1 {
/* ... */
border-radius: 15px;
border-style: solid;
border-width: 5px;
/* ... */
}
Instead use something like 4px instead of 5px:
#video_1 {
/* ... */
border-radius: 15px;
border-style: solid;
/* like this */
border-width: 4px;
/* ... */
}

Related

Circle appears as a square in IE [closed]

Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 5 years ago.
Improve this question
I have the following css code for drawing a circle on a page.
.full-circle {
background-color: rgba(204, 0, 102, 0);
border: 3px solid #333;
margin: auto;
height: 75px;
width: 75px;
-moz-border-radius:75px;
-webkit-border-radius: 75px;
}
It is called by:
<div class="full-circle">
Works fine in Firefox but when I run it in IE it appears as a square and i'm not sure why.
Marvin pointed it out in the comments, but it is the answer to your problem: you have not specified the normal border-radius. Furthermore, if you're looking to create a circle, you want 50%, not 75px. 75px may make your particular div a circle, but if you decide to make the width wider, it will render differently. Your CSS should look like this:
.full-circle {
background-color: rgba(204, 0, 102, 0);
border: 3px solid #333;
margin: auto;
height: 75px;
width: 75px;
border-radius:50%;
}
EDIT: As Rob pointed out, you probably don't even need the -moz and -webkit prefixes unless you are designing a website for a user-base you know uses older browsers. I removed them from the example.
As noted in the comments by Rob, most browsers have had no need for vendor prefixes since 2010, just add
border-radius: 75px;
IE8 did not support this property, IE9 supported it without the -ms- prefix.
But check out #Vector's answer, you should really be using % and not px

Strange while line appear in the html [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 6 years ago.
Improve this question
Can't get rid of this line anyway , here's the domain , please switch to browser mobile mode to open it . http://www.pocketsaver.co/index.php?route=mobile/home
You have a rogue h4 element floating over the top of your content.
.hotlists h4:before {
background-image: linear-gradient(to right, #ffffff 16%, #ababab 53%, #ffffff 83%);
content: "";
height: 1px;
position: absolute;
right: 0;
top: 50%;
width: 100%;
}
I'm not sure the result you were expecting but if you remove position, right and top it will sort itself into the DOM with everything else and stop floating over your content.

Transitioning shapes in CSS not working [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 6 years ago.
Improve this question
I have been trying to run some simple css experiments for transitioning shapes created with css.
I can do it with jQuery just fine, but I am trying to keep things as light weight as possible for the the actual project I have in mind. I've been using Google quite a bit (and W3schools) to brush up on all of this, but I am starting to wonder if everyone is just using jQuery these days.
Anyway. I want to expand a circle to look more like capsule. The code is below.
http://pastebin.com/piXXrmEu
Not sure what I am missing. Just need the circle to gain a width of 700px. It's not currently working in any browser. Though it needs to work in all IE browsers.
Not sure on what event you want the circle to expand, but here is an example of a circle expanding to a 'capsule' shape onHover just using CSS: https://jsfiddle.net/1cdatxq2/
#circle {
width: 300px;
height: 300px;
background: orange;
-moz-border-radius: 300px;
-webkit-border-radius: 300px;
border-radius: 300px;
transition: width .5s;
}
#circle:hover{
width: 700px;
}
More flexible will be variant with animation, i think
#circle {
width: 150px;
height: 150px;
background: orange;
border-radius: 300px;
animation: run 2s
}
#keyframes run {
0% {
width: 200px
}
25% {
width: 300px
}
50% {
width: 400px
}
75% {
width: 500px
}
}
Example here

Nine patch image in css [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 7 years ago.
Improve this question
I have the next style for div:
.page {
width: 90%;
border-color: orange;
border-style: double;
border-width: 25px 30px 10px 20px;
border-image: url("images/border-image.png") 25 30 10 20 repeat;
margin: 70px auto 0px auto;
padding: 10px;
box-shadow: 0px 4px 3px rgba(0,0,0,0.9),
0px 8px 13px rgba(0,0,0,0.6),
0px 18px 23px rgba(0,0,0,0.1);;
}
I took it from example. And there is right all! But me it draws only frame of image and black background (body has black background). How can I draw middle part of images too?
Per https://drafts.csswg.org/css-backgrounds/#the-border-image-slice, the middle is automatically discarded (because it's a "border" image) unless you specify the fill keyword. So you want:
border-image: url("images/border-image.png") 25 30 10 20 fill repeat;

Use black version of site navigation [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 7 years ago.
Improve this question
I want to use beautifull page navigation. When I downloaded below version:
http://codeb.it/resmenu/
I found file index.htm. In that file navigation is white. I tried use css style from orginal page (foundation.css) but this file have the same class like boostrap.
Please help me, I want to use this navigation (http://codeb.it/resmenu/) in black color.
I know, maybe it is easy question but please help me.
Thanks
Have you read all the documentation from the page you provided?
At the end of it, there is a snippet which shows you how to style the navigation bar:
.responsive_menu select {
display: block;
width: 100%;
height: 36px;
padding: 6px 12px;
font-size: 14px;
line-height: 1.42857;
color: rgb(85, 85, 85);
vertical-align: middle;
background-color: rgb(255, 255, 255); /* This is black */
background-image: none;
border: none;
}