CSShttp://www.geekzilla.co.uk/Innovation Team's dumping grounden-usTue, 10 Jun 2003 04:00:00 GMTTue, 10 Jun 2003 09:41:01 GMTGeekZilla.co.ukeditor@GeekZilla.co.ukwebmaster@GeekZilla.co.uk The best CSS rounded corners method http://www.geekzilla.co.uk/viewCFF9FC56-9F47-4E6A-B8C7-0F65BAB287F0.htm The best CSS rounded corners method I love this example : {Even More CSS Roudned Corners 2}http://www.schillmania.com/projects/dialog2/ {Project Home}http://www.schillmania.com/content/projects/even-more-rounded-corners/ {Basic Example}http://www.schillmania.com/projects/dialog2/basic.html The HTML is simple The Css is excellent 27/12/2007 http://www.geekzilla.co.uk/viewCFF9FC56-9F47-4E6A-B8C7-0F65BAB287F0.htm Dynamically adding a CSS link to the page in c# http://www.geekzilla.co.uk/view3214BB4D-8DAC-4149-9168-0D1F7D357432.htm Dynamically adding a CSS link to the page in c# The following code adds a CSS link to the header node of a Html page. 14/11/2007 http://www.geekzilla.co.uk/view3214BB4D-8DAC-4149-9168-0D1F7D357432.htm Scrollbar CSS style generator http://www.geekzilla.co.uk/viewAA1BFC74-3A14-459A-A100-334AFC29E495.htm Scrollbar CSS style generator Excellent online tool for generating css for scrollbars http://iconico.com/CSSScrollbar/ 12/11/2007 http://www.geekzilla.co.uk/viewAA1BFC74-3A14-459A-A100-334AFC29E495.htm Linking from one CSS StyleSheet to Another http://www.geekzilla.co.uk/view019729FF-43D1-4506-9E72-E435FBF41815.htm Linking from one CSS StyleSheet to Another Simply add the following to the top of your CSS StyleSheet to link it to another: '''NOTE:''' the path is relative to the current StyleSheet 21/6/2007 http://www.geekzilla.co.uk/view019729FF-43D1-4506-9E72-E435FBF41815.htm Centering a DIV using the negative margin method http://www.geekzilla.co.uk/viewC38AB7CC-9118-4E2F-B989-D1C9C856168C.htm Centering a DIV using the negative margin method The following CSS will center a DIV whih is 500px wide. This method is very clean and works in all browsers. Change the width to suit your needs then change the margin-left to half the width of the div. 21/6/2007 http://www.geekzilla.co.uk/viewC38AB7CC-9118-4E2F-B989-D1C9C856168C.htm No more cellspacing, roll on border-collapse! http://www.geekzilla.co.uk/view3B1AF90C-FA86-4D19-BC8A-06E3E7A1C9F2.htm No more cellspacing, roll on border-collapse! Confused as to why applying a css '''margin:0px''' and '''padding:0px''' doesn't remove the gaps between cells in tables? You need border-collapse. The cellpadding and cellspacing attributes are not deprecated in HTML 4 (and not even in XHTML 1.1), however, looking to the future I like to use CSS where possible. The following css demonstrates how to remove the gaps on all tables: 14/6/2007 http://www.geekzilla.co.uk/view3B1AF90C-FA86-4D19-BC8A-06E3E7A1C9F2.htm Ensure the minimum height of a <div> tag in Internet Explorer http://www.geekzilla.co.uk/view7A3B4C9B-796B-4388-8BA4-DEF3978A8549.htm Ensure the minimum height of a <div> tag in Internet Explorer Being a Microsoft bigot I really love all of Microsoft's products, but I do find IE a real pain. Especially its inconsistencies with CSS. In an attempt to catch up with my friends and collagues I'm doing more and more development work in pure CSS rather than using long winded hidden tables for structure, but I still have some way to go. On a recent development project I needed to ensure that a <div> tag had a minimum height of 100px; but the min-height property of the style attribute on a <div> fails to work in IE. After a bit of work I found this solution. I've included the style attribute in the <div> tag but you'll be keeping this in your stylesheet. ;-) Basically define your <div>, then prop it open with a nested <div> that floats to the right, is 1 pixel wide and sits behind the parent <div>. This will ensure your parent <div> has a minimum height of 100px; and will allow it to grow if the content exceeds this. 14/6/2006 http://www.geekzilla.co.uk/view7A3B4C9B-796B-4388-8BA4-DEF3978A8549.htm