Home » Posts tagged "CSS"

Archive for the 'CSS' Tag

Css round corners button

html code < asp:Button ID="SubmitBtn" runat="server" Text="Next ►" CssClass="btnSubmit" CausesValidation="true"/> css properties .btnSubmit { color: #FFF; text-decoration: none; border: 1px solid #C8C8C8; padding: 1px 3px 2px 5px; background-color: #1A503E; font-size: 13px; border-radius: 6px 6px / 6px 6px; }

CSS Horizontal Navigation Menu

CSS code – horizontal navigation menu /* ‘defines width, font and position */ #nav { font-family: verdana, sans-serif; position: relative; width: 100%; font-size:11px; color:#FFF; padding-top: 0px; } /* ‘defines list type */ #nav ul { list-style-type: none; background-color: #000; } /* ‘defines the drop-down container */ #nav ul li { float: left; position: relative; height: […]

CSS Centering

Author: Russ Weakley How do you center a containing block on a page using CSS? There are two main methods and the choice should be made based on whether your page layout is liquid (will move in and out depending on the size of the browser window) or fixed width. Centering liquid layouts Liquid layouts […]