Modal Popup with Rounded Corners

If you set the TargetControlID of both ModalExtender and RoundedCornerExtender to one panel, ASP.NET will not like it, probably because of some JavaScript clashes. One simply trick is to have an inner panel, surrounded by an outer panel. Set the outer panel’s background color to transparent and let the inner panel have the rounded corner … Continued

ScrollBar styles

Apparently scroll bar styles are only supported by IE. Diddn’t realize this until today. Regardless, I think it’s a pretty cool thing to have and Firefox and Safari will eventually adopt it. Here’s a site to generate the CSS codes. It’s pretty darn good… http://www.spectrum-research.com/V2/projects_scrollbar_generator.asp http://www.spectrum-research.com/V2/generators/scrollbar.asp By Bryan Xu

CSS CSS CSS

Don’t know how to make your website pretty? Nothing new, it’s always a struggle… TURN FOR HELP AND LEARN! WebDesignerWall – This site is just GOD LIKE. It’s beyond awesomeness!! Don’t know how? LEARN!! Below are several other misc sites, none has tutorials except the first couple, but one of the best ways, and the … Continued

CSS – Fonts

font-family CSS defines 5 generic font families: (You can employ any of these families in a document by using the property font-family.) Serif fonts These fonts are proportional and have serifs. A font is proportional if all characters in the font have different widths due to their various sizes. Serifs are the decorations on the … Continued

Injection Attacks

Understanding Script Injection Attacks MSDN – How To: Protect From Injection Attacks in ASP.NET ASP.NET includes a feature designed to automatically combat script injection attacks, known as request validation. Two ways to disable request validation: Disable for individual page <%@ Page ValidateRequest=”false” Language=”C#” AutoEventWireup=”true” CodeFile=”Default.aspx.cs” Inherits=”_Default” %> Disable the entire web application by modifying the … Continued