Browse by Tags
All Tags »
CSS (
RSS)
ASP.NET Ajax toolkit has many cool controls, one of them is the RoundedCorners control. I think any ASP.NET developer meets the problem of how to create a control with rounded corners sometime during his career. Most of us solve this issue using images by creating 4 images , one for each corner. Here is a good example of how to achieve this using image and table. There is another solution that is not yet cross browser one. there is the css 3 new upcoming feature for giving each control a raduis....
When we wish to set some styling rules to a certain group on html controls on a given page - the proper way to do it is to use CSS selectors. CSS selectors come in many ways , You can write simple selector, complex selectors and even group them together. Basically Selectors are the patterns that determine which style rules apply to elements of the document tree. Lets see some sample: Type element selectors: Will find all the div elements and set their font size to 22px div { font-size : 22px ; }...
Ever wanted to highlight all the first letters of your paragraphs? Instead of getting angry on your employees and spending time on editing your mark up, here is a simple solution using a special CSS selector called: Pseudo selector. (There are many of them). So, lets see a simple sample: Say you have some div's in your aspx,ascx, html file and you want all the first letters to be highlighted. < div > T his is some paragraph containing some text..... < br /> this is some paragraph...
Hi, I decided to summarize some insights about ASP.NET Themes and Skins . These are a little bits and bytes on this area. so here they are: 1. In addition to adding a "Theme" property to the Page directive such as: <% @ Page Language ="C#" AutoEventWireup ="true" CodeFile ="Default.aspx.cs" Inherits ="Themes_and_Skins_Default" Theme ="BlueTheme" %> There is also another property we can use: "StyleSheetTheme" such as: <...
One of the thing many developers hate doing is to try and make some border rounded, usually to get this mission done, one needs to get messy with images and table. Here is a sample of a rounded login control I built : As you can see in the top of this control the border is rounded.This is done using table and images created especially for the top left and top right. As it turns out, in CSS 3 (Which is not a standard yet) we can accomplish this mission very easily with the new border-radius property...
Hi , I discovered some time ago an amazing feature of ASP.NET 2.0. This feature is called the "CSS friendly control adapters". What this feature basically mean is that we can take a given control , a server control of any kind such as the Button, BulletedList any other server control we have in ASP.NET and simply control the HTML this control renders. This feature making the control HTML rendering much easier than having to inherit the control itself or writing a custom control from scratch...