473,385 Members | 1,606 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

O CSS Masters, rounded corners so close

I have given an earnest try, following the directions found at
<http://www.w3.org/Style/Examples/007/roundshadow.html>

The result is Close, so close! But not working...
<http://ewasteinsights.info/survey/serviceForm.html>

perhaps a small bit of light shed on my looming darkness??
Mar 4 '06 #1
4 1220
In article <ne**************************@newsclstr02.news.pro digy.com>,
berkeleyB <ne****@screenlightDOT.com> wrote:
I have given an earnest try, following the directions found at
<http://www.w3.org/Style/Examples/007/roundshadow.html>

The result is Close, so close! But not working...
<http://ewasteinsights.info/survey/serviceForm.html>

perhaps a small bit of light shed on my looming darkness??


UPDATE - I clued in to a couple of details: the middle repeater element
*does* have to reach all the way across to the left edge; I took away a
surrounding style and simplified the html on the page; and its better to
have the slices be exactly on the edges (even though it is a transparent
background image in Fireworks)

SO I am left with a simpler execution with slightly different
problems. That is the images specified in myStyle::before{ content: }
and myStyle::after{ content: } are both aligned to the very left of the
page, but the center repeater, myStyle::before{ background: } and
myStyle::after{ background: } are indented about 6 pixels. SO the visual
is that the top and bottom left corners are broken away to the left by 6
pixels, while everything else is dandy.

the whole style declaration is below. Advice welcome!!
..addInfo::before { display: block; line-height: 0;
background: url(CaptionBox_r2_c3.gif) top right no-repeat;
content: url(CaptionBox_r2_c2.gif) }

..addInfo::after { display: block; line-height: 0;
background: url(CaptionBox_r4_c3.gif) bottom right no-repeat;
content: url(CaptionBox_r4_c2.gif) }

..addInfo { font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: medium; font-style: normal; font-weight: normal; color:
#000000; vertical-align: default; background-color: #F5F5F5;
border-color: #FFFFFF; max-width: 600px; background:
url(CaptionBox_r3_c2.gif) right repeat-y }
Mar 5 '06 #2
I can't help you with your problem....but If you don't mind javascript,
there is another method to getting rounded corners that I like alot:
http://pro.html.it/print_articolo.as...99/stampa.html

Mar 5 '06 #3
berkeleyB <ne****@screenlightDOT.com> wrote:

[Apparently about "rounded corners"]
I have given an earnest try, following the directions found at
<http://www.w3.org/Style/Examples/007/roundshadow.html>


W3C is not a good place to look for practical authoring examples. There
are probably much better examples on the net
http://www.google.com/search?q=css+round+borders

--
Spartanicus
Mar 5 '06 #4

berkeleyB wrote:
I have given an earnest try, following the directions found at
<http://www.w3.org/Style/Examples/007/roundshadow.html>
The result is Close, so close! But not working...
<http://ewasteinsights.info/survey/serviceForm.html>
perhaps a small bit of light shed on my looming darkness??


Hello,

I have a small program I wrote that produces some good rounded corner
code, if you want to take a look at a working example:

http://www.impliedbydesign.com/rocki...d-corners.html

You can easily adjust the images for the look you're going for.

Chris S.

Free Web Design Tools
http://www.impliedbydesign.com/free-...e-scripts.html

Mar 5 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Mel | last post by:
how can i have a rounded edge button in my forms using CSS ? thanks Mel
1
by: jimfortune | last post by:
The following Access VBA function creates a string that can be used in a pdf stream to draw or fill a rectangle of a given color with rounded corners: 'Begin code----------- Public Function...
2
by: Konrad | last post by:
Hi This is maybe simple question but how to render DataGrid and Tables with rounded corners? Thanks Konrad
8
by: TheCornjerker | last post by:
I've been looking into what method I should use to show rounded corners (and I've found a lot). My question is why does Google seems to mostly use the table method with an image in each corner. ...
6
by: Schraalhans Keukenmeester | last post by:
I want to achieve the following: A small image in each of the corners of a box, like below: +-------------------------------+ | + | + | + | + | + | +
5
by: Cindy Lee | last post by:
Is there anyway to put rounded corners on the grid views? When I bring it up in the brower I need to have rounded corners. There are some tricks I can do to regular html tables, but is there any...
1
by: kidelectric | last post by:
The issue I am having is that I would like to be able to drag-and-drop div elements that have rounded corners.* Since these elements will be dynamically created (including background color), I could...
4
by: PWS | last post by:
I am despertely trying get a DIV to look like a box with rounded corners. I can find load of examples this where the first line of text has the top graphic and the last line of text has the...
6
by: moondaddy | last post by:
I need to be able to make polygons with rounded corners. This will be to draw group outlines around shapes in a diagramming tool in wpf. all angles in the polygon will be 90 degrees, but somehow...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.