4

How do I create a rounded corner without using CSS3?

 3 years ago
source link: https://www.codesd.com/item/how-do-i-create-a-rounded-corner-without-using-css3.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

How do I create a rounded corner without using CSS3?

advertisements

I have to create a rounded box by background images.

My CSS code is:

background-image: url('/images/content/center/top.png'), url('/images/content/center/grad.png'), url('/images/content/center/cont.png');
background-position: top center, bottom center, center center;
background-repeat: no-repeat, no-repeat, no-repeat;

And it looks like this:

M3Lxs.png

I have to make the centered 1px line to fill the free space (by CSS). I'm not allowed to use box-radius (CSS3) because of IE.

How can I accomplish this?


Your center background isn't repeating:

background-repeat: no-repeat, no-repeat, no-repeat;
                              ^^^^^^^^^

Change it to repeat-y and see what happens:

background-repeat: no-repeat, repeat-y, no-repeat;

Also, you do know this won't work at all with IE8 and below?

Related Articles

How to create the rounded corner button using a css file?

how to create rounded corner button using css file and how this css file apply in button. please give the css code for thatuse border-radius for IE , -moz-border-radius for Firefox and -webkit-border-radius for safari #example1 { -moz-border-radius:

How to create a rounded corner image using the android volleyball library

I am getting image urls from server with square shape I have to make it to rounded corner images.Actually I am using volley library ,I know how to create round corner images using universal image loader and picasso libraries.In volley library I am se

How can I create a simple database without using database software (such as Access / SQL local)?

I was thinking about creating a simple database where I can store some text, nothing more. My question is: What is the best way to store data without using multiple files? To my mind came CSV, but I am not sure if this is a proper solution... Thanks

How do I create a contact form without using a table?

I want to make a contact form for my website. i want to make it without using a table. How do I do that? I was looking at div tags because I want to style it with CSS. I want to give it a length and width. I want to place it in a main div tag but I a

CSS3 rounded corner without using htc

I am trying to get the CSS3 border-radius to work on IE8 But for some reasons, it is not working http://uiux.atwebpages.com/ I am using the border-radius.htc file Is there some other way to make border-radius work on IE8 without using the .htc file ?

How do I create an assembly program WITHOUT using libraries?

I've literally only just started looking to learn Assembly language. I'm using the NASM assembler on Windows Vista. Usually, when I begin to learn a new language, I'll copy someone else's Hello World code and try to understand it line-by-line. Howeve

How to create a round shaped image using Android?

I am having four piece of image. Here I attached one sample image. How can I create the round shaped image using these type of images? Which layout is best for creating the UI for android? Thanks in advance.are you talking about something like this..

How can I create a rounded rectangular border for GridView on Android?

I want to create a rounded rectangular border for GridView on Android like the below image: How can i achieve this? Thanks in advance.create a drawable shape as follow and set as background to your view: <?xml version="1.0" encoding="utf

Creating a Network Package Without Using the Socket Class

I am trying to encode/decode a network packet combining the sender IP address, destination IP address, sender port, destination port and payload data all together. I've been reading the different ways to do this and everywhere suggests using the Sock

How do I delete: Switch to status without using an additional class?

I am using <button> tag and giving red background on hovering of that button. But how can I remove that :hover state without using extra class. .hover(function() { $( this ).toggleClass( "active" ) } This is from jQuery's docs - http://api

Create a pdf file without using a third party library in c?

My objective is to create a file and save some text in it. But the twist is that file should be created in pdf format without using any library. I have written following code: #include <stdio.h> int main(void) { FILE *fp; char ch; fp = fopen("f

How to fail the T-SQL script without using RAISERROR ()?

This is what I am trying to accomplish: Check if database is read-only in first step of SQL Server Agent job. If this is the case - exit the job. So I figured I will use Advanced Properties for Job Step and select "Quit the job reporting success"

Android: Create a ColorDrawable object without using xml

Is it possible to create a ColorDrawable object without using xml? I would like to be able to change the backgroundColor of a view programmatically, using setBackgroundColor() or setBackgroundDrawable() or setBackgroundResource(), but I want to be ab

How to replace characters other than specified without using Regex in Oracle SQL?

How to replace characters other than specified without using Regular Expression in oracle sql? For Example: select replace ('rhythm','^h') from dual; Expected result: hh Seems like a non-problem since regular expressions exist, but you could do somet

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK