<?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>Pro-Tek Blog &#187; css</title>
	<atom:link href="http://www.pro-tekconsulting.com/blog/tag/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pro-tekconsulting.com/blog</link>
	<description>For UI developers / UI designers and UI trends</description>
	<lastBuildDate>Thu, 05 Sep 2019 03:59:47 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.0.34</generator>
	<item>
		<title>HOW TO DISABLE RESIZABLE PROPERTY OF TEXT AREA?</title>
		<link>http://www.pro-tekconsulting.com/blog/how-to-disable-resizable-property-of-text-area/</link>
		<comments>http://www.pro-tekconsulting.com/blog/how-to-disable-resizable-property-of-text-area/#comments</comments>
		<pubDate>Tue, 01 Mar 2016 03:14:19 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[css]]></category>

		<guid isPermaLink="false">http://www.pro-tekconsulting.com/blog/?p=1340</guid>
		<description><![CDATA[<p>How to disable resizable property of text area? Add CSS property resize as none for text area element in the following way textarea{ resize: none; } &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;</p>
<p>The post <a rel="nofollow" href="http://www.pro-tekconsulting.com/blog/how-to-disable-resizable-property-of-text-area/">HOW TO DISABLE RESIZABLE PROPERTY OF TEXT AREA?</a> appeared first on <a rel="nofollow" href="http://www.pro-tekconsulting.com/blog">Pro-Tek Blog</a>.</p>
]]></description>
				<content:encoded><![CDATA[<h4>How to disable resizable property of text area?</h4>
<p>Add CSS property resize as none for text area element in the following way</p>
<p>textarea{<br />
resize: none;<br />
}<br />
&nbsp;<br />
&nbsp;<br />
&nbsp;<br />
&nbsp;<br />
&nbsp;<br />
&nbsp;<br />
&nbsp;<br />
&nbsp;</p>
<p>The post <a rel="nofollow" href="http://www.pro-tekconsulting.com/blog/how-to-disable-resizable-property-of-text-area/">HOW TO DISABLE RESIZABLE PROPERTY OF TEXT AREA?</a> appeared first on <a rel="nofollow" href="http://www.pro-tekconsulting.com/blog">Pro-Tek Blog</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pro-tekconsulting.com/blog/how-to-disable-resizable-property-of-text-area/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LESS VS SASS</title>
		<link>http://www.pro-tekconsulting.com/blog/less-vs-sass/</link>
		<comments>http://www.pro-tekconsulting.com/blog/less-vs-sass/#comments</comments>
		<pubDate>Tue, 02 Feb 2016 04:30:49 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[LESS VS SASS]]></category>
		<category><![CDATA[css]]></category>

		<guid isPermaLink="false">http://www.pro-tekconsulting.com/blog/?p=1295</guid>
		<description><![CDATA[<p>LESS VS SASS Technology has gained fast pace with new advanced tools and languages enabling developers build rich internet-based applications. Wielding the true power of a CSS preprocessor is an adventure. There are endless languages, syntaxes, and features which are ready to use. Many get confused on which CSS preprocessor language to go with. In [&#8230;]</p>
<p>The post <a rel="nofollow" href="http://www.pro-tekconsulting.com/blog/less-vs-sass/">LESS VS SASS</a> appeared first on <a rel="nofollow" href="http://www.pro-tekconsulting.com/blog">Pro-Tek Blog</a>.</p>
]]></description>
				<content:encoded><![CDATA[<h4>LESS VS SASS</h4>
<p>Technology has gained fast pace with new advanced tools and languages enabling developers build rich internet-based applications. Wielding the true power of a CSS preprocessor is an adventure. There are endless languages, syntaxes, and features which are ready to use. Many get confused on which CSS preprocessor language to go with. In this article, we will be covering the various features and benefits of using different preprocessors – Sass and Less.</p>
<p><b>An Overview of Less</b></p>
<p>Less is a dynamic style sheet language that can be compiled into cascading style sheets (CSS) and run on the client or server-side. Less extends CSS with dynamic behavior such as variables, mixins, operations, and functions. It can be run on both client and server-side, with Node.js.</p>
<p>In simple terms, Less allows the user to write CSS in a smarter way by combining functions, mixins, operations, and many more. This means, the user can write more terse style information and can reuse things like colors and styles more easily. Less is open source. The first version of Less was written in Ruby; however, in the later version, use of Ruby has been depreciated and replaced by Javascript.</p>
<p><b>An overview of Sass</b></p>
<p>SASS is a scripting language that is interpreted into cascading style sheets (CSS). Sass is a pre-processing language and has two syntaxes, one is “indented syntax” and the other one is “SCSS”. The indented syntax uses the syntax similar to Haml. It uses indentation to separate the code blocks and newline characters to separate rules. Whereas, SCSS syntax uses block formatting same as CSS. <a style="text-decoration: none;" title="cloud hosting info" href="http://www.cloud-or-dedicated.xyz">cloud hosting info</a> . It uses braces to denote code blocks and semicolons to separate rules. Both the syntaxes are traditionally given the extensions .sass and .scss.</p>
<p><b>Which one is better Sass or Less?</b><br />
<strong>Installation </strong><br />
<strong>Installing Sass:</strong> Sass needs ruby installed to work. This comes pre-installed in MAC but, in windows, you need to install before you start playing with Sass.</p>
<p>To install Sass on the command line, run:<br />
<strong>$ gem install sass</strong><br />
or with npm:<br />
<strong>$ npm install sass</strong></p>
<p><strong>Installing Less: </strong>Less is inbuilt on Javascript. So the installation is as easy as linking Javascript library to your HTML document.</p>
<p>Alternatively, an easy way to install Less on the server is with npm;<br />
<strong>$ npm install -g less</strong><br />
<strong>Features: </strong><br />
Here are the main features of Sass and Less.</p>
<p><img class="aligncenter wp-image-1296 size-full" src="http://www.pro-tekconsulting.com/blog/wp-content/uploads/2016/02/uistreet.com-magazine-february.png" alt="features of Sass and Less" width="666" height="259" /></p>
<p>As we can see from features list above, the difference between Sass and Less is not huge. Both offer a good range of options to help you to write smart and efficient code.</p>
<p>The major differences between Less and Sass are variables, Inheritance, Looping logic, and compass.</p>
<p><strong>Mixins, Inheritance &amp; Extend:</strong></p>
<p>Mixins in Sass and Less are defined bit differently. In Sass, we use @<strong>mixin</strong> directive whereas in Less we define it as a <strong>class selector</strong>.</p>
<p>Mixins in Sass and Less are used to include properties from one ruleset to another. In Sass, this method is taken further with selector inheritance. The concept is identical, but instead of copying the whole property, Sass will extend or group selectors that have identical properties and values using the @extend directive.</p>
<p><img class="aligncenter size-full wp-image-1297" src="http://www.pro-tekconsulting.com/blog/wp-content/uploads/2016/02/uistreet.com-magazine-february-2016.html-51df8a243658c0bec789b1c6031f445c.png" alt="Mixins, Inheritance &amp; Extend" width="664" height="239" /><br />
<strong>Compass</strong></p>
<p><strong>Sass:</strong> has a compass on its side which contains the plethora of Mixins to write CSS3 syntax in less time. Compass extends way beyond just CSS3 Mixins. It also has added other features like Helpers, Layout, Typography, Reset, and Sprite images.</p>
<p><strong>Less</strong>: Less also has several extensions, unlike Compass (which has everything in one place), they are separated. Each and every extension is built by a different group of developers. This will not cause problems for seasoned users, but it could be burdensome for those starting out.</p>
<p>These are the major differences between Sass and Less.</p>
<p><strong>Final Thought:</strong></p>
<p>These two libraries share a lot of basics. Both of tools are fantastic for the designers who code, and they can also help developers efficiently and quickly. Depending on the information and subtlety to your projects, choose the preprocessor that seems to be best for your project.</p>
<p>The post <a rel="nofollow" href="http://www.pro-tekconsulting.com/blog/less-vs-sass/">LESS VS SASS</a> appeared first on <a rel="nofollow" href="http://www.pro-tekconsulting.com/blog">Pro-Tek Blog</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pro-tekconsulting.com/blog/less-vs-sass/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WHAT IS THE BEST WAY TO CONDITIONALLY APPLY A CLASS?</title>
		<link>http://www.pro-tekconsulting.com/blog/what-is-the-best-way-to-conditionally-apply-a-class/</link>
		<comments>http://www.pro-tekconsulting.com/blog/what-is-the-best-way-to-conditionally-apply-a-class/#comments</comments>
		<pubDate>Tue, 02 Feb 2016 03:33:12 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[css]]></category>

		<guid isPermaLink="false">http://www.pro-tekconsulting.com/blog/?p=1289</guid>
		<description><![CDATA[<p>What is the best way to conditionally apply a class? The best way is to apply a ternary operator to the view element. For ex. ng:class=&#8221;( = = = ) ? : &#60;else,apply false condition&#62;&#8221;. In the above syntax, we check for the condition if the current value id equal to the required value. If it [&#8230;]</p>
<p>The post <a rel="nofollow" href="http://www.pro-tekconsulting.com/blog/what-is-the-best-way-to-conditionally-apply-a-class/">WHAT IS THE BEST WAY TO CONDITIONALLY APPLY A CLASS?</a> appeared first on <a rel="nofollow" href="http://www.pro-tekconsulting.com/blog">Pro-Tek Blog</a>.</p>
]]></description>
				<content:encoded><![CDATA[<h4>What is the best way to conditionally apply a class?</h4>
<p>The best way is to apply a ternary operator to the view element.<br />
For ex. ng:class=&#8221;( = = = ) ? : &lt;else,apply false condition&gt;&#8221;.<br />
In the above syntax, we check for the condition if the current value id equal to the required value. If it is true, then the first assigned class is applied. If it is false, then the second assigned class is applied<br />
&nbsp;<br />
&nbsp;<br />
&nbsp;<br />
&nbsp;<br />
&nbsp;<br />
&nbsp;</p>
<p>The post <a rel="nofollow" href="http://www.pro-tekconsulting.com/blog/what-is-the-best-way-to-conditionally-apply-a-class/">WHAT IS THE BEST WAY TO CONDITIONALLY APPLY A CLASS?</a> appeared first on <a rel="nofollow" href="http://www.pro-tekconsulting.com/blog">Pro-Tek Blog</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pro-tekconsulting.com/blog/what-is-the-best-way-to-conditionally-apply-a-class/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HOW CAN I MAKE BOOTSTRAP COLUMNS ALL THE SAME HEIGHT?</title>
		<link>http://www.pro-tekconsulting.com/blog/how-can-i-make-bootstrap-columns-all-the-same-height/</link>
		<comments>http://www.pro-tekconsulting.com/blog/how-can-i-make-bootstrap-columns-all-the-same-height/#comments</comments>
		<pubDate>Tue, 02 Feb 2016 03:05:11 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Bootstrap]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://www.pro-tekconsulting.com/blog/?p=1278</guid>
		<description><![CDATA[<p>How can I make Bootstrap columns all the same height? By using the custom class row-eq-height in Bootstrap we can assign the same height as of the tallest column to all the columns. &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;</p>
<p>The post <a rel="nofollow" href="http://www.pro-tekconsulting.com/blog/how-can-i-make-bootstrap-columns-all-the-same-height/">HOW CAN I MAKE BOOTSTRAP COLUMNS ALL THE SAME HEIGHT?</a> appeared first on <a rel="nofollow" href="http://www.pro-tekconsulting.com/blog">Pro-Tek Blog</a>.</p>
]]></description>
				<content:encoded><![CDATA[<h4>How can I make Bootstrap columns all the same height?</h4>
<p>By using the custom class row-eq-height in Bootstrap we can assign the same height as of the tallest column to all the columns.<br />
&nbsp;<br />
&nbsp;<br />
&nbsp;<br />
&nbsp;<br />
&nbsp;<br />
&nbsp;<br />
&nbsp;<br />
&nbsp;</p>
<p>The post <a rel="nofollow" href="http://www.pro-tekconsulting.com/blog/how-can-i-make-bootstrap-columns-all-the-same-height/">HOW CAN I MAKE BOOTSTRAP COLUMNS ALL THE SAME HEIGHT?</a> appeared first on <a rel="nofollow" href="http://www.pro-tekconsulting.com/blog">Pro-Tek Blog</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pro-tekconsulting.com/blog/how-can-i-make-bootstrap-columns-all-the-same-height/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HOW TO WRITE CSS MEDIA QUERIES IN IE8?</title>
		<link>http://www.pro-tekconsulting.com/blog/how-to-write-css-media-queries-in-ie8/</link>
		<comments>http://www.pro-tekconsulting.com/blog/how-to-write-css-media-queries-in-ie8/#comments</comments>
		<pubDate>Tue, 03 Nov 2015 03:29:29 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[css]]></category>

		<guid isPermaLink="false">http://www.pro-tekconsulting.com/blog/?p=1160</guid>
		<description><![CDATA[<p>How to write CSS media queries in IE8? Internet Explorer versions before IE9 do not support media queries. But we use IE&#8217;s conditional commenting to achieve this. Using this, you can specify an IE 8/7/6 specific style sheet which over writes the previous rules. For example: &#60;link rel=&#8221;stylesheet&#8221; type=&#8221;text/css&#8221; media=&#8221;all&#8221; href=&#8221;style.css&#8221;/&#62; &#60;!&#8211;[if lt IE 9]&#62; [&#8230;]</p>
<p>The post <a rel="nofollow" href="http://www.pro-tekconsulting.com/blog/how-to-write-css-media-queries-in-ie8/">HOW TO WRITE CSS MEDIA QUERIES IN IE8?</a> appeared first on <a rel="nofollow" href="http://www.pro-tekconsulting.com/blog">Pro-Tek Blog</a>.</p>
]]></description>
				<content:encoded><![CDATA[<h4>How to write CSS media queries in IE8?</h4>
<p>Internet Explorer versions before IE9 do not support media queries. But we use IE&#8217;s conditional commenting to achieve this. Using this, you can specify an IE 8/7/6 specific style sheet which over writes the previous rules.</p>
<p>For example:<br />
<!-- [if lt IE 9]>

	
<link rel="stylesheet" type="text/css" media="all" href="style-ie.css"/>
<![endif]--></p>
<p>&lt;link rel=&#8221;stylesheet&#8221; type=&#8221;text/css&#8221; media=&#8221;all&#8221; href=&#8221;style.css&#8221;/&gt;<br />
&lt;!&#8211;[if lt IE 9]&gt; &lt;link rel=&#8221;stylesheet&#8221; type=&#8221;text/css&#8221; media=&#8221;all&#8221; href=&#8221;style-ie.css&#8221;/&gt;<br />
&lt;![endif]&#8211;&gt;</p>
<p>This won&#8217;t allow for a responsive design in IE8, but could be a simpler and more accessible solution than using a JS plugin.</p>
<p>The post <a rel="nofollow" href="http://www.pro-tekconsulting.com/blog/how-to-write-css-media-queries-in-ie8/">HOW TO WRITE CSS MEDIA QUERIES IN IE8?</a> appeared first on <a rel="nofollow" href="http://www.pro-tekconsulting.com/blog">Pro-Tek Blog</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pro-tekconsulting.com/blog/how-to-write-css-media-queries-in-ie8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>USING CSS, HOW TO MAKE THE BACKGROUND OF AN ELEMENT TRANSPARENT/SEMI-TRANSPARENT BUT HAVE THE CONTENT (TEXT &amp; IMAGES) OF THE ELEMENT OPAQUE?</title>
		<link>http://www.pro-tekconsulting.com/blog/using-css-how-to-make-the-background-of-an-element-transparentsemi-transparent-but-have-the-content-text-images-of-the-element-opaque/</link>
		<comments>http://www.pro-tekconsulting.com/blog/using-css-how-to-make-the-background-of-an-element-transparentsemi-transparent-but-have-the-content-text-images-of-the-element-opaque/#comments</comments>
		<pubDate>Tue, 03 Nov 2015 03:03:16 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[css]]></category>

		<guid isPermaLink="false">http://www.pro-tekconsulting.com/blog/?p=1147</guid>
		<description><![CDATA[<p>Using CSS ,how to make the background of an element transparent/semi-transparent but have the content (text &#38; images) of the element opaque? Give opacity as 0.5 in your background color rgba like background-color:rgba(255,0,0,0.5); based on your color in your style property of the element tag. Eg. &#60;p style=&#8221;background-color: rgba(255,0,0,0.5);&#8221;&#62;&#60;/p&#62;</p>
<p>The post <a rel="nofollow" href="http://www.pro-tekconsulting.com/blog/using-css-how-to-make-the-background-of-an-element-transparentsemi-transparent-but-have-the-content-text-images-of-the-element-opaque/">USING CSS, HOW TO MAKE THE BACKGROUND OF AN ELEMENT TRANSPARENT/SEMI-TRANSPARENT BUT HAVE THE CONTENT (TEXT &#038; IMAGES) OF THE ELEMENT OPAQUE?</a> appeared first on <a rel="nofollow" href="http://www.pro-tekconsulting.com/blog">Pro-Tek Blog</a>.</p>
]]></description>
				<content:encoded><![CDATA[<h4>Using CSS ,how to make the background of an element transparent/semi-transparent but have the content (text &amp; images) of the element opaque?</h4>
<p>Give opacity as 0.5 in your background color rgba like background-color:rgba(255,0,0,0.5); based on your color in your style property of the element tag.</p>
<p>Eg.<br />
&lt;p style=&#8221;background-color: rgba(255,0,0,0.5);&#8221;&gt;&lt;/p&gt;</p>
<p>The post <a rel="nofollow" href="http://www.pro-tekconsulting.com/blog/using-css-how-to-make-the-background-of-an-element-transparentsemi-transparent-but-have-the-content-text-images-of-the-element-opaque/">USING CSS, HOW TO MAKE THE BACKGROUND OF AN ELEMENT TRANSPARENT/SEMI-TRANSPARENT BUT HAVE THE CONTENT (TEXT &#038; IMAGES) OF THE ELEMENT OPAQUE?</a> appeared first on <a rel="nofollow" href="http://www.pro-tekconsulting.com/blog">Pro-Tek Blog</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pro-tekconsulting.com/blog/using-css-how-to-make-the-background-of-an-element-transparentsemi-transparent-but-have-the-content-text-images-of-the-element-opaque/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FLOATING ELEMENTS – HOW TO USE THEM, TROUBLES WITH THEM, AND HOW TO WORK AROUND THE TROUBLES?</title>
		<link>http://www.pro-tekconsulting.com/blog/floating-elements-how-to-use-them-troubles-with-them-and-how-to-work-around-the-troubles/</link>
		<comments>http://www.pro-tekconsulting.com/blog/floating-elements-how-to-use-them-troubles-with-them-and-how-to-work-around-the-troubles/#comments</comments>
		<pubDate>Thu, 08 Oct 2015 07:19:10 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[css]]></category>

		<guid isPermaLink="false">http://www.pro-tekconsulting.com/blog/?p=1098</guid>
		<description><![CDATA[<p>Floating elements – how to use them, troubles with them, and how to work around the troubles? Float property is used for wrapping text around images, Floats can be used to create entire web layouts and are also helpful for layout in smaller instances. The CSS float property allows a developer to incorporate table-like columns [&#8230;]</p>
<p>The post <a rel="nofollow" href="http://www.pro-tekconsulting.com/blog/floating-elements-how-to-use-them-troubles-with-them-and-how-to-work-around-the-troubles/">FLOATING ELEMENTS – HOW TO USE THEM, TROUBLES WITH THEM, AND HOW TO WORK AROUND THE TROUBLES?</a> appeared first on <a rel="nofollow" href="http://www.pro-tekconsulting.com/blog">Pro-Tek Blog</a>.</p>
]]></description>
				<content:encoded><![CDATA[<h4>Floating elements – how to use them, troubles with them, and how to work around the troubles?</h4>
<p>Float property is used for wrapping text around images, Floats can be used to create entire web layouts and are also helpful for layout in smaller instances.</p>
<p>The CSS float property allows a developer to incorporate table-like columns in an HTML layout without the use of tables</p>
<p>One of the most common symptoms of float-heavy layouts is the “collapsing parent”. One of the most common ways to fix a collapsed parent element is to place an element with the clear property after our floated element. This will cause the parent to begin reflowing after the floated element. In IE 7, the Bottom Margin Bug is shown when a floated parent has floated children inside it, bottom margin on those children is ignored by the parent.</p>
<p>Quick fix:using bottom padding on the parent instead.</p>
<p>The post <a rel="nofollow" href="http://www.pro-tekconsulting.com/blog/floating-elements-how-to-use-them-troubles-with-them-and-how-to-work-around-the-troubles/">FLOATING ELEMENTS – HOW TO USE THEM, TROUBLES WITH THEM, AND HOW TO WORK AROUND THE TROUBLES?</a> appeared first on <a rel="nofollow" href="http://www.pro-tekconsulting.com/blog">Pro-Tek Blog</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pro-tekconsulting.com/blog/floating-elements-how-to-use-them-troubles-with-them-and-how-to-work-around-the-troubles/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IN CSS, WHAT DOES IT MEAN BY FLOATING ELEMENTS – HOW TO USE THEM, TROUBLES WITH THEM, AND HOW TO WORK AROUND THE TROUBLES?</title>
		<link>http://www.pro-tekconsulting.com/blog/in-css-what-does-it-mean-by-floating-elements-how-to-use-them-troubles-with-them-and-how-to-work-around-the-troubles/</link>
		<comments>http://www.pro-tekconsulting.com/blog/in-css-what-does-it-mean-by-floating-elements-how-to-use-them-troubles-with-them-and-how-to-work-around-the-troubles/#comments</comments>
		<pubDate>Tue, 01 Sep 2015 07:28:52 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[css]]></category>

		<guid isPermaLink="false">http://www.pro-tekconsulting.com/blog/?p=1050</guid>
		<description><![CDATA[<p>In CSS, what does it mean by Floating elements – how to use them, troubles with them, and how to work around the troubles? Float property can be used to align an entire block element to the left or right such that other content flows around it. For instance, Float is used for wrapping text [&#8230;]</p>
<p>The post <a rel="nofollow" href="http://www.pro-tekconsulting.com/blog/in-css-what-does-it-mean-by-floating-elements-how-to-use-them-troubles-with-them-and-how-to-work-around-the-troubles/">IN CSS, WHAT DOES IT MEAN BY FLOATING ELEMENTS – HOW TO USE THEM, TROUBLES WITH THEM, AND HOW TO WORK AROUND THE TROUBLES?</a> appeared first on <a rel="nofollow" href="http://www.pro-tekconsulting.com/blog">Pro-Tek Blog</a>.</p>
]]></description>
				<content:encoded><![CDATA[<h4>In CSS, what does it mean by Floating elements – how to use them, troubles with them, and how to work around the troubles?</h4>
<p style="text-align: justify;">Float property can be used to align an entire block element to the left or right such that other content flows around it.</p>
<p style="text-align: justify;">For instance, Float is used for wrapping text around images or create table-like columns in an HTML layout without the use of tables.</p>
<p style="text-align: justify;">The most common problems of float-heavy layouts are:</p>
<p><strong>The “collapsing parent”. </strong></p>
<p style="text-align: justify;">(a) Fix 1: one of the most common ways to fix a collapsed parent element is to place an element with the clear property after the floated element. This will cause the parent to begin reflowing after the floated element.</p>
<p style="text-align: justify;">(b) Fix 2: There is a method that allows a parent element to clear itself of any floated elements inside it. It uses a CSS property called overflow with a value of hidden. Note that the overflow property was not intended for this type of use, and could cause some issues such as hiding content or causing unwanted scrollbars to appear.</p>
<p style="text-align: justify;">In IE 7, the Bottom Margin Bug is when if a floated parent has floated children inside it, bottom margin on those children is ignored by the parent. Quick fix:using bottom padding on the parent instead.</p>
<p>The post <a rel="nofollow" href="http://www.pro-tekconsulting.com/blog/in-css-what-does-it-mean-by-floating-elements-how-to-use-them-troubles-with-them-and-how-to-work-around-the-troubles/">IN CSS, WHAT DOES IT MEAN BY FLOATING ELEMENTS – HOW TO USE THEM, TROUBLES WITH THEM, AND HOW TO WORK AROUND THE TROUBLES?</a> appeared first on <a rel="nofollow" href="http://www.pro-tekconsulting.com/blog">Pro-Tek Blog</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pro-tekconsulting.com/blog/in-css-what-does-it-mean-by-floating-elements-how-to-use-them-troubles-with-them-and-how-to-work-around-the-troubles/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IS IT POSSIBLE TO APPLY CSS TO HALF OF A CHARACTER/WORD?</title>
		<link>http://www.pro-tekconsulting.com/blog/is-it-possible-to-apply-css-to-half-of-a-characterword/</link>
		<comments>http://www.pro-tekconsulting.com/blog/is-it-possible-to-apply-css-to-half-of-a-characterword/#comments</comments>
		<pubDate>Thu, 13 Aug 2015 05:10:02 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[css]]></category>

		<guid isPermaLink="false">http://www.pro-tekconsulting.com/blog/?p=980</guid>
		<description><![CDATA[<p>Is it possible to apply CSS to half of a character/word? Yes, by using :before and :after, we can achieve this. However, for dynamic data, we may have to use JQUERY. Only CSS (static text) &#60;h1&#62;&#60;/h1&#62; h1:before { content: &#8216;Exam'; color: #0000ff; font-size: 32px; } h1:after { content: &#8216;ple'; color: #ff0000; font-size: 32px; } Result:</p>
<p>The post <a rel="nofollow" href="http://www.pro-tekconsulting.com/blog/is-it-possible-to-apply-css-to-half-of-a-characterword/">IS IT POSSIBLE TO APPLY CSS TO HALF OF A CHARACTER/WORD?</a> appeared first on <a rel="nofollow" href="http://www.pro-tekconsulting.com/blog">Pro-Tek Blog</a>.</p>
]]></description>
				<content:encoded><![CDATA[<h4>Is it possible to apply CSS to half of a character/word?</h4>
<p style="text-align: justify;">Yes, by using :before and :after, we can achieve this. However, for dynamic data, we may have to use JQUERY.</p>
<p>Only CSS (static text)</p>
<p>&lt;h1&gt;&lt;/h1&gt;<br />
h1:before {<br />
content: &#8216;Exam';<br />
color: #0000ff;<br />
font-size: 32px;<br />
}<br />
h1:after {<br />
content: &#8216;ple';<br />
color: #ff0000;<br />
font-size: 32px;<br />
}</p>
<p><strong>Result:</strong><br />
<img class="alignleft size-full wp-image-981" src="http://www.pro-tekconsulting.com/blog/wp-content/uploads/2015/08/CSS-to-half-of-a-character.jpg" alt="CSS to half of a character" width="77" height="24" /></p>
<p>The post <a rel="nofollow" href="http://www.pro-tekconsulting.com/blog/is-it-possible-to-apply-css-to-half-of-a-characterword/">IS IT POSSIBLE TO APPLY CSS TO HALF OF A CHARACTER/WORD?</a> appeared first on <a rel="nofollow" href="http://www.pro-tekconsulting.com/blog">Pro-Tek Blog</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pro-tekconsulting.com/blog/is-it-possible-to-apply-css-to-half-of-a-characterword/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
