<?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/"
xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
xmlns:rawvoice="http://www.rawvoice.com/rawvoiceRssModule/"
> <channel><title>jappler.com &#187; CSS</title> <atom:link href="http://jappler.com/blog/archive/tag/css/feed" rel="self" type="application/rss+xml" /><link>http://jappler.com</link> <description>random and opinionated thoughts by Jennifer Zelazny</description> <lastBuildDate>Fri, 10 Feb 2012 15:25:47 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator><itunes:summary>random and opinionated thoughts by Jennifer Zelazny</itunes:summary> <itunes:author>jappler.com</itunes:author> <itunes:explicit>no</itunes:explicit> <itunes:image href="http://jappler.com/wp-content/plugins/powerpress/itunes_default.jpg" /> <itunes:subtitle>random and opinionated thoughts by Jennifer Zelazny</itunes:subtitle> <image><title>jappler.com &#187; CSS</title> <url>http://jappler.com/wp-content/plugins/powerpress/rss_default.jpg</url><link>http://jappler.com</link> </image> <item><title>HOWTO: Target Firefox for Specific CSS</title><link>http://jappler.com/blog/archive/2011/03/29/howto-target-firefox-for-specific-css</link> <comments>http://jappler.com/blog/archive/2011/03/29/howto-target-firefox-for-specific-css#comments</comments> <pubDate>Tue, 29 Mar 2011 19:26:01 +0000</pubDate> <dc:creator>Jen</dc:creator> <category><![CDATA[CSS]]></category> <category><![CDATA[HOWTOs]]></category> <category><![CDATA[Web Development]]></category> <category><![CDATA[browsers]]></category> <category><![CDATA[Conditional]]></category> <category><![CDATA[Firefox]]></category> <guid
isPermaLink="false">http://jappler.com/?p=2083</guid> <description><![CDATA[Generally &#8211; the best way to handle CSS is to keep it simple, clean, and without any hacks. From now and again there are some times when I need to write CSS specific to IE (using conditional comments). I recently came across a site where I needed to target Firefox because of a width issue. This is the first time in my many years I ran into this &#8211; and tried a number of hopeful... <a
href="http://jappler.com/blog/archive/2011/03/29/howto-target-firefox-for-specific-css">Read More &#187;</a>]]></description> <content:encoded><![CDATA[<p>Generally &#8211; the best way to handle CSS is to keep it simple, clean, and without any hacks.  From now and again there are some times when I need to write CSS specific to IE (using <a
href="http://www.quirksmode.org/css/condcom.html" target="_blank">conditional comments</a>). I recently came across a site where I needed to target Firefox because of a width issue. This is the first time in my many years I ran into this &#8211; and tried a number of hopeful solutions but nothing worked.  I then found that if I used: <code>@-moz-document url-prefix(){} </code> that that would work out and only Firefox would use the styles within that.</p><p>Example:</p><pre class="brush: css; title: ; notranslate">
.font_example {font-size:1.1em;}
@-moz-document url-prefix() {
     .font_example {font-size:1.075em;}
}
</pre><p>Safari, Chrome, IE, etc will use the first .font_example code while Firefox will use the code within <code>@-moz-document url-prefix(){}</code>.</p><p>While this is not recommended for everyday usage &#8211; when and if you hit a wall, this could be something that will save a lot of time and headaches!</p> ]]></content:encoded> <wfw:commentRss>http://jappler.com/blog/archive/2011/03/29/howto-target-firefox-for-specific-css/feed</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>CSS Tuesdays: Keeping it Simple</title><link>http://jappler.com/blog/archive/2009/07/07/css-tuesdays-keeping-it-simple</link> <comments>http://jappler.com/blog/archive/2009/07/07/css-tuesdays-keeping-it-simple#comments</comments> <pubDate>Tue, 07 Jul 2009 20:40:51 +0000</pubDate> <dc:creator>Jen</dc:creator> <category><![CDATA[CSS]]></category> <category><![CDATA[Web Development]]></category> <category><![CDATA[CSS Tuesdays]]></category> <category><![CDATA[Lucidity]]></category> <category><![CDATA[SDAC]]></category> <guid
isPermaLink="false">http://www.jappler.com/?p=1521</guid> <description><![CDATA[I just released my fist two commercial WordPress themes: Lucidity and Lucidity Catalog with a focus on simplicity. After creating over one hundred custom WordPress themes &#8211; I decided to take my most requested features, coupled with a slick admin interface, and some really simple XHTML and CSS and put it together to create a really easy to use and customize theme. If you looking for something really easy and clean &#8211; take a look... <a
href="http://jappler.com/blog/archive/2009/07/07/css-tuesdays-keeping-it-simple">Read More &#187;</a>]]></description> <content:encoded><![CDATA[<p>I just released my fist two commercial WordPress themes: <a
href="http://www.sandboxdev.com/blog/wordpress/wordpress-commercial-themes/743/lucidity-wordpress-theme/" target="_blank">Lucidity</a> and <a
href="http://www.sandboxdev.com/blog/wordpress/wordpress-commercial-themes/746/lucidity-catalog-wordpress-theme/" target="_blank">Lucidity Catalog</a> with a focus on simplicity.</p><p>After creating over one hundred custom WordPress themes &#8211; I decided to take my most requested features, coupled with a slick admin interface, and some really simple XHTML and CSS and put it together to create a really easy to use and customize theme.</p><p>If you looking for something really easy and clean &#8211; <a
href="http://themes.sandboxdev.com/lucidity/wp-content/themes/lucidity/style.css" target="_blank">take a look at the CSS used. You can see that a little goes a long way!</p><p>Just remember &#8211; keep it simple.  When you overcomplicate &#8211; you will end up with sloppy code, hacks, and problems with old/new browsers alike.</p> ]]></content:encoded> <wfw:commentRss>http://jappler.com/blog/archive/2009/07/07/css-tuesdays-keeping-it-simple/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>CSS Tuesdays: Fun With User Agents</title><link>http://jappler.com/blog/archive/2009/06/09/css-tuesdays-fun-with-user-agents</link> <comments>http://jappler.com/blog/archive/2009/06/09/css-tuesdays-fun-with-user-agents#comments</comments> <pubDate>Tue, 09 Jun 2009 21:55:04 +0000</pubDate> <dc:creator>Jen</dc:creator> <category><![CDATA[CSS]]></category> <category><![CDATA[Featured]]></category> <category><![CDATA[Hints]]></category> <category><![CDATA[Web Development]]></category> <category><![CDATA[CSS Tuesdays]]></category> <category><![CDATA[iPhone]]></category> <category><![CDATA[user agents]]></category> <guid
isPermaLink="false">http://www.jappler.com/?p=1488</guid> <description><![CDATA[If you are going to do any serious CSS development and/or troubleshooting &#8211; you need to be able to see the site on as many browsers as possible. Generally &#8211; we have several browsers on several operating systems going at once so we can make sure our bases are covered. Last week I built a mobile theme for a client and after a few refreshes on my iPhone &#8211; I decided I needed something easier... <a
href="http://jappler.com/blog/archive/2009/06/09/css-tuesdays-fun-with-user-agents">Read More &#187;</a>]]></description> <content:encoded><![CDATA[<p>If you are going to do any serious CSS development and/or troubleshooting &#8211; you need to be able to see the site on as many browsers as possible.  Generally &#8211; we have several browsers on several operating systems going at once so we can make sure our bases are covered.</p><p>Last week I built a mobile theme for a client and after a few refreshes on my iPhone &#8211; I decided I needed something easier and more developer friendly (I needed to view source).  I use the &#8220;Develop&#8221; menu in Safari (Preference &gt; Show Develop menu in menu bar) &#8211; and with that, I was able to choose my user agent (iPhone) &#8211; and then view how it would look using Safari which was much faster then using my iPhone &#8211; and I could easily view the source.  If you need to do any development that depends on the user agent &#8211; don&#8217;t forget about this little trick!</p><div
id="attachment_1489" class="wp-caption alignleft" style="width: 260px"><a
href="http://media.jappler.com/files/2009/06/Picture-1.png"><img
src="http://media.jappler.com/files/2009/06/Picture-1-250x300.png" alt="Choose Your User Agent" title="Choose Your User Agent" width="250" height="300" class="size-medium wp-image-1489" /></a><p
class="wp-caption-text">Choose Your User Agent</p></div> ]]></content:encoded> <wfw:commentRss>http://jappler.com/blog/archive/2009/06/09/css-tuesdays-fun-with-user-agents/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>CSS Tuesdays: Cool Breadcrumbs</title><link>http://jappler.com/blog/archive/2009/05/26/css-tuesdays-cool-breadcrumbs</link> <comments>http://jappler.com/blog/archive/2009/05/26/css-tuesdays-cool-breadcrumbs#comments</comments> <pubDate>Tue, 26 May 2009 14:51:32 +0000</pubDate> <dc:creator>Jen</dc:creator> <category><![CDATA[General]]></category> <category><![CDATA[breadcrumbs]]></category> <category><![CDATA[CSS]]></category> <category><![CDATA[CSS Tuesdays]]></category> <guid
isPermaLink="false">http://www.jappler.com/?p=1463</guid> <description><![CDATA[There are plenty of times when you need to have a clear navigation path back to home or to a main section on a particular page, and most web developers use &#8220;breadcrumbs&#8221; to do this. Over the years, I have implemented breadcrumbs a number of ways, but I really like what I saw on Verlee&#8217;s blog. If you are looking to add some style to your breadcrumbs and want to take it to the next... <a
href="http://jappler.com/blog/archive/2009/05/26/css-tuesdays-cool-breadcrumbs">Read More &#187;</a>]]></description> <content:encoded><![CDATA[<p>There are plenty of times when you need to have a clear navigation path back to home or to a main section on a particular page, and most web developers use &#8220;breadcrumbs&#8221; to do this.  Over the years, I have implemented breadcrumbs a number of ways, but I really like <a
href="http://veerle.duoh.com/blog/comments/simple_scalable_css_based_breadcrumbs/" target="_blank">what I saw on Verlee&#8217;s blog</a>.</p><p>If you are looking to add some style to your breadcrumbs and want to take it to the next step &#8211; check out how she used some CSS and clean XHTML to accomplish something like this:<br
/> <img
src="http://veerle.duoh.com/images/uploads/breadcrumbs.gif" /></p> ]]></content:encoded> <wfw:commentRss>http://jappler.com/blog/archive/2009/05/26/css-tuesdays-cool-breadcrumbs/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>CSS Tuesdays: Minify</title><link>http://jappler.com/blog/archive/2009/05/19/css-tuesdays-minify</link> <comments>http://jappler.com/blog/archive/2009/05/19/css-tuesdays-minify#comments</comments> <pubDate>Tue, 19 May 2009 12:30:02 +0000</pubDate> <dc:creator>Jen</dc:creator> <category><![CDATA[CSS]]></category> <category><![CDATA[Hints]]></category> <category><![CDATA[Web Development]]></category> <category><![CDATA[CSS Tuesdays]]></category> <category><![CDATA[Minify]]></category> <category><![CDATA[optimization]]></category> <guid
isPermaLink="false">http://www.jappler.com/?p=1440</guid> <description><![CDATA[Looking to really increase the load time of your site and minimizing the HTTP requests? Check out Minify. This handy app will easily and quickly compress your CSS (and Javascipt) files.]]></description> <content:encoded><![CDATA[<p>Looking to really increase the load time of your site and minimizing the HTTP requests?  Check out <a
href="http://code.google.com/p/minify/" target="_blank">Minify</a>.  This handy app will easily and quickly compress your CSS (and Javascipt) files.</p> ]]></content:encoded> <wfw:commentRss>http://jappler.com/blog/archive/2009/05/19/css-tuesdays-minify/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>CSS Tuesday: Overide Inline Style</title><link>http://jappler.com/blog/archive/2009/05/12/css-tuesday-overide-inline-style</link> <comments>http://jappler.com/blog/archive/2009/05/12/css-tuesday-overide-inline-style#comments</comments> <pubDate>Tue, 12 May 2009 13:22:08 +0000</pubDate> <dc:creator>Jen</dc:creator> <category><![CDATA[CSS]]></category> <category><![CDATA[Help and Ideas]]></category> <category><![CDATA[Hints]]></category> <category><![CDATA[HOWTOs]]></category> <category><![CDATA[CSS tricks]]></category> <category><![CDATA[CSS Tuesdays]]></category> <category><![CDATA[inline styles]]></category> <guid
isPermaLink="false">http://www.jappler.com/?p=1428</guid> <description><![CDATA[How many times have you worked with either someone else&#8217;s code or some crazy dynamically generated code that uses inline styles for everything which you need to change or override but cannot for some reason or another? I have seen this a lot with custom applications written by programmers who think they are doing designers some sort of favor. Something that I recently found that will allow you to override inline styles: Let&#8217;s override that... <a
href="http://jappler.com/blog/archive/2009/05/12/css-tuesday-overide-inline-style">Read More &#187;</a>]]></description> <content:encoded><![CDATA[<p>How many times have you worked with either someone else&#8217;s code or some crazy dynamically generated code that uses inline styles for everything which you need to change or override but cannot for some reason or another?  I have seen this a lot with custom applications written by programmers who think they are doing designers some sort of favor.</p><p>Something that I recently found that will allow you to override inline styles:</p><pre class="brush: xml; title: ; notranslate">
&lt;p style=&quot;margin:20px&quot;&gt;The inline style (style=) will give the paragraph a 20px margin.&lt;/p&gt;
</pre><p>Let&#8217;s override that because I think 20px is overkill and I only have access to the stylesheet:</p><pre class="brush: css; title: ; notranslate">
p[style] {margin:10px !important;}
</pre><p>Of course that will override any paragraph tag that has an inline style &#8211; but you can see where this is going.</p><p>Reference: <a
href="http://css-tricks.com/override-inline-styles-with-css/" target="_blank">http://css-tricks.com/override-inline-styles-with-css/</a></p> ]]></content:encoded> <wfw:commentRss>http://jappler.com/blog/archive/2009/05/12/css-tuesday-overide-inline-style/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Remove Button and Image Outlines</title><link>http://jappler.com/blog/archive/2009/02/10/remove-button-and-image-outlines</link> <comments>http://jappler.com/blog/archive/2009/02/10/remove-button-and-image-outlines#comments</comments> <pubDate>Tue, 10 Feb 2009 16:06:17 +0000</pubDate> <dc:creator>Jen</dc:creator> <category><![CDATA[CSS]]></category> <category><![CDATA[Featured]]></category> <category><![CDATA[HOWTOs]]></category> <category><![CDATA[Web Development]]></category> <category><![CDATA[buttons]]></category> <category><![CDATA[tricks]]></category> <guid
isPermaLink="false">http://www.jappler.com/?p=1319</guid> <description><![CDATA[Ever wonder how to get rid of the nasty outline that Firefox puts around some images/buttons? Add this little bit of code to your CSS that controls the button or image and you will no longer see these ugly outlines:]]></description> <content:encoded><![CDATA[<p>Ever wonder how to get rid of the nasty outline that Firefox puts around some images/buttons?</p><p>Add this little bit of code to your CSS that controls the button or image and you will no longer see these ugly  outlines:</p><pre class="brush: css; title: ; notranslate">outline:none;</pre><div
id="attachment_1321" class="wp-caption alignleft" style="width: 96px"><a
href="http://media.jappler.com/files/2009/02/outlined.gif"><img
src="http://media.jappler.com/files/2009/02/outlined.gif" alt="Outlined" title="outlined" width="86" height="36" class="size-full wp-image-1321" /></a><p
class="wp-caption-text">Outlined</p></div><div
id="attachment_1320" class="wp-caption alignleft" style="width: 96px"><a
href="http://media.jappler.com/files/2009/02/not-outlined.gif"><img
src="http://media.jappler.com/files/2009/02/not-outlined.gif" alt="Not outlined" title="not-outlined" width="86" height="36" class="size-full wp-image-1320" /></a><p
class="wp-caption-text">Not Outlined</p></div> ]]></content:encoded> <wfw:commentRss>http://jappler.com/blog/archive/2009/02/10/remove-button-and-image-outlines/feed</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>Quick CSS for WordPress Images (Updated)</title><link>http://jappler.com/blog/archive/2008/09/08/quick-css-for-wordpress-images-updated</link> <comments>http://jappler.com/blog/archive/2008/09/08/quick-css-for-wordpress-images-updated#comments</comments> <pubDate>Mon, 08 Sep 2008 23:34:04 +0000</pubDate> <dc:creator>Jen</dc:creator> <category><![CDATA[CSS]]></category> <category><![CDATA[Featured]]></category> <category><![CDATA[Web Development]]></category> <category><![CDATA[Wordpress]]></category> <category><![CDATA[Hints]]></category> <guid
isPermaLink="false">http://www.jappler.com/?p=911</guid> <description><![CDATA[A week or so ago, I posted some information on how to quickly style your WordPress images. After recently updating my company&#8217;s web site (SDAC Inc. &#8211; I noticed if you used captions, my custom CSS would not work. Here is some CSS that will work with and without image captions: The difference? I used img.align.. which worked if you did not use captions, but if you use caption, there is an outer div class... <a
href="http://jappler.com/blog/archive/2008/09/08/quick-css-for-wordpress-images-updated">Read More &#187;</a>]]></description> <content:encoded><![CDATA[<p>A week or so ago, I posted some <a
href="http://www.jappler.com/blog/archive/2008/08/20/quick-css-for-wordpress-images">information on how to quickly style your WordPress images</a>.  After recently updating my company&#8217;s web site (<a
href="http://www.sandboxdev.com">SDAC Inc.</a> &#8211; I noticed if you used captions, my custom CSS would not work.  Here is some CSS that will work with and without image captions:</p><pre class="brush: css; title: ; notranslate">
.alignright, .aligncenter, .alignleft {padding:4px;background:#ecece2;border:1px solid #c7c7bb;}
.alignright {float:right;margin-left:5px;}
.alignleft, .alignnone {float:left;margin-right:5px;}
.aligncenter {display: block;margin-left: auto;margin-right: auto;}
</pre><p>The difference?  I used img.align.. which worked if you did not use captions, but if you use caption, there is an outer div class called align&#8230;  The more generic CSS posted here takes care of both issues.</p> ]]></content:encoded> <wfw:commentRss>http://jappler.com/blog/archive/2008/09/08/quick-css-for-wordpress-images-updated/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>jQuery + CSS + XHTML = Jappler Menus v2</title><link>http://jappler.com/blog/archive/2008/08/27/jquery-css-xhtml-jappler-menus-v2</link> <comments>http://jappler.com/blog/archive/2008/08/27/jquery-css-xhtml-jappler-menus-v2#comments</comments> <pubDate>Wed, 27 Aug 2008 19:50:53 +0000</pubDate> <dc:creator>Jen</dc:creator> <category><![CDATA[CSS]]></category> <category><![CDATA[HOWTOs]]></category> <category><![CDATA[HTML/XTML]]></category> <category><![CDATA[Javascript]]></category> <category><![CDATA[Web Development]]></category> <category><![CDATA[AJAX]]></category> <category><![CDATA[jappler menus]]></category> <category><![CDATA[XHTML]]></category> <guid
isPermaLink="false">http://www.jappler.com/?p=902</guid> <description><![CDATA[Previously &#8211; I introduced a nice way to create drop down menus using HTML (lists), Javascript (drop down), and CSS (styling of menu). I put all of this together and called it: Jappler Menus. (See previous post about Jappler Menus). Since writing that post &#8211; I have found a better, faster, cleaner way to work with drop down menus. I had originally seen some nice menus: http://help-developer.com and decided with some changes &#8211; that would... <a
href="http://jappler.com/blog/archive/2008/08/27/jquery-css-xhtml-jappler-menus-v2">Read More &#187;</a>]]></description> <content:encoded><![CDATA[<p>Previously &#8211; I introduced a nice way to create drop down menus using HTML (lists), Javascript (drop down), and CSS (styling of menu).  I put all of this together and called it: Jappler Menus. (<a
href="http://www.jappler.com/blog/archive/2007/11/12/sliding-doors-sons-of-suckerfish-jappler-menus">See  previous post about Jappler Menus</a>).</p><p>Since writing that post &#8211; I have found a better, faster, cleaner way to work with drop down menus.  I had originally seen some nice menus: <a
href="http://help-developer.com/">http://help-developer.com</a> and decided with some changes &#8211; that would be a much nicer way to work with menus.  For this &#8211; I give you Jappler Menus version 2.</p><p>Here is an example of Jappler Menus in action: <a
href="http://jappler.com/downloads/jappler-menus_v2/">http://jappler.com/downloads/jappler-menus_v2/</a></p><p>There are 3 main components to the Jappler menus: HTML, Javascript (jQuery), and CSS.</p><ol><li><strong>The HTML to generate the menu contents.</strong> All you need to use to create the menu is create a simple HTML list:<pre class="brush: xml; title: ; notranslate">
&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Home&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;#&quot;&gt;About Us&lt;/a&gt;
		&lt;ul&gt;
			&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Our Story&lt;/a&gt;&lt;/li&gt;
			&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Our Clients&lt;/a&gt;&lt;/li&gt;
			&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Our Philosophy&lt;/a&gt;&lt;/li&gt;
		&lt;/ul&gt;
	&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Our Products&lt;/a&gt;
		&lt;ul&gt;
		       &lt;li&gt;&lt;a href=&quot;#&quot;&gt;WordPress Themes&lt;/a&gt;&lt;/li&gt;
		       &lt;li&gt;&lt;a href=&quot;#&quot;&gt;WordPress Plugins&lt;/a&gt;&lt;/li&gt;
		       &lt;li&gt;&lt;a href=&quot;#&quot;&gt;WordPress Consultation&lt;/a&gt;&lt;/li&gt;
	         &lt;/ul&gt;
	&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;#&quot;&gt;HOWTOs&lt;/a&gt;
		&lt;ul&gt;
			&lt;li&gt;&lt;a href=&quot;#&quot;&gt;bbPress&lt;/a&gt;&lt;/li&gt;
		        &lt;li&gt;&lt;a href=&quot;#&quot;&gt;WordPress&lt;/a&gt;&lt;/li&gt;
		        &lt;li&gt;&lt;a href=&quot;#&quot;&gt;General&lt;/a&gt;
		        	&lt;ul&gt;
					&lt;li&gt;&lt;a href=&quot;#&quot;&gt;CSS&lt;/a&gt;&lt;/li&gt;
					&lt;li&gt;&lt;a href=&quot;#&quot;&gt;XHTML&lt;/a&gt;&lt;/li&gt;
					&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Javascript&lt;/a&gt;&lt;/li&gt;
				&lt;/ul&gt;
			&lt;/li&gt;
	         &lt;/ul&gt;
	&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;#&quot;&gt;Archives&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;#&quot;&gt;RSS Feed&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</pre></li><li><strong>The javascript that makes the drop downs fade in and out.</strong> This uses <a
href="http://www.jquery.com">jQuery</a> and then some custom JS that takes care of our menu:<pre class="brush: jscript; title: ; notranslate">
function japplerMenu(){
$(&quot; #navigation ul &quot;).css({display: &quot;none&quot;}); // Opera Fix
$(&quot; #navigation li&quot;).hover(function(){
		$(this).find('ul:first').css({visibility: &quot;visible&quot;,display: &quot;none&quot;}).fadeIn(200);
		},function(){
		$(this).find('ul:first').css({visibility: &quot;hidden&quot;});
		});
}
 $(document).ready(function(){
	japplerMenu();
});
</pre><p>}</li><li><strong>The CSS to make things look pretty.</strong>Here is the custom CSS that is needed:<pre class="brush: css; title: ; notranslate">
#mainNav {height:30px;background: url('images/mainNav_bg.gif') repeat-x;width:623px;}
#navigation, #navigation ul{position:relative;z-index:1000;list-style-type:none;list-style-position:outside;margin:0;padding:0;}
#navigation a {display:block;padding:0 20px 0 20px;font-size:1.1em;font-weight:bold;color:#fff;text-decoration:none;line-height:30px;}
#navigation li:hover {background: url('images/mainNav_bg-over.gif') repeat-x;}
#navigation li:hover a {color:#fff;}
#navigation li{float:left;position:relative;}
#navigation ul {width:165px;position:absolute;left:-1px;top:29px;display:none;background:#f1f4f2;border:1px solid #4b4d5b;border-bottom:none;}
#navigation li:hover li a {color:#333;}
#navigation li ul a {float:left;width:155px;line-height:normal;font-weight:normal;font-size:.95em;text-align:left;border-bottom:1px solid #4b4d5b;background:#f1f4f2;height:auto;padding:5px;}
#navigation li ul a:hover {background:#a4a5a9;color:#000;}
#navigation ul ul{top:auto;}
#navigation li ul ul {left:160px;margin:0;}
#navigation li:hover ul ul, #navigation li:hover ul ul ul, #navigation li:hover ul ul ul ul{display:none;}
#navigation li:hover ul, #navigation li li:hover ul, #navigation li li li:hover ul, #navigation li li li li:hover ul{display:block;}
</pre><p>There is also some additional CSS for IE 6. (<a
href="http://www.jappler.com/downloads/jappler-menus_v2/style-ie6.css">See IE 6 specific CSS</a>).  You can add some conditional logic to include this for only IE 6 (See the example source above &#8211; look in the header for the conditional code.)</li></ol><p>These menus are compatible with IE 6+, Safari 2+, Opera 9+, and FF 2+. If you want it to work in IE 6 &#8211; I have <a
href="http://jappler.com/downloads/jappler-menus_v2/style-ie6.css">a start on some CSS that will make it work</a>.</p> ]]></content:encoded> <wfw:commentRss>http://jappler.com/blog/archive/2008/08/27/jquery-css-xhtml-jappler-menus-v2/feed</wfw:commentRss> <slash:comments>6</slash:comments> </item> <item><title>Quick CSS for WordPress Images</title><link>http://jappler.com/blog/archive/2008/08/20/quick-css-for-wordpress-images</link> <comments>http://jappler.com/blog/archive/2008/08/20/quick-css-for-wordpress-images#comments</comments> <pubDate>Wed, 20 Aug 2008 13:47:07 +0000</pubDate> <dc:creator>Jen</dc:creator> <category><![CDATA[CSS]]></category> <category><![CDATA[Featured]]></category> <category><![CDATA[Hints]]></category> <category><![CDATA[HOWTOs]]></category> <category><![CDATA[HTML/XTML]]></category> <category><![CDATA[jappler.com]]></category> <category><![CDATA[Web Development]]></category> <category><![CDATA[Wordpress]]></category> <guid
isPermaLink="false">http://www.jappler.com/?p=899</guid> <description><![CDATA[If you install WordPress and use the media uploader to manage your images in your posts &#8211; you can easily style your images quickly by adding the following code to your theme&#8217;s stylesheet. This code will set up your images to float appropriately, as well as give a nice border as seen below. Note* This information is now updated: Updated CSS]]></description> <content:encoded><![CDATA[<p>If you install WordPress and use the media uploader to manage your images in your posts &#8211; you can easily style your images quickly by adding the following code to your theme&#8217;s stylesheet.</p><pre class="brush: css; title: ; notranslate">
img.alignright, img.aligncenter, img.alignleft {padding:4px;background:#efefef;border-color: #aaa #ccc #ddd #bbb;border-style: solid;border-width: 1px;}
img.alignright {float:right;margin-left:5px;}
img.alignleft, img.alignnone {float:left;margin-right:5px;}
img.aligncenter {display: block;margin-left: auto;margin-right: auto;}
</pre><p>This code will set up your images to float appropriately, as well as give a nice border as seen below.</p><p><a
href="http://media.jappler.com/files/2008/08/dsc01630.jpg"><img
src="http://media.jappler.com/files/2008/08/dsc01630.jpg" alt="Christmas in DC" title="DC" class="alignnone size-thumbnail wp-image-900" /></a></p><p><strong>Note*</strong> This information is now updated: <a
href="#">Updated CSS</a></p> ]]></content:encoded> <wfw:commentRss>http://jappler.com/blog/archive/2008/08/20/quick-css-for-wordpress-images/feed</wfw:commentRss> <slash:comments>3</slash:comments> </item> </channel> </rss>
