<?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/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>WebDea &#187; internet explorer</title>
	<atom:link href="http://www.webdea.com/tag/internet-explorer/feed" rel="self" type="application/rss+xml" />
	<link>http://www.webdea.com</link>
	<description>Converting PSD 2 HTML, xHTML, CSS, Wordpress, Joomla, Drupal</description>
	<lastBuildDate>Tue, 07 Dec 2010 12:48:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
		<item>
		<title>HTML5 Basics</title>
		<link>http://www.webdea.com/html5-basics.html</link>
		<comments>http://www.webdea.com/html5-basics.html#comments</comments>
		<pubDate>Tue, 16 Nov 2010 13:13:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[html5 basics]]></category>
		<category><![CDATA[internet explorer]]></category>
		<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://www.webdea.com/?p=453</guid>
		<description><![CDATA[<a href="http://www.webdea.com/html5-basics.html"><img src="http://farm2.static.flickr.com/1408/5101654483_8558303c17_m.jpg" alt="HTML5 tips to know" align="left"></a>HTML5 offers another update that should help you to nest every element inside a link tag. On other words, block level links should solve the problem of linking bigger areas constructed from divs, headings and/or other block level elements. However, it is just theory. So, let’s check it in practice. ]]></description>
			<content:encoded><![CDATA[<p><img src="http://farm2.static.flickr.com/1421/5101655035_c7fb35d75c_m.jpg" alt="HTML5 basics to remember" align="right" />HTML5 offers another update that should help you to nest every element inside a link tag. In other words, block level links should solve the problem of linking bigger areas constructed from divs, headings and/or other block level elements. However, it is just theory. So, let’s check it in practice.</p>
<p>First of all, it should be noted that block level link works perfectly in simple cases, but can spoil things dealing with complex issues.</p>
<h3>Vomit Bug for Your Design</h3>
<p>The <a href="http://remysharp.com/2009/08/10/defining-the-vomit-bug/">definition</a> of vomit bug is quite simple:</p>
<p>When the browser&#8217;s parser rearranges the DOM completely differently to the markup, resulting in content being placed outside its original container.</p>
<p>The problem can occur when you are nesting links inside other links. Because of vomit bug, DOM can be scattered in different directions, except the one you laid out initially.</p>
<p>Here is the sample of html code that was used to generate dom structures:</p>
<p>&lt;div&gt;<br />
&lt;a href=&#8221;#block&#8221;&gt;<br />
&lt;div&gt;<br />
&lt;div&gt;2010&lt;/div&gt;<br />
&lt;div&gt;5.0*/5.0*&lt;/div&gt;<br />
&lt;div&gt;&lt;a href=&#8221;#test&#8221;&gt;test&lt;/a&gt;&lt;/div&gt;<br />
&lt;/div&gt;<br />
&lt;/a&gt;<br />
&lt;/div&gt;</p>
<p>It is quite simple setup providing a block level link with several other block element and one nested link. In case you remove nested link there will be no problem. In case you leave it, you will get the following samples of doms taken from Opera 10.5 (1), IE8 (2), Safari 4 (3) and Firefox 3.6 (4):</p>
<p><img src="http://farm2.static.flickr.com/1239/5102247160_594d80bea3_z.jpg" alt="nesting links" /></p>
<p>Only Opera 10.5 shows dom correctly. However, in case you give a background color to the block level link, Opera stop working. The best browser rendering the block level link quite perfectly is IE6. But still the click area is not corresponding. In other words, block level links with other links nested inside don’t work. At least now.<img src="http://farm2.static.flickr.com/1163/5102249008_1e3818064f_m.jpg" alt="HTML5 basics to learn" align="right" /></p>
<p>As usual HTML and CSS techniques are great… but are not working perfectly. Just remember that in case you nest another link inside links block, it will break down completely. Till all these things are fixed you should use the links on the title and “read more” text. You also can remove all links inside a block level link to make things better.</p>
<p><em>Reference: www.onderhond.com/blog/work/nesting-links-how-to-make-your-browser-v</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdea.com/html5-basics.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Best CSS Editors for Mac</title>
		<link>http://www.webdea.com/best-css-editors-mac.html</link>
		<comments>http://www.webdea.com/best-css-editors-mac.html#comments</comments>
		<pubDate>Tue, 27 Apr 2010 14:28:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[best css editors for mac]]></category>
		<category><![CDATA[coda]]></category>
		<category><![CDATA[cssedit]]></category>
		<category><![CDATA[firebug]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[internet explorer]]></category>
		<category><![CDATA[safari]]></category>
		<category><![CDATA[xyle]]></category>

		<guid isPermaLink="false">http://www.webdea.com/?p=116</guid>
		<description><![CDATA[<a href="http://www.webdea.com/best-css-editors-mac.html"><img src="http://farm5.static.flickr.com/4053/4520237001_eacf5725da_o.jpg" alt="CSS Hacks to know" align="left"></a>With more web developers using Mac, good Mac focused software for creating and editing CSS files has become more popular today. Here are some CSS editors reviews that include the best tools for the job and can improve your workflow as well. Learn more about their advantages and drawbacks to make the right choice easily. ]]></description>
			<content:encoded><![CDATA[<p>With more web developers using Mac, good Mac focused software for creating and editing CSS files has become more popular today. Here are some CSS editors reviews that include the best tools for the job and can improve your workflow as well.</p>
<h3>Xyle Scope</h3>
<p><img src="http://farm5.static.flickr.com/4023/4520877258_1b8d66ea31_o.jpg" alt="Xyle Scope"></p>
<p><a href="http://www.culturedcode.com/xyle/">Xyle Scope</a> can be called a web browser that provides you with the opportunity to select elements right on the page. The sidebar of this CSS editor can display the HTML and CSS of whatever element you have selected. You can change something and see the effects immediately. This tool can be called the best solution for troubleshooting borked layouts. </p>
<p><img src="http://farm5.static.flickr.com/4065/4520877746_e1553dd81c_o.jpg" alt="Xyle window"></p>
<p>However, it has some disadvantages as well. There is no usual “code view” and you can’t save CSS that you edited on a non-local site. The other thing to pay attention to is that it is basically Safari. In other words, troubleshooting is limited to this browser. In case you make changes and Preview them in different browsers they won’t hold. </p>
<h3>CSS Edit</h3>
<p><img src="http://farm5.static.flickr.com/4041/4520874990_1dd2484c1e_o.jpg" alt="CSS Edit"></p>
<p><u>Price:</u> $29.95.</p>
<p>The best thing about <a href="http://macrabbit.com/cssedit/">CSS Edit</a> is that it has a lot of necessary features to make the editing process easier. A single editor window contains a left sidebar with all selectors, a right sidebar of user-friendly style editor and a middle pane of the “code” view. </p>
<p>CSS Edit also offers you to take advantage of such features as “grouping” of selectors, search, built-in code validation, milestones management and easy commenting. Override and Extract are the other cool features to try. </p>
<p><img src="http://farm3.static.flickr.com/2791/4520875492_415fe52e5c_o.jpg" alt="CSS Edit window"></p>
<p>Thus, Override feature enables you to go to any webpage and edit CSS with previewing effects at the same time. You can use it for your own site to make it look better as well as for other people sites to learn their ways and make adjustments. This feature provides you with the opportunity to change CSS that affects dynamic content. </p>
<p>Extract feature allows you to get the CSS from any page on the Web then save it and do whatever you want. Thus, you can understand other people techniques as well as apply them to your site. </p>
<p>Perhaps, the strength of CSS Edit can be also called its disadvantage because so many features make it rather heavy application. However, you always can do your best with its interesting and useful tools. </p>
<h3>Firebug</h3>
<p><img src="http://farm3.static.flickr.com/2723/4520239911_6a90e6165f_o.jpg" alt="Firefox w/ Firebug"></p>
<p><u>Price:</u> Available for free.</p>
<p><a href="https://addons.mozilla.org/en-US/firefox/addon/1843">Firebug</a> is a Firefox extension. As you install it, a little icon in the bottom bar of your browser window appears and indicates the state of the site you are viewing. Thus, in case you see green it means that page you are viewing is in good shape while red X will be displayed if there are some problems with the site. You can open editor area just clicking this icon. </p>
<p><img src="http://farm5.static.flickr.com/4045/4520240443_357d6561c0_o.jpg" alt="Firefox w/ Firebug window"></p>
<p>Firebug offers you to edit the CSS or the HTML easily and watch the effect immediately. This CSS editor also allows you to view the CSS in “layout” mode. In other words, you can see the margin, border, padding, offset and size of any element you choose. This is quite powerful and convenient to use tool. </p>
<p>Being an extension of Firefox, this CSS editor is limited in its preview capacity and you are not able to save out your modifications. In other words, this is rather troubleshooting tool than an editor. Thus, with such features as javascript errors, DOM analysis and validation, Firebug can be the best choice for troubleshooting. </p>
<h3>Coda</h3>
<p><img src="http://farm5.static.flickr.com/4036/4520873978_1ee252da1a_o.jpg" alt="Coda"></p>
<p><u>Price:</u> $79.</p>
<p><a href="http://www.panic.com/coda/">Coda</a> is quite similar to CSS Edit if talk about selector area. There is split-view that allows you to look at the code at the same time, so you don&#8217;t need to change between CSS view and Edit view while working. </p>
<p><img src="http://farm5.static.flickr.com/4036/4520238351_a0f4d9eaa4_o.jpg" alt="Coda window"></p>
<p>Coda allows you to preview the results of your changes immediately. The other great thing about Coda is that it provides you with nice FTP client that allows you to save your sites in quite appealing way. You also can take advantage of split-view FTP/Edit Window that has a terminal program for shell access to your servers. This CSS editor also provides you with manuals for JavaScript, HTML, CSS and PHP that is also a plus.  </p>
<p><em>Reference: css-tricks.com/reviews-of-mac-css-editors</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdea.com/best-css-editors-mac.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>10+ Top CSS Editors to Try</title>
		<link>http://www.webdea.com/10-top-css-editors.html</link>
		<comments>http://www.webdea.com/10-top-css-editors.html#comments</comments>
		<pubDate>Fri, 23 Apr 2010 12:44:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[css editors]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[how to choose]]></category>
		<category><![CDATA[how to tips]]></category>
		<category><![CDATA[internet explorer]]></category>
		<category><![CDATA[top css editors]]></category>

		<guid isPermaLink="false">http://www.webdea.com/?p=110</guid>
		<description><![CDATA[<a href="http://www.webdea.com/10-top-css-editors.html"><img src="http://farm3.static.flickr.com/2698/4519987677_a748a1699c_o.jpg" alt="Top 10 CSS editors" align="left"></a>Professional developers as well as newbies can take advantage of various CSS-editors. Today various tools and features for CSS-design integrated in one CSS editor. In case you are interested in quick and effective coding workflow, let’s find out what CSS-editors are the best. ]]></description>
			<content:encoded><![CDATA[<p>While some people suppose that CSS-editors are unnecessary and even superfluous, others continue to find them rather helpful. Professional developers as well as newbies can take advantage of various CSS-editors. Thus, if you can be proud of vast experience in web developing you can improve workflow and just get all the required CSS-tools in one single application. All the beginners can easier understand how the design is built up by analizing stylesheets and using live-editing. </p>
<h3>Reasons to Use a CSS-editor</h3>
<p>We all need to have more time for life and CSS editor can present you some hours a day making your workflow more effective. The other thing is to choose the right CSS-editor that not only combines the editing features of CSS-stylesheets, the site layout and HTML-source code within a user-friendly interface, but also provides you with more useful features to try.<img src="http://farm5.static.flickr.com/4024/4520057495_10b920bf09_o.jpg" alt="CSS editors to know" align="right"> </p>
<p>Good CSS-editor offers you various assisting tools for testing and debugging. You also can take advantage of such features as advanced code browsing, live-editing, code formatter, preview in different browsers, validation, built-in CSS-reference, beautifier and compressor as well as project management tools. This is not the full list of the features offered by various CSS-editors, but you should decide whether you really need them all. </p>
<p>For example, to simplify maintenance and make the source code easier to scan, some CSS-editors allow you to organize parts of the code into folders and filter the stylesheet without much effort. Instant style sheet preview with Internet Explorer or FireFox is another feature provided by advanced CSS-editors. You also can analyze code problems easily with such useful tool as a code inspector or use “X-Ray” function to decompose a stylesheet. </p>
<p>In other words, you get various tools and features for CSS-design integrated in one CSS editor. In case you are interested in quick and effective coding workflow, let’s find out what CSS-editors you can choose. </p>
<h3>Xyle (Mac)</h3>
<p>With the embedded stylesheet <a href="http://www.culturedcode.com/xyle/">Xyle</a> allows you edit web sites easily. You can preview changes in the browser window as soon as you modify CSS code. You also can try such useful features presented as syntax highlighting, selectors tree view and advanced file management. </p>
<p><img src="http://farm5.static.flickr.com/4063/4519993075_6b4bd2ff75_o.jpg" alt="Xyle"></p>
<p>Browser Mode allows you to browse the Web using Safari’s rendering engine. In Selection Mode you can click any part of web page and find out the exact portion of the HTML and CSS sources responsible for the formatting and contents of that part. </p>
<p>Choosing Cascade Mode you can display the style rules that apply to the currently selected element as well as the rules that apply to ancestors of this selected element. Selecting the necessary element in Cascade Mode while debugging, you can see the rules applied as well as the rules overridden including the rules applied to the ancestors of this element. </p>
<p>Integration with external text editors such as BBEdit is also available with Xylescope. </p>
<p><u>Price:</u> $19.95. A trial version is available. A good choice in case you don’t need various advanced features including compressor, beautiful or validation. </p>
<p><u><b>Key Features</b></u></p>
<ul>
<li>Automatic formatting</li>
<li>built-in DTD viewer</li>
<li>filter large CSS files using smart groups</li>
<li>Selector matching</li>
</ul>
<h3>Stylizer (Windows)</h3>
<p>Grid interface instead of a text editor as well as Firefox and IE embedded can be called the exclusive features offered by <a href="http://www.skybound.ca/stylizer/">Stylizer</a>. Thus, with grid system to make any CSS errors seem to impossible, while Firefox and IE included allows to check changes right in the browser. Such feature as a Firebug-like element inspector allows you to find and edit in the same place. </p>
<p><img src=" http://farm5.static.flickr.com/4059/4519992209_97c2acdef2_o.jpg " alt=" Stylizer "></p>
<p>To adjust dimensions in Stylizer is quite easy. All you need to change a margin, a height or a background position is to click on the value, drag the mouse and watch this element changed in real time. The same can be done with colours. Just click on them, drag the mouse and appreciate the colour of background or text in the browser, in real-time. </p>
<p><u>Price:</u> Stylizer Basic is free. $69.95 for Premium version with all the above mentioned features included. </p>
<p><u><b>Key Features</b></u></p>
<ul>
<li>Real-time Preview</li>
<li>Two-click Coloring</li>
<li>Edit with point-and-click efficiency</li>
<li>Remote Control</li>
</ul>
<h3>Rapid CSS Editor (Win)</h3>
<p>With such features as a code inspector, autocompleter and syntax highlighting,  <a href="http://www.blumentals.net/rapidcss/">Rapid CSS Editor</a> allows you to know whether produced code is correct. In order to check quickly the syntax and attributes of a given selector or tag, you can use built-in CSS- and HTML-references. </p>
<p><img src=" http://farm3.static.flickr.com/2731/4520627662_77dff250a4_o.jpg " alt=" Rapid CSS Editor "></p>
<p>A file manager provides you with the opportunity to upload CSS-files via FTP. With an advanced clipboard you can have multiple code fragments ready within one click. Using colour tool available you can pick the necessary colour without switching to colour application and check the result in the Style Sheet Preview with Firefox and IE.</p>
<p><u>Price:</u> $29.85. A trial-version is available.</p>
<p><u><b>Key Features</b></u></p>
<ul>
<li>Syntax Highlighting for CSS and HTML documents</li>
<li>CSS Checker and Validator</li>
<li>Instant Style Sheet Preview with Internet Explorer or FireFox</li>
<li>CSS Code Explorer</li>
<li>Code Inspector</li>
<li>Code Auto Complete for CSS and HTML</li>
<li>Built-in File Explorer</li>
<li>Compliance with CSS standards and various browsers</li>
<li>Integration with W3C CSS and HTML validators</li>
<li>Multi Item Clipboard</li>
<li>Built-in CSS Reference</li>
<li>CSS Code Formatter and Beautifier</li>
<li>CSS Code Compressor</li>
<li>Search and Replace in files</li>
<li>Save and open files directly from FTP</li>
<li>Project and site management and FTP publishing</li>
<li>Fully customizable interface</li>
<li>X-Ray for HTML preview</li>
<li>Search and Replace with Regular Expression support</li>
<li>Code collapse</li>
</ul>
<h3>TopStyle (Win)</h3>
<p><a href="http://www.newsgator.com/Individuals/TopStyle/">TopStyle</a> offers you quite a wide range of features that are not available in other editors. Such feature as HTML-tidy provides you with the opportunity to convert deprecated HTML-tags in valid XHTML easily.<br />
<img src=" http://farm3.static.flickr.com/2734/4520630268_608b678ffc_o.jpg " alt=" TopStyle "><br />
For example, you can use integrated Style update that allows you to replace deprecated tags such as the &lt;font&gt;-tag with respective valid CSS-rules. With this editor you can display site in Mozilla and IE to compare. You can change the Doctype-definition to get to know how various DTDs influence the layout in different browsers as well. </p>
<p>But maybe the best tool provided by TopStyle is Style checker. It can validate style sheets ensuring the correct layout presentation in different browsers as well as predict bugs in the most popular browsers that may occur even with valid CSS-code. </p>
<p><u>Price:</u> $79.95. Windows only. </p>
<p><u><b>Key Features</b></u></p>
<ul>
<li>HTML, xHTML and CSS Editing in a Single Program: HTML attributes are categorized displaying which are required</li>
<li>Easy Navigation between Documents</li>
<li>Element and Attribute Validation as You Type</li>
<li>Style Checker: Validate your style sheets against multiple browsers, showing any invalid properties or values</li>
<li>Style Upgrade: A quick, reliable way to replace deprecated HTML markup</li>
<li>HTML Tidy Integration: converts HTML to XHTML with a single click!</li>
<li>Site Reports: shows where styles are used in your site</li>
<li>Full Screen Preview: Split the preview between Internet Explorer and Mozilla to find differences</li>
<li>Integration with W3C HTML Validation: Results of the validation are displayed within TopStyle, with hyperlinked line numbers that synchronize with TopStyle’s editor</li>
</ul>
<h3>CSSEdit (Mac)</h3>
<p><a href="http://www.macrabbit.com/cssedit/">MacRabbit CSSEdit</a> offers you real-time styling of stylesheets as XyleScope. You can style and analyze without uploading or refreshing even if a dynamic web-application uses AJAX or powered by some complex database. Such feature as Intelligent CodeSense provides you with context-sensitive suggestions after analyzing CSS and its behaviour.<br />
<img src=" http://farm5.static.flickr.com/4041/4520626332_f8cbe8ba5e_o.jpg " alt=" CSSEdit "></p>
<p>The other thing to pay attention to is X-ray Inspector that shows what styles apply to a HTML document. The other things offered by CSSEdit is validation against W3C standards, automatically adding brackets or (semi-)colons as well as creating appropriate spacing and providing various project management tools. Live-preview feature and clipboard library are also quite useful features provided. </p>
<p><u>Price:</u> 29.95 Euro ($47). A trial-version available</p>
<p><u><b>Key Features</b></u></p>
<ul>
<li>Validation tool</li>
<li>Organize in folders and filter easily</li>
<li>Project management</li>
<li>Modify source code with intelligent CodeSense</li>
<li>X-ray pages</li>
<li>Intelligent CodeSense support</li>
<li>Selector Builder takes the Yuck out of selectors</li>
<li>Live-preview</li>
<li>Integration in web-browsers</li>
</ul>
<h3>Style Master (Win / Mac)</h3>
<p><a href="http://www.westciv.com/style_master/">Style Master</a> can be used easily by professionals as well as newbies. With integrated color picker, various wizards, templates and validation tools you can work effectively and create CSS-based websites easily without trying to solve CSS tricks.<br />
<img src=" http://farm3.static.flickr.com/2694/4519991015_76f9d56bf8_o.jpg " alt=" Style Master "><br />
Some interesting feature offered is integrated templates that are quite useful and make this CSS-editor rather unique. You also can use a use a W3C-example-stylesheet which defines the style of almost every possible HTML-tag. </p>
<p>The Design Pane offers you numerous features such as X-Ray to design your style sheets. On the whole, this editor is simple and easy to deal with. </p>
<p><u>Price:</u> $59.99. Style Master is available for both Windows and Mac. A trial-version is available.</p>
<p><u><b>Key Features</b></u></p>
<ul>
<li>Browser support help</li>
<li>Code optimization</li>
<li>Wizards</li>
<li>Intelligent code completion</li>
<li>Over 40 Templates</li>
<li>Use X-Ray to instantly see the structure of your layouts</li>
<li>Whitespace formatting tools</li>
</ul>
<h3>Style Studio (Win)</h3>
<p>CSS-Checker provided by <a href="http://www.highdots.com/css-editor">Style Studio</a> allows skillful developers as well beginners to create standard-conform CSS-based layouts. You can try various powerful tools such as Smart linker that links multiple CSS documents to various HTML documents at once as well as to take advantage of CSS Manager that manages and upgrades to standard compliant code detecting various problems occurred.<br />
<img src=" http://farm5.static.flickr.com/4039/4520629140_e41f9e2302_o.jpg " alt=" Style Studio "><br />
The other interesting feature to try is the IntelliSense-line technology available for HTML and style sheets with lookup-reference for CSS. You also can automatically detect CSS property with Property Watch tool. </p>
<p><u>Price:</u> $49.95. Windows only. </p>
<p><u><b>Key Features</b></u></p>
<ul>
<li>Powerful customizable Syntax-Colored Editor</li>
<li>CSS Validator</li>
<li>CSS Manager to manage, upgrade to standard compliant code</li>
<li>Integration with over 35 HTML editors</li>
<li>CSS Property Watch and Instant help on css keywords under caret</li>
<li>Multi files Import from HTML/Export in HTML capability</li>
<li>IntelliSense for style sheets and HTML</li>
<li>Customizable CSS Code Indent</li>
<li>Formatting ToolBars which simplify the use common properties</li>
<li>CSS wizards</li>
<li>Intelligent parser which detect invalid properties as you type</li>
<li>Unlimited number of code snippets with custom hotkeys</li>
<li>Migration Wizard</li>
<li>Easily change CSS values using Ctrl+Up/Down hotkeys</li>
<li>True multiple CSS charts support (i.e. target IE 4+ AND Netscape 4+)</li>
<li>Automatically detect installed browsers/web-authoring tools</li>
<li>Built-in system-wide search and replace</li>
</ul>
<h3>CoffeeCup (Win)</h3>
<p><a href="http://www.coffeecup.com/stylesheet-maker/">CoffeeCup StyleSheet Maker</a> offers CSS-editing options that include some sophisticated features as well as basic editing tools. It can be compared with TopStyle but with less flexibility.<br />
<img src=" http://farm5.static.flickr.com/4054/4519988475_bd8a146a05_o.jpg " alt=" CoffeeCup "><br />
Using this CSS-editor you can overlap text, palce image backgrounds in tables, create links that aren’t underlined as well as create your own tags to assign the functions you need. </p>
<p><u>Price:</u> $34.00. A trial-version is available.</p>
<p><u><b>Key Features</b></u></p>
<ul>
<li>Includes Color Schemer</li>
<li>Step by Step Help</li>
<li>Multiple Browser Testing</li>
<li>Edit, Save, and Open .css, .html or .txt documents</li>
<li>Cascading Style Sheet Creation for Netscape and Internet Explorer 3.0+</li>
<li>50 Style Sheet Drop Down Tags</li>
<li>Easy CSS Font Designer</li>
<li>Class &#038; ID Wizard for Creating your own HTML Tags</li>
<li>Dynamic HTML Snippets </li>
</ul>
<h3>EngInSite CSS Editor (Win)</h3>
<p><a href="http://www.enginsite.com/css-editor.htm">EngInSite CSS Editor </a> has all the necessary tools to create web-sites that pass the W3C validation test. They include integrated instant style sheet previewer, syntax highlighting, automated code completion, integration with W3C HTML Validator, built-in CSS Reference, live editing feature as well as customizable and expandable code library.<br />
<img src=" http://farm3.static.flickr.com/2798/4520626774_9e2f5db1a9_o.jpg " alt=" EngInSite CSS Editor "><br />
The other thing to try is a CSS Property Editor with dynamic shorthand properties support and Selector Constructor that helps you with various code tools and complicated selectors such as Convert Colors or Expanding/Extract URLS. </p>
<p><u>Price:</u> $39.95. A trial-version is available.</p>
<p><u><b>Key Features</b></u></p>
<ul>
<li>Advanced text editor</li>
<li>Integration with W3C HTML Validator</li>
<li>Integrated Instant Style Sheet Preview against HTML file of your choice</li>
<li>Check your CSS syntax against multiple browsers</li>
<li>Visual editors for different data types</li>
<li>Compliance with CSS standards and various browsers</li>
<li>Compatibility Check and Syntax check</li>
<li>Search and Replace with Regular Expression support</li>
<li>Wizards for body, IE Scrollbars, lists and backgrounds</li>
</ul>
<h3>Jellyfish CSS (Mac)</h3>
<p>The features to pay attention to offered by <a href="http://www.macjelly.net/en/index.html">Jellyfish CSS</a> are Code-Sense support, code library, browser support reference as well as wizards that help you to avoid mistakes. Such tool as an integrated Colorblender allows you to create matching colour palettes.<br />
<img src=" http://farm5.static.flickr.com/4067/4520627272_cb8417f7c9_o.jpg " alt=" Jellyfish CSS "><br />
<u>Price:</u> $47. A trial-version is available.</p>
<p><u><b>Key Features</b></u></p>
<ul>
<li>Code-Sense helps you avoiding mistakes</li>
<li>Supports Mobile Profile 1.0</li>
<li>Syntax-highlighting</li>
<li>Codechecking while typing</li>
<li>3 different preview-types</li>
<li>Style-Check with the W3C Validator and CSS-Tidy</li>
<li>Wizards support you while creating Stylesheets</li>
<li>Colourblender</li>
</ul>
<h3>Astyle (Win)</h3>
<p><a href="http://www.athlab.com/Astyle/index.html">Astyle</a> is a basic CSS-editor with basic feature provided. In other words, there are no advanced features, only the most necessary tools.<br />
<img src=" http://farm3.static.flickr.com/2737/4520625594_62ab444341_o.jpg " alt=" Astyle "><br />
<u>Price:</u> $20.</p>
<p><u><b>Key Features</b></u></p>
<ul>
<li>Graphic tree-type view of attachment files and the CSS structure</li>
<li>Grouped view of properties and selectors</li>
<li>Automatic selection and grouping of CSS selectors from a markup language document</li>
<li>Source CSS, HTML, XML highlight code editor</li>
<li>Clean up HTML document via CSS</li>
<li>Icon associate dictionary</li>
</ul>
<h3>Other CSS-Editors to Check</h3>
<p><b>JustStyle CSS Editor (Cross-platform)</b></p>
<p><a href="http://www.ucware.com/juststyle/">JustStyle CSS Editor</a> is written in Java and can work on various platforms including Microsoft Windows, Linux, Mac OS X, IBM OS/2, Apple Mac OS and others. With its help you can edit the whole CSS-file as well as just some fragments selected. This tool provides you with minimal number of features, but still it can be used to update CSS-file quickly outside your personal development environment. Anyway, JustStyle can’t be used for lager projects. </p>
<p><b>Simple CSS (Win)</b></p>
<p><a href="http://www.hostm.com/css/">Simple CSS</a> is also appropriate for Windows, Linux and Mac. You can preview and check quickly the produced source code. It is rather simple and easy to use tool that allows you to group single elements styled via CSS.<br />
<img src="http://farm5.static.flickr.com/4056/4520628148_142036949b_o.jpg" alt=" Simple CSS "></p>
<p><b>CSSED (Linux / Win / Mac)</b></p>
<p><a href="http://cssed.sourceforge.net/">CSSED</a> is the best solution for Linux. It provides you with the most essential features such as syntax validation, highlighting and autocompletion-tool and can be upgraded with plugins. Open Source. </p>
<p><b>Eric Meyer’s CSS Sculptor (Win)</b></p>
<p><a href="http://www.webassist.com/go/css/emeyer">Eric Meyer’s CSS Sculptor</a> template-based add-on for Dreamweaver and Microsoft Expression Web. 30 layouts can be used to modify the design as you wish. Thus, you can change the page width or number of columns. You also are able to specify padding and margins for any page element as well as the type properties for headings and paragraphs. These modified layouts can be saved to recreate or modify later. </p>
<h3>Alternative Tools to Try</h3>
<p><a href="http://getfirebug.com/">Firebug</a><br />
Firebug’s CSS tabs tell you everything you need to know about the styles in your web pages, and you can make changes as well as preview them.</p>
<p><a href="http://www.altova.com/features_css_editor.html">XMLSpy</a><br />
This editor includes a full-featured CSS editor to assist developers creating XML-based Web sites in XMLSpy.</p>
<p><a href="http://www.oxygenxml.com/css_editor.html">Oxygen</a><br />
An XML-Editor with CSS-functionality</p>
<p><a href="http://www.projectseven.com/products/templates/pagepacks/cssmagic/index.htm">CSS Layout Magic</a> (Win / Mac)<br />
This Dreamweaver-plugin offers you a number of simple or advanced CSS-layouts. Works on Windows and Mac OS X systems running Dreamweaver MX. <u>Price:</u> $60.</p>
<p><a href="http://eledo.com/article20.html">Eledicss</a><br />
A CSS2 editor implemented as a server-side PHP script. It allows editing CSS files using a web browser.</p>
<p><a href="http://chrispederick.com/work/web-developer/">Web Developer’s Toolbar</a> (Firefox Extension)<br />
The Web Developer extension adds a menu and a toolbar to the browser with various web developer tools. It is designed for Firefox, Flock and Seamonkey, and will run on any platform that these browsers support including Mac OS X, Windows, and Linux.</p>
<p><em>Reference: www.smashingmagazine.com/2008/06/19/css-editors-reviewed/</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdea.com/10-top-css-editors.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Do Your Best with CSS Hacks for Internet Explorer</title>
		<link>http://www.webdea.com/do-your-best-css-hacks-ie.html</link>
		<comments>http://www.webdea.com/do-your-best-css-hacks-ie.html#comments</comments>
		<pubDate>Tue, 20 Apr 2010 15:46:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[css hacks]]></category>
		<category><![CDATA[internet explorer]]></category>
		<category><![CDATA[w3c]]></category>

		<guid isPermaLink="false">http://www.webdea.com/?p=54</guid>
		<description><![CDATA[<a href="http://www.webdea.com/do-your-best-css-hacks-ie.html"><img src="http://farm3.static.flickr.com/2711/4505034449_1a96c9e4bb_o.jpg" alt="browser CSS Hacks to know" align="left"></a>Sometimes it is rather difficult to make CSS-based sites to look perfect across all browsers. The main problem is in Internet Explorer implementing CSS commands differently to other browsers. Thus, with most difficulties caused by the same Internet Explorer CSS issues, these problems can be fixed.]]></description>
			<content:encoded><![CDATA[<p>Sometimes it is rather difficult to make CSS-based sites to look perfect across all browsers. The main problem is in Internet Explorer implementing CSS commands differently to other browsers. Thus, with most difficulties caused by the same Internet Explorer CSS issues, these problems can be fixed. </p>
<h3>Fix Narrower Page Elements in Internet Explorer</h3>
<p><img src="http://farm5.static.flickr.com/4014/4505670034_c81a63503e_o.jpg" alt="cross browser CSS Hacks" align="right" /></p>
<p>The misinterpretation of the CSS box model that make page elements to be narrower in IE is probably the most usual IE and CSS issue. In short, every HTML element is a box, the width of which equals the total of its padding, border, margin and content area. Here is the sample of CSS rule:</p>
<blockquote><p>div {<br />
margin: 5em;<br />
padding: 4em;<br />
border: 1em solid green;<br />
width: 30em<br />
}</p></blockquote>
<p>It means that each div is 50em wide in total. You can make this amount just adding 30em wide content area to 4em padding, 1em border and 5em (invisible) margin on both the left and right sides. </p>
<p>In IE the padding and border are included in the width of the content. In other words, the width of the content is 20em only while the total width of the div is just 40em.</p>
<p>Such CSS box model problem will appear in IE5.x for sure and can occur in IE6, depending on the way you declare the ISO value in the HTML code. Here are the two variants possible:</p>
<ul>
<li>&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;iso-8859-1&#8243;?&gt;</li>
<li>&lt;meta http-equiv=&#8221;content-type&#8221; content=&#8221;text/html; charset=iso-8859-1&#8243; /&gt;</li>
</ul>
<p>The first command should be placed on the very first line of the HTML document. The second can be placed anywhere within the &lt;head&gt;. You must use one of these commands and according to W3C the first command is the better choice. </p>
<p>On the other hand, using the first command, you will make IE6 render the CSS box model incorrectly as in version 5 browsers. CSS hack allows you to fix the box model problem. With its help you can send different width values to different browsers. The choice of CSS hack to use will depend on ISO value and versions of IE. </p>
<p>Here are the CSS commands to fix IE5.x only:</p>
<blockquote><p>div {<br />
margin: 5em;<br />
padding: 4em;<br />
border: 1em solid green;<br />
width/**/:/**/ 40em;<br />
width: 30em<br />
}</p></blockquote>
<p>These CSS commands can be used to fix up all versions of IE:</p>
<blockquote><p>div {<br />
margin: 5em;<br />
padding: 4em;<br />
border: 1em solid green;<br />
width: 40em<br />
}<br />
html>body div {<br />
width: 30em<br />
}</p></blockquote>
<h3>Spilling Text Issue</h3>
<p>Unlike other browsers, IE expands background colours and borders to avoid text spilling out of its containing element. You will view the text splitting out of the right-hand side of the box in all browsers except IE, in case you have a box assigned class=&#8221;box&#8221; with the following CSS commands,:</p>
<blockquote><p>.box {<br />
width: 40px;<br />
border: 2px solid #781351;<br />
padding: 3px;<br />
background: #d7b9c9;<br />
white-space: nowrap<br />
}</p></blockquote>
<p>The box doesn’t expand in all other browsers except IE, because they will adhere to the width: 40px CSS command. While IE interprets width as min-width (the same works for height and min-height).<br />
To avoid spilling the text out of the box in all browsers you should use the first rule with the following CSS rule:</p>
<blockquote><p>html>body .box<br />
{<br />
width: auto;<br />
min-width: 40px<br />
}</p></blockquote>
<p>This command is for non-IE browsers only, because IE will ignore it because it has html>body at the front of it. Thus, the first CSS rule, width: auto, cancels out the original width rule while the second command, min-width: 40px then assigns a minimum width to the box that will always expand to fit the text.</p>
<h3>Background Images Disappear</h3>
<p><img src="http://farm5.static.flickr.com/4064/4505035831_b6e2230375_o.jpg" alt="cross browser CSS Hacks" align="right" /></p>
<p>The other problem is background images that disappear every time you scroll up and down on a web page. As a rule, you need to refresh the page to make the background reappear. The first solution is to insert the CSS command position: relative into the CSS rule containing the background image:</p>
<blockquote><p>.foo {<br />
background: url(filename.jpg);<br />
position: relative<br />
}</p></blockquote>
<p>However, sometimes it doesn’t change things for the better and you should assign a width or a height to the element with the background image. You can just assign a height of 1% for Internet Explorer. This CSS rule make no damage to appearance because IE interprets height as min-height:</p>
<blockquote><p>.foo {<br />
background: url(filename.jpg);<br />
height: 1%<br />
}<br />
html>body .foo {<br />
height: auto<br />
} </p></blockquote>
<p>The height: 1% CSS command is cancelled out by the height: auto CSS command. As soon as Internet Explorer doesn&#8217;t understand html>body, the second CSS rule will be ignored by IE.</p>
<h3>Widths Working on IE Only</h3>
<p>Every HTML element is a block or an inline element. For example, &lt;div&gt;, &lt;p&gt;, &lt;h1&gt;, &lt;form&gt; and &lt;li&gt; are block elements while &lt;span&gt;, &lt;a&gt;, &lt;label&gt;, &lt;strong&gt; and &lt;em&gt; are inline elements. All we know that the width of an inline element can&#8217;t be changed. In other words, the following CSS rule shouldn’t work:</p>
<blockquote><p>span {<br />
width: 100px<br />
}</p></blockquote>
<p>However, it works in IE. Thus, each span in IE will have a width of 100px while the width of the span in all other browsers will be the width of the number of characters contained in the element. The solution is to turn the span into a block level element just like this:</p>
<blockquote><p>span {<br />
width: 100px;<br />
display: block<br />
}</p></blockquote>
<p>Making the span a block element will cause the width command working in every browser. On the other hand, it also makes the span being on a new line. To avoid this you can assign float: left to the span. </p>
<h3>Unstyled Version of Web Page</h3>
<p>In case an unstyled version of the page appears for a moment, when you load your website in IE, you can see such phenomenon as the Flash Of Unstyled Content (or FOUC). </p>
<p>In case you use the @import directive (e.g. &lt;style type=&#8221;text/css&#8221;&gt;@import &#8220;styles.css&#8221;;&lt;/style&gt;) to call up your CSS file then it can happen on your website in IE. There is quite a simple solution to fix this problem. You just need to insert a link or a script element into the header. And it doesn’t really matter whether you insert one of them or both. It doesn&#8217;t matter which one you insert (or even if you insert both). Provide a print stylesheet, using the link element to reference it (as indicated in the example below), and forget about the FOUC phenomenon:</p>
<ul>
<li>&lt;script type=&#8221;text/javascript&#8221; src=&#8221;scripts.js&#8221;&gt;&lt;/script&gt;</li>
<li>&lt;link rel=&#8221;stylesheet&#8221; href=&#8221;styles.css&#8221; type=&#8221;text/css&#8221; media=&#8221;print&#8221; /&gt;</li>
</ul>
<h3>Fixed Width Web Page Is Not in Centre of Window</h3>
<p>The centrally aligning content through CSS doesn&#8217;t work in IE:</p>
<blockquote><p>#container {<br />
width: 770px;<br />
margin: 0 auto<br />
}</p></blockquote>
<p>Thus, you can’t get a fixed width website to centrally align in the window in Internet Explorer or on the contrary, it is perfect in IE but not in any other browser.  </p>
<p>With the second command margin: 0 auto positioning the containing element in the centre of the browser window, we should use such command in IE:</p>
<blockquote><p>body {<br />
text-align: center<br />
}<br />
#container {<br />
width: 770px;<br />
margin: 0 auto;<br />
text-align: left<br />
}</p></blockquote>
<p>You also should insert text-align: left into the container div to avoid the text aligning too. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdea.com/do-your-best-css-hacks-ie.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Avoid CSS Hacks for Internet Explorer</title>
		<link>http://www.webdea.com/avoid-css-hacks.html</link>
		<comments>http://www.webdea.com/avoid-css-hacks.html#comments</comments>
		<pubDate>Tue, 13 Apr 2010 12:57:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[cross browser]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[css hacks]]></category>
		<category><![CDATA[how to tips]]></category>
		<category><![CDATA[internet explorer]]></category>

		<guid isPermaLink="false">http://www.webdea.com/?p=67</guid>
		<description><![CDATA[<a href="http://www.webdea.com/avoid-css-hacks.html"><img src="http://farm5.static.flickr.com/4051/4514639826_2f3a7de9f1_o.jpg" alt="CSS Hacks to avoid" align="left"></a>With most web developers still confusing about the usage of CSS hacks and Internet Explorer some information about the code testing and implementing good CSS hacks is still necessary.The following examples from the code make your CSS will work perfectly across all browsers.]]></description>
			<content:encoded><![CDATA[<p>With most web developers still confusing about the usage of CSS hacks and Internet Explorer some information about the code testing and implementing good CSS hacks is still necessary. The following examples from the code help you to find out how to clean up some CSS hacks for IE.<img src="http://farm5.static.flickr.com/4019/4514640376_2f0bea35ae_o.jpg" alt="CSS Hacks to remember" align="right"> </p>
<p>According to Tantek Çelik, the CSS hacks guru, there are several rules that explain how CSS hacks should be designed for such a troublesome browser as Internet Explorer. First of all, they should be valid. The second rule is that CSS hacks should target only old/abandoned/frozen browsers/user-agents. And the last thing to know is that they should be ugly. Tantek also explains that using a feature of CSS is not a hack. </p>
<p>The star html bug and the underscore hack are the most often IE-specific hacks in the code. Let’s find out how they can be replaced with the same CSS feature-based solution. Here are some code samples of them both. </p>
<h3>The Star HTML Bug</h3>
<p>Targeting current as well as future UAs, this hack violates Tantek’s second rule. It can be found as a stand alone rule as well as an override to some other rule in a style sheet:</p>
<blockquote><p>* html div#header {margin-top:-3px;}</p>
<p> .promo h3 {min-height:21px;}<br />
 * html .promo h3 {height:21px;}</p></blockquote>
<h3>The Underscore Hack</h3>
<p>This hack violates Tantek’s first two rules: first of all, it is invalid according to the W3C CSS Validator. It also targets current UAs:</p>
<blockquote><p>ol {padding:0; _padding-left:5px;}</p></blockquote>
<h3>Child Selectors to Fix the Problem</h3>
<p><img src="http://farm3.static.flickr.com/2776/4514640928_7247d0f7c4_o.jpg" alt="CSS Hacks for all" align="right"></p>
<p>With the child selector we can replace both the underscore hack as well as the star html bug. The first step is to write the rules with selectors that can be applied to all browsers:   </p>
<blockquote><p>div#header {}</p>
<p> .promo h3 {}</p>
<p> ol {padding:0;}</p></blockquote>
<p>Then, add the IE-specific declarations to these rules: </p>
<blockquote><p>div#header {margin-top:-3px;}</p>
<p> .promo h3 {height:21px;}</p>
<p> ol {padding:0 0 0 5px;}</p></blockquote>
<p>Add the second rule after each rule. The selector of the second rule must use a child selector. Now correct any IE-specific declarations in this new rule:</p>
<blockquote><p>div#header {margin-top:-3px;}<br />
 body > div#header {margin-top:0;}</p>
<p> .promo h3 {height:21px;}<br />
 .promo > h3 {height:auto; min-height:21px;}</p>
<p> ol {padding:0 0 0 5px;}<br />
 html > body ol {padding:0;}</p></blockquote>
<p>Thus, you have no more hacks. Operating in strict mode and trying to bar some complicated stuff in your code, your CSS will work perfectly across all browsers.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdea.com/avoid-css-hacks.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>5 Things to Know about CSS Hacks for Internet Explorer</title>
		<link>http://www.webdea.com/5-things-css-hacks-ie.html</link>
		<comments>http://www.webdea.com/5-things-css-hacks-ie.html#comments</comments>
		<pubDate>Fri, 09 Apr 2010 15:59:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[cross browser]]></category>
		<category><![CDATA[css hacks]]></category>
		<category><![CDATA[internet explorer]]></category>

		<guid isPermaLink="false">http://www.webdea.com/?p=61</guid>
		<description><![CDATA[<a href="http://www.webdea.com/5-things-css-hacks-ie.html"><img src="http://farm3.static.flickr.com/2797/4505673332_6f90a31f44_o.jpg" alt="browser CSS Hacks for IE" align="left"></a>CSS hacks are necessary evil that helps us to do our best with default CSS rules. They remain to be essential to make our websites look great across various browsers and especially for Internet Explorer. The good thing is that there are only few of them that really matter. So, to create a list of the most necessary CSS hacks is quite possible.
]]></description>
			<content:encoded><![CDATA[<p>CSS hacks remain to be essential to make our websites look great across various browsers and especially for Internet Explorer. The good thing is that there are only few of them that really matter. So, to create a list of the most necessary CSS hacks is quite possible.</p>
<h3>1. Conditional Comments</h3>
<p>Conditional comments help to fix a lot of problems with IE and they are not supported by any other browser. That’s why they are safe to use. Here is the usual type:</p>
<p>&lt;blockquote&gt;&lt;!&#8211;[if IE]&gt;<br />
do something<br />
&lt;![endif]&#8211;&gt;&lt;/blockquote&gt;</p>
<p>Working on a layout you can place all hacks for some selector just after default rule. Thus, you can change everything quickly without searching for the corresponding hack in other places.<img src="http://farm5.static.flickr.com/4016/4505674290_1865f2af1e_o.jpg" alt="things to know about CSS Hacks" align="right" /></p>
<p>After finishing layout you can go through all of the CSS files again, in order to optimize everything and remove all hacks into separate file. Thus, the main CSS is neat.</p>
<p>This separate file can be called in the header section of a file within conditional comments:</p>
<p>&lt;blockquote&gt;&lt;!&#8211;[if IE]&gt;<br />
do something<br />
&lt;![endif]&#8211;&gt;&lt;/blockquote&gt;</p>
<p>The main CSS file has the hacked selectors starting with the * html. All browsers ignore this selector, because there are no elements above html in a document tree while IE allows us to use this flaw when applying IE specific hacks.</p>
<p>The following information should be taking into consideration as if we are dealing with separate file with IE hacks only.</p>
<h3>2. IE 5.x broken box model</h3>
<p>Broken layouts in IE5.x can appear because of a combination of width and padding on the same element. To fix this problem we should use backslash box model hack:</p>
<blockquote><p>someselector {<br />
padding: 10px;<br />
width: 200px;<br />
w\idth: 180px;<br />
height: 200px;<br />
heigh\t: 180px;<br />
}</p></blockquote>
<p>Thus, we have an element that is 200px wide, 200px high and with 10px paddings in both IE 5.x and IE 6.</p>
<h3>3. Everything floated?</h3>
<p>The other important rule to follow is to use extra rule <code>display: inline;</code> for everything floated and with a margin larger than zero.</p>
<h3>4. Prevent overflow problems</h3>
<p><img src="http://farm5.static.flickr.com/4069/4505674734_88aab1514b_o.jpg" alt="CSS Hacks for IE" align="right" /></p>
<p>The simple solution to prevent enlarging parent element horizontally that is caused by usage of italic font style in any IE version is the following:</p>
<blockquote><p>someselector {<br />
overflow-x: hidden;<br />
}</p></blockquote>
<h3>5. Font size in tables</h3>
<p>IE 5.x ignore font rules in tables in html or body element. Here is the simple solution of this problem:</p>
<blockquote><p>body {<br />
font-size: 62.5%;<br />
}<br />
table {<br />
font-size: 1em;<br />
}</p></blockquote>
<p>You also are free to change rules according to a particular table’s needs.</p>
<p>CSS hacks are necessary evil that helps us to do our best with default CSS rules. The other thing is to make it easily accessible in our memory… or just invent them.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdea.com/5-things-css-hacks-ie.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cross Browser Detection Using CSS Hacks Explained</title>
		<link>http://www.webdea.com/cross-browser-css-hacks.html</link>
		<comments>http://www.webdea.com/cross-browser-css-hacks.html#comments</comments>
		<pubDate>Tue, 06 Apr 2010 12:57:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[cross browser]]></category>
		<category><![CDATA[css hacks]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[internet explorer]]></category>
		<category><![CDATA[opera]]></category>

		<guid isPermaLink="false">http://www.webdea.com/?p=45</guid>
		<description><![CDATA[<a href="http://www.webdea.com/cross-browser-css-hacks.html"><img src="http://farm3.static.flickr.com/2684/4496316573_5d347e39a9_o.jpg" alt="browser CSS Hacks to know" align="left"></a>All we know that CSS more attractive for web developers. However, there are still some problems that keep the developers from using it. The problem is in interpreting CSS commands in different ways that is a usual thing for browsers. Learn more about CSS and different browser interpretations stop to be a mystery for you. ]]></description>
			<content:encoded><![CDATA[<p>Quicker download time, easier site management as well as improved accessibility make CSS more attractive for web developers. However, there are still some problems that keep the developers from using CSS to control the layouts of the site. Let’s try to solve some of them. </p>
<h3>Mad with CSS?</h3>
<p><img src="http://farm5.static.flickr.com/4006/4496317117_3fb0f864ec_o.jpg" alt="cross browser CSS Hacks" align="right"></p>
<p>Today there are no problems concerning a lack of browser support for CSS because &#8216;version 5&#8242; browsers began to offer a full implementation of CSS. The problem is in interpreting CSS commands in different ways that is a usual thing for browsers. With such tricks appeared, many web developers prefer to switch back to pixel-perfect table layouts. But wait! Just learn more about CSS and different browser interpretations stop to be a mystery for you. What is more, there are not so many of them and using various hacks makes you life easier.</p>
<h3>How CSS Hacks Turn ‘Mad With’ Into ‘Mad About’</h3>
<p>CSS hacks work by sending one CSS rule to the browser or several browsers for your choice and the second CSS rule that overrides the first command to the other browsers. In case you have two CSS rules within the same selectors, the second CSS rule will almost always take priority. </p>
<p>For example, you need the space between a page&#8217;s header area and content to 25px in Internet Explorer. It may be great for Internet Explorer, but for Opera, Safari and Firefox this gap is not appropriate and you want to make a 10px gap instead. Here are two CSS rules that help you to perform the best in all browsers:</p>
<blockquote><p>#header {margin-bottom:25px}<br />
#header {margin-bottom:10px}</p></blockquote>
<p>In this case the first command is for IE while the second is for all other browsers. However, there is no good news by now, because all browsers can understand both CSS rules. In other words, they all use the second rule, because it comes after the first. </p>
<p>And now a CSS hack should be inserted to hide the second CSS rule from IE. In such a way, IE won’t know that the rule exists and just will use the first CSS rule. Seems to be quite simple? Let’s find out the details. </p>
<h3>Browser Detection for Internet Explorer</h3>
<p>If you need to send different CSS rules to IE, you can use the child selector command that IE can’t understand. This command consists of two elements one of which is the child of another. Thus, html>body refers to the child <u>body</u> with parent <u>html</u>. </p>
<p>Here is the example of the header margin that illustrates our CSS command:</p>
<blockquote><p>#header {margin-bottom:3em}<br />
<strong>html>body #header {margin-bottom:1em}</strong></p></blockquote>
<p>Because of the html>body CSS command, IE can’t understand the second CSS rule and ignore it using the first rule. All other browsers will use the second rule. </p>
<h3>Browser Detection for Internet Explorer 5</h3>
<p><img src="http://farm5.static.flickr.com/4026/4496954800_8d1edd4b4d_o.jpg" alt="CSS Hacks and browser detection" align="right"></p>
<p>IE5 requires different CSS rules because of its misinterpretation of the box model. For example, padding and borders are not included when we specify the width of some element in CSS. IE5 incorporates them both into the width value and, as a result, elements widths are smaller in this browser. </p>
<p>Here is the CSS rule that results in a width of 10em for all browsers except IE5 where the width will be 5em. IE5 just incorporate two sets of padding and border, on both the left and right, when calculating the width with the following rule:</p>
<blockquote><p>#header {padding: 2em; border: 0.5em; width: 10em}</p></blockquote>
<p>You can solve this problem using box model hack invented by famous Tantek Çelik. For browser detection and sending different CSS rule to IE5 you should use the following: </p>
<blockquote><p>#header {padding: 2em; border: 0.5em; width: 15em;<br />
<strong>voice-family: &#8220;\&#8221;}\&#8221;"; voice-family:inherit; width: 10em}</strong></p></blockquote>
<p>Don’t ask how it works. Just use it. Need details? IE5 will use the first width value of 15em. As we have mentioned above, 5em of it will be taken up by two sets of padding and border (for the left and for the right). That will cause the width of 10em in IE5.</p>
<p>The 15em value will be overridden by the second value of 10em by all other browsers except IE5, because it can’t understand the CSS command that comes immediately after all those squiggles. </p>
<p>However, nothing is perfect and the box model hack is not an exception to this rule. For example, it can ‘kill’ the next CSS rule in IE5. But there are a lot of other box model hacks that can help you. </p>
<h3>Browser Detection for Internet Explorer on the Mac</h3>
<p>IE on the Mac is also quite capricious with CSS. Thus, many developers code sites in such a way that they work in IE/Mac. Of course, it may not offer the same level of design or functionality that is offered with other platform or browser, but still it is a good solution. </p>
<p>To hide a command with IE/Mac hack is quite simple. Just wrap a set of stars and dashes around CSS rules: </p>
<blockquote><p><strong>/* Hide from IE-Mac \*/</strong><br />
#header {margin-bottom:3em}<br />
#footer {margin-top:1.5em}<br />
/* End hide */</p></blockquote>
<p>These commands will be ignored by IE/Mac. Such CSS hack is rather useful if some area of the site doesn’t work properly in IE/Mac. If it is something unimportant you can hide it from IE/Mac just like this:</p>
<blockquote><p>#noiemac {display: none}</p>
<p>/* Hide from IE-Mac \*/<br />
#noiemac {display: block}<br />
/* End hide */</p></blockquote>
<p>The first CSS rule hides the entire section assigned the noiemac id. The second CSS rule displays this section (can’t b seen by IE/Mac)</p>
<h3>Browser Detection for Netscape 4</h3>
<p>Netscape 4 has limited support for CSS. Thus, making a CSS layout for this browser can be quite a difficult task. Today most web developers prefer to hide the CSS file from this browser. You can do this with the <strong>@import</strong> directive to call up the CSS document:</p>
<blockquote><p>@import url(cssfile.css);</p></blockquote>
<p>Thus, Netscape 4 can&#8217;t understand this @import directive and will display a non-styled version of the site.</p>
<h3>Make Sure to Check Your Site in the Different Browsers</h3>
<p>This is a must. Just download the major browsers such as Firefox, IE5, IE6, Opera and Safari and check your site on PC and Mac. There are quite a lot of sites offering you their services in case you don’t have access to a Mac, so search for them.</p>
<p>The other main rule in case certain page elements appear differently in different browsers is stop worrying… and start making some trial-and-error changes playing with CSS rules. Anyway, you can fix it up with CSS hacks that always ready to help you make your site look great. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdea.com/cross-browser-css-hacks.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS Hacks for… Everyone</title>
		<link>http://www.webdea.com/css-hacks.html</link>
		<comments>http://www.webdea.com/css-hacks.html#comments</comments>
		<pubDate>Thu, 28 Jan 2010 16:10:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[css hacks]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[how to use]]></category>
		<category><![CDATA[internet explorer]]></category>
		<category><![CDATA[opera]]></category>

		<guid isPermaLink="false">http://www.webdea.com/?p=27</guid>
		<description><![CDATA[<a href="http://www.webdea.com/css-hacks.html"><img src="http://farm5.static.flickr.com/4013/4306190749_fd0534c29b_o.jpg" alt="CSS Hacks to know" align="left"></a>Here you can find all the necessary data concerning CSS hacks for Safari, Internet Explorer 7, Opera, etc., that sometimes really make problems. It is not so easy to remember them at once, so I write down several of them and offer you to use my “notes”. Hope that make your life easier… ]]></description>
			<content:encoded><![CDATA[<p>Today I want to talk about CSS hacks. <img src="http://farm5.static.flickr.com/4043/4306191275_970420d6da_o.jpg" alt="CSS Hacks to remember" align="right">There is no reason to explain why, because even with the release of Internet Explorer 8 we still need to use them. It seems that we will use them forever… especially with those clients who still prefer that damned IE6. </p>
<p>To remember all the CSS hacks seem to be impossible so I decide to create such a list that can be of use for you too. </p>
<p> So, let’s start. </p>
<h3>CSS for Internet Explorer:</h3>
<blockquote><p>/* for all versions */<br />
.class { *color: #8abdce; }</p></blockquote>
<p></br></p>
<blockquote><p>/* for Internet Explorer 6 */<br />
.class { _color: #8abdce; }<br />
or<br />
.class { -color: #8abdce; }</p></blockquote>
<p></br></p>
<blockquote><p>/* /* for Internet Explorer 7 */<br />
*+html .class { color: #8abdce; }</p></blockquote>
<p></br></p>
<blockquote><p>/* for Internet Explorer 7 */<br />
*:first-child+html .class { color: #8abdce; }</p></blockquote>
<p></br></p>
<blockquote><p>/* for Internet Explorer 7 */<br />
html>body .class {<br />
*background: #F00;<br />
}</p></blockquote>
<p></br></p>
<blockquote><p>/* for Internet Explorer 8 */<br />
.ie8only { color /*\**/: #fff\9 }</p></blockquote>
<p></br></p>
<h3>CSS Hacks for Opera:</h3>
<p><img src="http://farm5.static.flickr.com/4031/4306193131_20ce258a2b_o.jpg" alt="CSS Hacks for all" align="right"></p>
<blockquote><p>@media all and (-webkit-min-device-pixel-ratio:10000),<br />
not all and (-webkit-min-device-pixel-ratio:0) {<br />
.style {background: #F00;}<br />
}</p></blockquote>
<p></br></p>
<blockquote><p>html:first-child .class { color: #8abdce; }</p></blockquote>
<p></br></p>
<blockquote><p>*|html[xmlns*=""] .style {<br />
background: #F00;<br />
}</p></blockquote>
<p></br></p>
<h3>CSS Hacks for Firefox:</h3>
<blockquote><p>html:root .class { color: #8abdce; } /* this also works for Safari */</p></blockquote>
<p></br></p>
<blockquote><p>.class, x:-moz-any-link { color: #368EF1; }</p></blockquote>
<p></br></p>
<blockquote><p>@-moz-document url-prefix() {<br />
.style {color: #F00;}<br />
}</p></blockquote>
<p></br></p>
<blockquote><p>/* for FireFox 1-2 */<br />
@-moz-document url-prefix() {<br />
color: #F00;<br />
}</p></blockquote>
<p></br></p>
<h3>CSS Hacks for Safari:</h3>
<blockquote><p>html[xmlns*=""] body:last-child .class { color: #368EF1; }</p></blockquote>
<p></br></p>
<h3>CSS Hacks for Safari and Google Chrome:</h3>
<blockquote><p>body:last-child:not(:root:root) .style {<br />
color: #F00;<br />
}</p></blockquote>
<p></br></p>
<blockquote><p>body:nth-of-type(1) p {<br />
color: #333333;<br />
}</p></blockquote>
<p></br></p>
<p>Of course, hacks are evil, but sometimes they help to solve the problems. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.webdea.com/css-hacks.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

