473,748 Members | 6,412 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.htm l>

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

perhaps a small bit of light shed on my looming darkness??
Mar 4 '06 #1
4 1233
In article <ne************ **************@ newsclstr02.new s.prodigy.com>,
berkeleyB <ne****@screenl ightDOT.com> wrote:
I have given an earnest try, following the directions found at
<http://www.w3.org/Style/Examples/007/roundshadow.htm l>

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

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::befo re { display: block; line-height: 0;
background: url(CaptionBox_ r2_c3.gif) top right no-repeat;
content: url(CaptionBox_ r2_c2.gif) }

..addInfo::afte r { 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****@screenl ightDOT.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.htm l>


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.htm l>
The result is Close, so close! But not working...
<http://ewasteinsights. info/survey/serviceForm.htm l>
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
23096
by: Mel | last post by:
how can i have a rounded edge button in my forms using CSS ? thanks Mel
1
3597
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 DrawRoundedRectangle(dblX As Double, dblY As Double, _ dblR As Double, dblW As Double, dblH As Double, _ dblThickness As Double, dblLineR As Double, dblLineG _ As Double, dblLineB As Double, boolFill As Boolean, dblFillR _ As Double, dblFillG As...
2
3181
by: Konrad | last post by:
Hi This is maybe simple question but how to render DataGrid and Tables with rounded corners? Thanks Konrad
8
2424
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. Granted they do use a transparent gif so they don't need multiple colored gifs, but I thought most developers shun the table rounded corner method. Any thoughts why? Is it easier to maintain or have a higher browser support? Thanks.
6
5500
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
8462
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 tricks for gridview because I want to use the sorting.
1
2571
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 not use the "standard" rounded corner method of sliced images for the corners (since that would only allow a certain color to match) I tried using a corner-rounding js tool from http://openrico.org, but it failed miserably (in both IE and Opera) ...
4
3347
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 bottom graphic, but all I want to have in my DIV is a TreeView coontrol. Can anyone send some code. PWS
6
10837
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 I wanted to make the corners a bit rounded (otherwise it will look like an old legacy app). Is this possible in wpf? The reason I wanted to use a polygon was because I will bind an adorner to each point so the user can drag the corners around to...
0
8991
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9374
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9249
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8244
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6076
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4607
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4876
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3315
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2215
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.