<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>  CSS</title>
	<link>http://css-code.assistProgramming.com</link>
	<description>Codding World &#187; CSS</description>
	<pubDate>Fri, 20 Jun 2008 15:42:38 +0000</pubDate>
	<language>en</language>
			<item>
		<title>Text shadow using CSS</title>
		<link>http://tutorials.AssistProgramming.com/text-shadow-using-css.html</link>
		<pubDate>Sun, 25 May 2008 19:32:20 +0000</pubDate>
		<description><![CDATA[We all know or at least we guess that there are many ways to add a shadow to a picture or to a text. Photoshop is useful and has implemented tools which help giving styled shadow effects. But what shall we do if want to have text shadowed in our web page? We know that [...]]]></description>
			<content:encoded><![CDATA[<p>We all know or at least we guess that there are many ways to add a shadow to a picture or to a text. Photoshop is useful and has implemented tools which help giving styled shadow effects. But what shall we do if want to have text shadowed in our web page? We know that it isn&#8217;t usefully to put images because Bots can&#8217;t read the text in a image and won&#8217;t &#8220;appreciate&#8221; it.</p>
<p><acronym title='Cascading Style Sheets'><span class='caps'>CSS</span></acronym> 3 eliminated the need of Photoshop when it comes to add a shadow to a text. A shadow offset is specified with two length terms that indicate the  distance from the text:</p>
<ul>
<li>The first length term specifies the horizontal distance  to the right of the text. We can use negative values which place the shadow to  the left of the text.</li>
</ul>
<ul>
<li>The second length term specifies the vertical distance  below the text. Also we can have a negative vertical length term which places the shadow above the  text.</li>
</ul>
<p>A <strong>blur radius</strong> may be specified after the shadow  offset. The blur radius is a length value that indicates the boundaries of the  blur effect. After setting the blur radius we can add the color.</p>
<p>Let&#8217;s have some examples:</p>
<p><strong>1) </strong>The example below will set a text shadow to the right. This is a simple example and we can easily observe that no color has been specified meaning the shadow will have the same color as  the element itself, and no blur radius is specified meaning the text shadow will  not be blurred:</p>
<pre>h2 { text-shadow: 0.3em 0.3em }</pre>
<p><strong>2)</strong> The next example will place a shadow to the right and below the element&#8217;s text. The shadow will have a 4px blur radius and will be blue.</p>
<pre>h2 { text-shadow: 3px 3px 4px blue}</pre>
<p><strong>3)</strong> The next example combine more effects specifing a list of shadow effects. The first shadow will be to the right and below the element&#8217;s text and will be blue. The second shadow will overlay the first shadow effect, and it will be yellow, blurred, and placed to the left and below the text. The third shadow effect will be placed to the right and above the text.</p>
<pre>h2 { text-shadow: 3px 3px blue, yellow -3px 3px 2px, 3px -3px }</pre>
<p><strong> 4)</strong> Take a look at this example:</p>
<pre>.shadow {

background: white;

color: white;

text-shadow: black 0px 0px 5px;

}</pre>
<p>Here the background and the text has the same color (white) and the shadow is black. This shadow effect added makes the text to be visible.</p>
<p><font color="#d00000"><strong>Note</strong></font>  This property is not defined in <acronym title='Cascading Style Sheets'><span class='caps'>CSS</span></acronym> 1. It is possible not to have a text shadowed if we work with agents using <acronym title='Cascading Style Sheets'><span class='caps'>CSS</span></acronym> 1. This feature isn&#8217;t new in <acronym title='Cascading Style Sheets'><span class='caps'>CSS</span></acronym> 3, it was put into <acronym title='Cascading Style Sheets'><span class='caps'>CSS</span></acronym> 2 but  only got implemented in Opera 9.5 and Safari 3 so far.</p>
]]></content:encoded>
			</item>
		<item>
		<title>IE form input Highlight problem</title>
		<link>http://general-tips.AssistProgramming.com/ie-form-input-highlight-problem.html</link>
		<pubDate>Wed, 26 Mar 2008 10:01:01 +0000</pubDate>
		<description><![CDATA[These days , working on one of my projects, almost finishing it, I got stuck at a relative simple thing. But it took me so long time to figure it out. The problem was that some of my form inputs on a page were looking funny in IE. They had a background of light yellow. [...]]]></description>
			<content:encoded><![CDATA[<p>These days , working on one of my projects, almost finishing it, I got stuck at a relative simple thing. But it took me so long time to figure it out. The problem was that some of my form inputs on a page were looking funny in <acronym title='Internet Explorer'><span class='caps'>IE</span></acronym>. They had a background of light yellow. I&#8217;ve tried everything in <acronym title='Cascading Style Sheets'><span class='caps'>CSS</span></acronym> to change it, even inline styles, !important modifier and &#8230; nothing. That background won&#8217;t dissapear.</p>
<p>Google&#8217;ing a few hours I found the problem. I was using Google Toolbar and that has a setting to highlight forms. I never knew about it. So simple but get me so much trouble. So I deactivated it and everything works fine <img src='http://www.assistprogramming.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>If youhave that same trouble, You don&#8217;t even need to deactivate it, but you can go to <font color="#000000" face="verdana" size="2"><strong>Options </strong>from your Google toolbar and then <strong>More </strong>and then uncheck <strong style="color: black; background-color: #bbbbff">Automatically Highlight Fie</strong><strong>lds that AutoFill can fil.</strong></font></p>
<p>That would be it. Hope it&#8217;s useful and somebody there won&#8217;t loose as much time as I did before finding out what was wrong.</p>
]]></content:encoded>
			</item>
		<item>
		<title>Block hover effect for a list of links</title>
		<link>http://css-code.AssistProgramming.com/block-hover-effect-for-a-list-of-links.html</link>
		<pubDate>Mon, 25 Feb 2008 04:55:20 +0000</pubDate>
		<description><![CDATA[The HTML is quite straightforward. Because IE only supports the :hover element for links, the link anchor needs to go around all the text in the list item. Therefore, we need to provide some additional hooks in order to style the content. We do this through the use of &#60;em&#62; and &#60;span&#62; tags.

&#60;div class="hov"&#62;

&#60;ul&#62;

&#60;li&#62;&#60;a href="#" [...]]]></description>
			<content:encoded><![CDATA[<p>The <acronym title='HyperText Markup Language'><span class='caps'>HTML</span></acronym> is quite straightforward. Because <acronym title='Internet Explorer'><span class='caps'>IE</span></acronym> only supports the :hover element for links, the link anchor needs to go around all the text in the list item. Therefore, we need to provide some additional hooks in order to style the content. We do this through the use of &lt;em&gt; and &lt;span&gt; tags.</p>
<pre>
&lt;div class="hov"&gt;

&lt;ul&gt;

&lt;li&gt;&lt;a href="#" title="Text"&gt;AssistProgramming.com

&lt;em&gt;Programming Tips &amp; Tricks&lt;/em&gt;

&lt;/a&gt;

&lt;/li&gt;

&lt;li&gt;&lt;a href="#" title="Text"&gt;AssistProgramming.com

&lt;em&gt;Programming Tips &amp; Tricks&lt;/em&gt;

&lt;/a&gt;

&lt;/li&gt;

&lt;li&gt;&lt;a href="#" title="Text"&gt;AssistProgramming.com

&lt;em&gt;Programming Tips &amp; Tricks&lt;/em&gt;

&lt;/a&gt;

&lt;/li&gt;

&lt;/ul&gt;

&lt;/div&gt;</pre>
<p>And now the <acronym title='Cascading Style Sheets'><span class='caps'>CSS</span></acronym>. In order for the block hover effect to work properly in <acronym title='Internet Explorer'><span class='caps'>IE</span></acronym>, we need to make the width of the link the same as that of the list item. Otherwise the hover effect will only display when you mouse over the text within the list item.</p>
<pre>
.hov ul {list-style-type: none;width: 400px;}.hov li {

border: 1px dotted #999;

border-width: 1px 0;

margin: 5px 0;

}

.hov li a {

color:#d00000;

display: block;

font: bold 120% Arial, Helvetica, sans-serif;

padding: 5px;

text-decoration: none;

}

* html #links li a {

width: 400px;

}

.hov li a:hover {

background-color:#f4e9f1;

}

.hov a em {

color:#000066;

display: block;

font: bold 85% Verdana, Helvetica, sans-serif;

line-height: 125%;

}</pre>
<p><a href="http://www.assistprogramming.com/wp-content/uploads/2008/02/hover_links.zip" title="hover_links.zip">Here</a> is the source. Just download and see how it works <img src='http://www.assistprogramming.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p>
]]></content:encoded>
			</item>
		<item>
		<title>Capital letters with CSS</title>
		<link>http://css-code.AssistProgramming.com/capital-letters-with-css.html</link>
		<pubDate>Fri, 22 Feb 2008 07:37:34 +0000</pubDate>
		<description><![CDATA[Here is a drop cap with a pink background, red text, and a black border.
A good reminder is that everything in CSS is a box. The &#8220;H&#8221; letter is in a box so you can figure out that is not something difficult here.  The code for the drop cap is simple but we can [...]]]></description>
			<content:encoded><![CDATA[<p><span style="border: 1px solid #000000; margin-right: 6px; margin-top: 5px; float: left; color: #ff0000; background-color: #ffccff; font-size: 80px; line-height: 60px; padding-top: 2px; padding-right: 5px; font-family: times">H</span>ere is a drop cap with a pink background, red text, and a black border.</p>
<p>A good reminder is that everything in <acronym title='Cascading Style Sheets'><span class='caps'>CSS</span></acronym> is a box. The &#8220;H&#8221; letter is in a box so you can figure out that is not something difficult here.  The code for the drop cap is simple but we can add more <acronym title='Cascading Style Sheets'><span class='caps'>CSS</span></acronym> properties to it. I put the drop cap in a span and made some adjustment:</p>
<ul>
<li>background-color:#FFCCFF; We added a background.</li>
<li>color: #ff0000; I set the text color to red.</li>
<li>border:1px solid #000000; We added a border around the drop cap.</li>
<li>font-size: 80px; I set the font to 80 pixels to have a big drop cap.</li>
<li>margin-right:6px; We added a margin to the right of the boxed drop cap.</li>
<li>margin-top:5px; We explicitly set the top margin.</li>
</ul>
<p>Try what I&#8217;ve done here or make your own drop caps.</p>
<pre>
&lt;span style="margin-right:6px;margin-top:5px;
float:left;color:#FF0000;background-color:#FFCCFF;
border:1px solid #000000;font-size:80px;line-height:60px;
padding-top:2px;padding-right:5px;font-family:times;"&gt;H&lt;/span&gt;ere
is a drop cap with a pink background, red text, and a black
border.&lt;div style="clear:both;"&gt;&lt;br&gt;&lt;/div&gt;</pre>
]]></content:encoded>
			</item>
		<item>
		<title>Fix IE min-width min-height property</title>
		<link>http://css-code.AssistProgramming.com/fix-ie-min-width-min-height-property.html</link>
		<pubDate>Sun, 17 Feb 2008 07:30:13 +0000</pubDate>
		<description><![CDATA[All of you there who are trying to work with CSS usually each this dilemma.  you need to use teh min-width/min-height proper. Everything works fine, as expected, only that IE wont work.
There is an workaround for this even it is not CSS compliant. It is a combination between Javascript/CSS. Here it is

.page {
background:#fff;
margin:0px auto;
padding:0;
text-align:left;
width:90%;
min-width:981px;
width:expression( [...]]]></description>
			<content:encoded><![CDATA[<p>All of you there who are trying to work with <acronym title='Cascading Style Sheets'><span class='caps'>CSS</span></acronym> usually each this dilemma.  you need to use teh min-width/min-height proper. Everything works fine, as expected, only that <acronym title='Internet Explorer'><span class='caps'>IE</span></acronym> wont work.</p>
<p>There is an workaround for this even it is not <acronym title='Cascading Style Sheets'><span class='caps'>CSS</span></acronym> compliant. It is a combination between Javascript/<acronym title='Cascading Style Sheets'><span class='caps'>CSS</span></acronym>. Here it is</p>
<p><code><br />
.page {<br />
background:#fff;<br />
margin:0px auto;<br />
padding:0;<br />
text-align:left;<br />
width:90%;<br />
min-width:981px;<br />
width:expression( document.body.clientWidth &lt; 1000 ? "981px" : "90%" );<br />
}</code></p>
<p>Hope someone found this usefull <img src='http://www.assistprogramming.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p>
]]></content:encoded>
			</item>
		<item>
		<title>Horizontally Center Your Website Structure Using CSS</title>
		<link>http://css-code.AssistProgramming.com/horizontally-center-your-website-structure-using-css.html</link>
		<pubDate>Tue, 04 Dec 2007 15:21:03 +0000</pubDate>
		<description><![CDATA[Every good web programmers knows that you can&#8217;t code a commercial website for a specific browsers or user experience level, much less a screen resolution. You can&#8217;t tell the client to use certain browser because it means you haven&#8217;t done not even 50% of your job.
I prefer creating my websites using a fixed width so [...]]]></description>
			<content:encoded><![CDATA[<p>Every good web programmers knows that you can&#8217;t code a commercial website for a specific browsers or user experience level, much less a screen resolution. You can&#8217;t tell the client to use certain browser because it means you haven&#8217;t done not even 50% of your job.</p>
<p>I prefer creating my websites using a fixed width so that I can have complete control over the website layout. A fixed width website looks the same in all browsers which can prevent users with extremely large or small resolutions from experiencing layout issues. Instead of simply allowing the website to align completely left on the screen (resulting in high-resolution users seeing your website take up only half their screen), I center the site. This is a very simple task and looks fine to have your page centered.</p>
<p>First have your <acronym title='eXtensible HyperText Markup Language'><span class='caps'>XHTML</span></acronym> code:</p>
<p>Declare a DOCTYPE. Create an initial &#8220;wrap&#8221; DIV that will be the website&#8217;s wrapper.</p>
<pre>
&lt;!DOCTYPE html PUBLIC "-//<acronym title='World Wide Web Consortium'><span class='caps'>W3C</span></acronym>//<acronym title='Document Type Definition'><span class='caps'>DTD</span></acronym> <acronym title='eXtensible HyperText Markup Language'><span class='caps'>XHTML</span></acronym> 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/<acronym title='Document Type Definition'><span class='caps'>DTD</span></acronym>/xhtml1-transitional.dtd"&gt;&lt;html&gt;

&lt;head&gt;

&lt;title&gt;My Title&lt;/title&gt;

&lt;/head&gt;

&lt;body&gt;&lt;DIV id="wrap"&gt;

&lt;!-- WEBSITE GOES HERE --&gt;

&lt;/DIV&gt;

&lt;/body&gt;

&lt;/html&gt;</pre>
<p>Have the <acronym title='Cascading Style Sheets'><span class='caps'>CSS</span></acronym> code:</p>
<p>Declare the &#8220;wrap&#8221; id — you must declare a width. Use left and right margins of &#8220;auto.&#8221;</p>
<pre>
#wrap       { width:900px; margin:0 auto; } /* "auto" makes the left and right margins center the wrapper */</pre>
<p>And that&#8217;s all! Admit that centering your website is easy. Enjoy <img src='http://www.assistprogramming.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p>
]]></content:encoded>
			</item>
		<item>
		<title>CSS Position Property</title>
		<link>http://css-code.AssistProgramming.com/css-position-property.html</link>
		<pubDate>Wed, 14 Nov 2007 15:32:50 +0000</pubDate>
		<description><![CDATA[We are no longer forced to lay our sites in tables, now we have more control over the positions and dimension of web page elements. Table structures are not flexible and we can&#8217;t put the elements wherever we want.
There are four types of placing an element: in a static, relative, absolute or fixed position.
Static positioning
This [...]]]></description>
			<content:encoded><![CDATA[<p>We are no longer forced to lay our sites in tables, now we have more control over the positions and dimension of web page elements. Table structures are not flexible and we can&#8217;t put the elements wherever we want.</p>
<p>There are four types of placing an element: in a <strong>static</strong>, <strong>relative</strong>, <strong>absolute </strong>or <strong>fixed </strong>position.</p>
<h3>Static positioning</h3>
<p>This property is default. An element with this property always has the position the normal flow of the page gives it (a static element ignores any top, bottom, left, or right declarations). Normally you wouldn&#8217;t specify this unless you needed to override a positioning that had been previously set.</p>
<h3>Relative Positioning</h3>
<p>When you position something relatively, you are modifying its position from where it would have been if you hadn&#8217;t changed anything. An element with <code>position: relative;</code> moves an element relative to its normal position, so &#8220;left:10&#8243; adds 10 pixels to the element&#8217;s LEFT position. This may sound strange, but it can be useful sometimes.</p>
<h3>Absolute positioning</h3>
<p>If you choose for an absolute positioning the element ( image, table, etc) will appear at the specified position. An absolutely positioned element is positioned relative to another element, called the <em>containing block</em>. For example if I want to position a graphic 50 pixels from the top and 100 pixels from right, I can do it this way:</p>
<p><code>img {position: absolute; top: 50px; right: 100px; }</code></p>
<h4>Positioning Layers</h4>
<p>Look at the bellow layer:</p>
<pre>&lt;div style="position: absolute; left: 600px; top: 100px; height: 400px; width: 200px; padding: 10px"&gt;Some text&lt;/div&gt;</pre>
<p>What I&#8217;ve done here? First I specified the <strong>position</strong> for the layer, then the <strong>dimensions</strong>. You are free to add how many characteristics you want.  With layers, all the information that a browser needs is contained in the style attributes you&#8217;ve added.</p>
<p>To get layers <strong>overlapping</strong> each other you need to use the stacking order with <strong>z-index</strong> attribute. Add <code> z-index: 1; </code> in with the positioning code and this element will appear above everything without this command. The standard value is z-index:0 and a smaller value will have a lower priority than a higher one.</p>
<h3>Fixed positioning</h3>
<p>An element with <code>position: fixed;</code> is positioned at the specified coordinates relative to the browser window. The element&#8217;s position is specified with the &#8220;left&#8221;, &#8220;top&#8221;, &#8220;right&#8221;, and &#8220;bottom&#8221; properties. The element remains at that position regardless of scrolling. Fixed positioning is very similar to absolute positioning, but there are differences. Unfortunately Internet Explorer doesn&#8217;t support fixed positioning.</p>
]]></content:encoded>
			</item>
		<item>
		<title>Id vs Div</title>
		<link>http://css-code.AssistProgramming.com/id-vs-div.html</link>
		<pubDate>Sun, 11 Nov 2007 20:13:46 +0000</pubDate>
		<description><![CDATA[There are often confusions when it&#8217;s appropriate to use CSS IDs and when CSS Classes should be used instead. This article geared to display an answer as well as provide more information about CSS IDs.
We should know that IDs identify a specific element and therefore must be unique on the page - you can only [...]]]></description>
			<content:encoded><![CDATA[<p>There are often confusions when it&#8217;s appropriate to use <acronym title='Cascading Style Sheets'><span class='caps'>CSS</span></acronym> <strong>IDs</strong> and when <acronym title='Cascading Style Sheets'><span class='caps'>CSS</span></acronym> <strong>Classes </strong>should be used instead. This article geared to display an answer as well as provide more information about <acronym title='Cascading Style Sheets'><span class='caps'>CSS</span></acronym> IDs.</p>
<p>We should know that IDs identify a specific element and therefore<strong> must be unique on the page</strong> - you can only use a specific ID only <strong>once </strong>per document. Many browsers do not enforce this rule but it is a basic rule of <acronym title='HyperText Markup Language'><span class='caps'>HTML</span></acronym>/<acronym title='eXtensible HyperText Markup Language'><span class='caps'>XHTML</span></acronym> and it is logic to act like this. On the other hand, classes mark elements as members of a group and can be used multiple times, so if you want to define a style which will be applied to multiple elements you should use a class instead.</p>
<p>So, an element can have multiple class values, while an ID must be a single value.</p>
<p>We may have all the time to choose between classes and Ids. So it is important to know how things works instead of working at random. So, when should I use a class and when an Id?</p>
<p>When we work to make a design we want to apply styles consistently. For example you want all links to be green - so using classes in this case makes sense.</p>
<p>IDs are used to identify particular elements. For example you have a container named header, and probably it is unique in your document - so feel free to use Id.</p>
<p>There is a common advantage of using both classes and Ids. If we look at the <acronym title='HyperText Markup Language'><span class='caps'>HTML</span></acronym> code we will see markup that tells what the content is. For example,  a <code> &lt;div id="header"&gt; </code>tell us that this is the header of the document. Probably at a first look we don&#8217;t want to know details about what header contains &#8230; but intuitive we know what it is about. Also there&#8217;s no possibility that there can be another header.</p>
<p>Having <code>&lt;div class="error"&gt;</code>  tell us that this part of the page isn&#8217;t just another block, but in fact contains an error message, that can be several times used on the page.</p>
<p><strong>In Conclusion</strong>: when you&#8217;re deciding whether to use class or id for your elements, consider this: the element appear only once, or could it appear several times? In the former case, use id, in the latter, use class.</p>
]]></content:encoded>
			</item>
		<item>
		<title>Formating tables with CSS</title>
		<link>http://css-code.AssistProgramming.com/formating-tables-with-css.html</link>
		<pubDate>Tue, 06 Nov 2007 16:59:58 +0000</pubDate>
		<description><![CDATA[Do you want to have a nice formatted table using CSS code? Being able to format a table it is not a &#8220;strange&#8221; thing than formating lists, links, text or other structures. You can have your own classes attached to the rows and columns or simple use another attributes (superscript) the used tags.
Below it is [...]]]></description>
			<content:encoded><![CDATA[<p>Do you want to have a nice formatted table using <acronym title='Cascading Style Sheets'><span class='caps'>CSS</span></acronym> code? Being able to format a table it is not a &#8220;strange&#8221; thing than formating lists, links, text or other structures. You can have your own classes attached to the rows and columns or simple use another attributes (superscript) the used tags.</p>
<p>Below it is an example of a simple formated table. It is nothing special, but having particular effects give a nice and pleasant result.</p>
<p>I am going to show you the <acronym title='HyperText Markup Language'><span class='caps'>HTML</span></acronym> code for this table and the <acronym title='Cascading Style Sheets'><span class='caps'>CSS</span></acronym> code table format. Having all this I think you can try something similar and why not you can show us your result. <img src='http://www.assistprogramming.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> I expect you to visit our <a href="http://forum.assistprogramming.com/">forums</a>.</p>
<p><img src="http://www.assistprogramming.com/wp-content/uploads/2007/10/table.gif" alt="table.gif" style="float: none; display: inline" /></p>
<p>Here is the <acronym title='HyperText Markup Language'><span class='caps'>HTML</span></acronym> code:</p>
<pre>
&lt;table width="530" border="1" cellpadding="3" cellspacing="0" &gt;

&lt;tr class="tabletop"&gt;

&lt;th width="39" &gt;No.&lt;/th&gt;

&lt;th width="297" &gt;Name&lt;/th&gt;

&lt;th width="168" &gt;Actions&lt;/th&gt;

&lt;/tr&gt;

&lt;tr&gt;

&lt;td class="col"&gt;1.&lt;/td&gt;

&lt;td class="col"&gt;Honda&lt;/td&gt;

&lt;td class="col"&gt;

&lt;a href=""&gt;Models&lt;/a&gt; |

&lt;a href=""&gt;Edit&lt;/a&gt; |

&lt;a href=""&gt;Delete&lt;/a&gt;

&lt;/td&gt;

&lt;/tr&gt;

&lt;tr&gt;

&lt;td class="col"&gt;2.&lt;/td&gt;

&lt;td class="col"&gt;BMW&lt;/td&gt;

&lt;td class="col"&gt;

&lt;a href=""&gt;Models&lt;/a&gt; |

&lt;a href=""&gt;Edit&lt;/a&gt; |

&lt;a href=""&gt;Delete&lt;/a&gt;

&lt;/td&gt;

&lt;/tr&gt;

&lt;tr&gt;

&lt;td class="col"&gt;3.&lt;/td&gt;

&lt;td class="col"&gt;Mercedes Benz&lt;/td&gt;

&lt;td class="col"&gt;

&lt;a href=""&gt;Models&lt;/a&gt; |

&lt;a href=""&gt;Edit&lt;/a&gt; |

&lt;a href=""&gt;Delete&lt;/a&gt;

&lt;/td&gt;

&lt;/tr&gt;

&lt;/table&gt;</pre>
<p>And now the <acronym title='Cascading Style Sheets'><span class='caps'>CSS</span></acronym> formats:</p>
<pre>
table{
border:1px solid #cfcfe8;
}
tr{
border:1px solid #cfcfe8;
}
td{
border:1px solid #EDF0F4;
}
th{
padding-left:15px;
border:1px solid #EDF0F4;
}
.tabletop{
background-color:#F5F6F7;
font-family:Tahoma;
font-size:14px;
font-weight:bold;
text-align:left;
color:#042461;
}
.col{
padding-left:15px;
font-size:12px;
}</pre>
]]></content:encoded>
			</item>
		<item>
		<title>Having shadow to a border using CSS</title>
		<link>http://css-code.AssistProgramming.com/having-shadow-to-a-border-using-css.html</link>
		<pubDate>Fri, 02 Nov 2007 20:52:02 +0000</pubDate>
		<description><![CDATA[Do you want to add a shadow to a border using CSS code? Hope you agree with me that CSS is nice to work with&#8230; I think you can implement whatever you want, except you have to choose the right method. Follow the next steps &#8230; it is the way I choose to add a [...]]]></description>
			<content:encoded><![CDATA[<p>Do you want to add a shadow to a border using <acronym title='Cascading Style Sheets'><span class='caps'>CSS</span></acronym> code? Hope you agree with me that <acronym title='Cascading Style Sheets'><span class='caps'>CSS</span></acronym> is nice to work with&#8230; I think you can implement whatever you want, except you have to choose the right method. Follow the next steps &#8230; it is the way I choose to add a shadow to a border.</p>
<p>Before started you should know I make the shadow from small pictures (3&#215;4 pixels for the vertical shadow).</p>
<p><strong>Step 1</strong>  Make a div with the follow properties:</p>
<pre>
.page{

width:805px;

background-image:url(images/shadow.gif);

background-repeat:repeat-y;

background-position:right;

}</pre>
<p>Here we have the main container. I set the width -  I initially wanted a 800 pixels width, but this width has added the borders and the image for the shadow (3 pixels width).  I wanted a shadow added to the right border so I set the background-position right.</p>
<p><strong>Step 2</strong>  In the page div I added another div - I called it main.</p>
<pre>
.main{

width:800px;

border:1px solid #CFCFE8;

margin-right:3px;

}</pre>
<p>Here we have the border set and the width. Until here we have a 800 pixels width div with a border and in the right side we also have a small shadow.</p>
<p><strong>Step 3</strong> We need now a shadow for the bottom. Here is the <acronym title='HyperText Markup Language'><span class='caps'>HTML</span></acronym> code:</p>
<pre>
&lt;div class="shadow"&gt;&lt;div class="corner"&gt; &lt;/div&gt;&lt;/div&gt;</pre>
<pre>
.shadow{width:805px;

height:3px;

background-image:url(images/butShadow.gif);

background-repeat:repeat-x;

}

.corner{

float:left;

background-image:url(images/corner.gif);

background-repeat:no-repeat;

}</pre>
<p>What I&#8217;ve done here? I put a div under the page div which has on the background a small image for the shadow. Because I wanted a special left corner I added one more div with another picture on the background (see the corner class).</p>
<p>That should be all! This is my method for adding a shadow to the right and to the bottom of a container. If you have another suggestion I wait to talk about this on <a href="http://forum.assistprogramming.com/">forum</a>. <img src='http://www.assistprogramming.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p>
]]></content:encoded>
			</item>
	</channel>
</rss>
