473,768 Members | 6,794 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASP .Net... Making round corners of any box (such as <div>, or any box) in page

1 New Member
Hi

can any one plz tell me urgently... is it possible to make round corners of any box (such as <div>, <span>,<table >, or any box) in asp .net page programatically or declareatively without using the graphic image... if yes then plz send me the code for that...

Regards

Tod
Sep 14 '08 #1
5 2219
nateraaaa
663 Recognized Expert Contributor
What .NET framework are you using? Have you considered using the AJAX RoundedCorners Extender?

Nathan
Sep 15 '08 #2
Curtis Rutland
3,256 Recognized Expert Specialist
If you can use the AJAX extensions, then that would be preferable. Other than that, currently the only way to have round corners is to use images.
Sep 15 '08 #3
balabaster
797 Recognized Expert Contributor
If you can use the AJAX extensions, then that would be preferable. Other than that, currently the only way to have round corners is to use images.
I'm just reading a book that contains a wealth of sources of information for this. I'd really recommend the book - it's got all sorts of great theory that most web developers never get exposed to, like color theory and psychology of color, creating color themes, the theory of layout etc. Anyway, the chapter I just read had a section about rounded corners, I'll give you the coles notes version:

Check out:
"Creating Custom Corners & Borders" by Soren Madsen (http://www.alistapart.com/articles/customcorners/)
"Thrashbox" by Ryan Thrash (http://www.vertexwerks.com/tests/sidebox/)
"Nifty Corners" by Alessandro Fulciniti (http://www.html.it/articoli/nifty/)
"Spiffy Corners" by Greg Johnson (http://www.spiffycorners.com/)

I haven't checked any of them out yet, but I'm sure at least one of them should point you in the right direction.
Sep 15 '08 #4
Frinavale
9,735 Recognized Expert Moderator Expert
I'm just reading a book that contains a wealth of sources of information for this. I'd really recommend the book - it's got all sorts of great theory that most web developers never get exposed to, like color theory and psychology of color, creating color themes, the theory of layout etc. Anyway, the chapter I just read had a section about rounded corners, I'll give you the coles notes version:

Check out:
"Creating Custom Corners & Borders" by Soren Madsen (http://www.alistapart.com/articles/customcorners/)
"Thrashbox" by Ryan Thrash (http://www.vertexworks.com/tests/sidebox/)
"Nifty Corners" by Alessandro Fulciniti (http://www.html.it/articoli/nifty/)
"Spiffy Corners" by Greg Johnson (http://www.spiffycorners.com/)

I haven't checked any of them out yet, but I'm sure at least one of them should point you in the right direction.
Great references!

I use "A List Apart" quite a bit while I'm designing.

Thanks for the rest of them Balabaster.

I'm going to check out all of them. :)
Sep 15 '08 #5
balabaster
797 Recognized Expert Contributor
Great references!

I use "A List Apart" quite a bit while I'm designing.

Thanks for the rest of them Balabaster.

I'm going to check out all of them. :)
I forgot to mention the name of the book I so heartily recommended:

The book is called "The Principles of Beautiful Web Design" by Jason Beaird. Published by SitePoint, ISBN 978-0-9758419-6-9.

P.S. I got one of the previous links wrong, it should be: http://www.vertexwerks.com/tests/sidebox/
Sep 15 '08 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

8
14467
by: Daniel Hansen | last post by:
I know this must seem totally basic and stupid, but I cannot find any reference that describes how to control the spacing between <p>...</p> and <div>...</div> blocks. When I implement these on a page, there is a huge gap (like 3/8 inch or 25 px) between them. This is driving me bananas. What the hey am I missing? dh ------------------------------------------------ Dan Hansen ------------------------------------------------
1
3910
by: Alan Hoyle | last post by:
I was using a <table border> to generate borders around some info/images, and decided to follow the w3c guidelines and convert it to CSS boxes with borders since it wasn't really tabular data. It used to be something like this: <table> <tr> <td><img>caption</td> <td><img>caption</td>
5
10030
by: Lilou | last post by:
Hello this page works : http://lilou.leuwen.chez.tiscali.fr/testlilou.htm the source : .... a.link:hover div.test2 {display : block; position: absolute; z-index: 1000;
8
5157
by: slim | last post by:
hi again all, i am still working on the website as mentioned in earlier threads and have hit another snag... http://awash.demon.co.uk/index.php http://awash.demon.co.uk/vd.css the php is pulling a name and placing it under the thumbnail (the text is
44
919
by: Jim M | last post by:
I have had great success with using <iframe> with overflow-y set to auto. I can get a similar look with the <iframe> tag. BUT... In all cases I need to have fixed heights. Is there a way to put either tag inside an HTML <TD> and have the same kind of scrolling effect. This would allow me to fill the screen and have the size of the scrolling box change on resize. Thanks in advance.
0
359
by: tomasio | last post by:
Dear NG-Readers, First I want to apologize for crossposting this, but I got no idea where this topic really belongs to. I have built a html-page with some CSS. Anything behaves as expected, just the two images inside the <div> with the class attributes "schraffur-bottom" and "content-bottom" appear 10px below their corresponding containers. As the two pics are 10px high in total, I think it has something to do with the images. Anybody...
28
5371
by: Kent Feiler | last post by:
1. Here's some html from a W3C recommendations page. <P>aaaaaaaaa<DIV>bbbbbbbbb</DIV><DIV>cccccccc<P>dddddddd</DIV> 2.Although I didn't think it would make any difference, I tried it with the </p>s included as well. <P>aaaaaaaaa</p><DIV>bbbbbbbbb</DIV><DIV>cccccccc<P>dddddddd</p></DIV>
2
2524
by: shivendravikramsingh | last post by:
hello friend,i m using this code<div id="get" style="visibility:hidden"><? include "time_title.php" ?></div> in a php page,i want when page load the inclued page time_tiltle.php should not shown,when i click a button,it should appear.but i don't no wat.s the prob. when i open the page it showing the content of timr_title.php,the <div> visibility is hidden.i call a function in a button in which i m setting the visibilty of <div> 'visible'.but it'...
1
2333
by: widevision7 | last post by:
I have a web page that uses the following JavaScript to hide a <div> unless the checkbox is checked: <script type="text/javascript"> function showMe (it, box) { var vis = (box.checked) ? "block" : "none\ document.getElementById(it).style.display = vis; } I need to have it where if the box is not checked with 10 seconds, then a <meta refresh> is initiated, and the user is redirected to another page.
0
9575
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
9407
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10171
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10015
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
9842
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
5280
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
5425
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3931
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
2808
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.