I'm developing a website using with HTML4
, CSS2
.
so I can't use border-radius property.
How can I create <div>
or <table>
what has rounded border?
Thank you in advance.
I'm developing a website using with HTML4
, CSS2
.
so I can't use border-radius property.
How can I create <div>
or <table>
what has rounded border?
Thank you in advance.
Found something related. Reference - LINK
The only way I can think of is some
svg
hacky method, for example:or you could create a transparent image in Photoshop/GIMP that has a border with rounded edges. Then, you could just use CSS
background-image
filepath URL to whateverdiv
you'd like to target.//realized that you're using css2
Use border: to create the border first, then use border-radius to specify the radius.
You can enter multiple values to specify each edge. The patterns of the values are: top-left top-right bottom-left bottom-right
You can also specify only one two or three values. Here is the pattern:
Four values: first value applies to top-left, second value applies to top-right, third value applies to bottom-right, and fourth value applies to bottom-left corner
Three values: first value applies to top-left, second value applies to top-right and bottom-left, and third value applies to bottom-right
Two values: first value applies to top-left and bottom-right corner, and the second value applies to top-right and bottom-left corner
One value: all four corners are rounded equally