|
| www.kdwebpagedesign.com |
|
BASIC HTML ::
Welcome
Introduction to HTML What is an URL? Browser Safe Fonts Photo Size and Compression Formatting Your Text Paragraphs, Linebreaks, Rules The Marquee Tag Adding Images Adding Text and Image Links Making Lists Tables: Basics Tables: Backgrounds and Color Tables: Colspan and Rowspan Tables: Practical Samples BASIC CSS ::
Introduction to CSS
Adding Backgrounds and Color The <div> and <span> Tags Formatting Your Text/CSS Making Lists/CSS Image Borders/CSS Hyperlinks/CSS Tables/CSS Fun with CSS USER Tools ::
Custom Auction Listing Creator: 1
Custom Auction Listing Creator: 2 Choosing Your Colors Mix-and-Match Backgrounds JavaScript Tricks ::
Other Information ::
eBay Related Questions
Customizing Your eBay Store Hosting Your Own Photos on eBay Using Irfanview to Crop Photos What Does That Term Mean? Donations ::
Do you find our Tutorials helpful? Are the free Auction Templates helping your sales? Donations of any amount are appreciated to help keep this site up and running!
|
![]() |
Introduction to CSSThis tutorial is intended as a very basic introduction to Cascading Style Sheets (CSS) and should provide enough information to allow you to experiment with a few of your own styles. A style sheet is made up of style rules that tells a browser how to present a document. With CSS you can easily change colors, fonts, and other page properties in one place and one style sheet can change it throughout your site. There are three ways of using CSS: linked, embedded and inline. What style will be used when there is more than one style specified for an HTML element? Styles will "cascade" into a new "virtual" style sheet by the following rules, where number four has the highest priority: So, an inline style has the highest priority and will override a style declared in an embedded style sheet, in an external style sheet, or in a browser. Linked Style SheetsIf you have several pages using the same CSS, you should link your style sheet to your documents. The <link> tag is placed in the document <head>. <link rel="stylesheet" type="text/css" href="styles.css" title="mainstyles"> External (linked) style sheets should not contain any HTML tags like <head> or <style>. The style sheet should consist merely of style rules or statements. You can create a style sheet in Notepad or Simple Text, but make sure you save your document with the .css extension. p {
Embedded Style SheetsUsing an embedded style sheet should be used when a single document has an unique style. This element is placed in the document <head>, and it contains the style rules for the page. The style sheet below tells the browser that when using the <p> tag that the text will be formatted using those defined rules. Included also in the style sheet is the class "highlight". <style type="text/css"> Inline Style SheetsA third way to use CSS is inline CSS. Inline CSS uses the style="x" attribute. The style attribute may be applied to any body element (including <body> itself). The attribute can use any number of CSS declarations, where each declaration is separated by a semicolon. <p style="font-size: 13px; color: #000000; text-indent: 12px; font-family: arial, helvetica, sans-serif; line-height: 15px; text-align: justify;">Your copy here.</p> The only way you should use CSS in your auctions, "me" page or store fronts, is to use inline styles. Since embedded and link style sheets should be contained in the <head> portion of the HTML document. |