<?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/category/web-development/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/blog/archive/category/web-development/css</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>WordPress Themes Over the Years&#8230;A Look Back and Then into the Future</title><link>http://jappler.com/blog/archive/2010/09/23/wordpress-themes-over-the-years-a-look-back-and-then-into-the-future</link> <comments>http://jappler.com/blog/archive/2010/09/23/wordpress-themes-over-the-years-a-look-back-and-then-into-the-future#comments</comments> <pubDate>Thu, 23 Sep 2010 18:39:00 +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[Carrington]]></category> <category><![CDATA[Lucidity]]></category> <category><![CDATA[WordPress themes]]></category> <guid
isPermaLink="false">http://jappler.com/?p=1813</guid> <description><![CDATA[After working with WordPress for over five years now, I have seen a lot of changes both front-end and backend &#8211; both for developers and for users. I work for the most part on WordPress themes for a few hours a day and have been doing so for the last 3+ years full time. As I wrap up the final changes for my company&#8217;s commercial WordPress theme Lucidity &#8211; I wanted to take a few... <a
href="http://jappler.com/blog/archive/2010/09/23/wordpress-themes-over-the-years-a-look-back-and-then-into-the-future">Read More &#187;</a>]]></description> <content:encoded><![CDATA[<p>After working with WordPress for over five years now, I have seen a lot of changes both front-end and backend &#8211; both for developers and for users.  I work for the most part on WordPress themes for a few hours a day and have been doing so for the last 3+ years full time.  As I wrap up the final changes for my company&#8217;s commercial WordPress theme <a
href="http://themes.sandboxdev.com/lucidity" target="_blank">Lucidity</a> &#8211; I wanted to take a few minutes and point out some of the changes over the years and also talk about where I think themes are going.</p><p>I remember back in the day being excited about <a
href="http://alexking.org/projects/wordpress/themes" target="_blank">Alex King&#8217;s Theme Competition</a> and wishing I had some spare time (I was working full time and doing consulting every other moment) to also participate.  These early themes were generally simple and were something people would use on their simple blogs -using a hand full of WordPress functions.  During this time, the functions.php was unheard of and there were not too many custom functions that were used (for most themes).  The big difference between them were mostly in how the sites were laid out with HTML and CSS.  Even though these themes were simple &#8211; they were great because it allowed you to easily modify the look and feel of your site by editing a few template files and modifying the CSS.</p><p>These themes were more about look and less about function.</p><p>If you think about themes then and themes now &#8211; the difference is often huge.  Most themes now are packed with custom functions, have advanced admin options, and give the users greater control of their content, the site&#8217;s look and feel, and general options &#8211; all without having to modify any template files or know any CSS.  Themes are more complex, are generally made up of more template files, and are much more flexible.</p><p>These themes are more about providing both users and other developers with a framework and tools to easily manage content.</p><p>Recently Alex King/Crowd Favorite released <a
href="http://alexking.org/blog/2010/08/03/introducing-carrington-build" target="_blank">Carrington Build</a> which is a perfect example of where themes are going.  This theme offers an unbelievable amount of flexibility and customization and will make both users and developers eager to use this theme.</p><p>So as I wrap up development on Lucidity &#8211; I am trying to bridge the old (simple) with the new (framework/tools).  I look forward to getting this out to the public so they can enjoy the ease of use, flexibility, and further control over their content.</p><p>All in all &#8211; WordPress themes have come a long way and will not only continue to improve user&#8217;s front end experience, but also improve the backend experience when using WordPress.  Look for even greater things to come!</p> ]]></content:encoded> <wfw:commentRss>http://jappler.com/blog/archive/2010/09/23/wordpress-themes-over-the-years-a-look-back-and-then-into-the-future/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>CSS Tuesday: Images as List Bullets</title><link>http://jappler.com/blog/archive/2009/08/18/css-tuesday-images-as-list-bullets</link> <comments>http://jappler.com/blog/archive/2009/08/18/css-tuesday-images-as-list-bullets#comments</comments> <pubDate>Tue, 18 Aug 2009 14:26:26 +0000</pubDate> <dc:creator>Jen</dc:creator> <category><![CDATA[CSS]]></category> <category><![CDATA[HOWTOs]]></category> <category><![CDATA[Web Development]]></category> <category><![CDATA[CSS Tuesdays]]></category> <category><![CDATA[lists]]></category> <guid
isPermaLink="false">http://www.jappler.com/?p=1561</guid> <description><![CDATA[There are plenty of ways to spruce up the boring bullets used in HTML lists. The best way and most browser compatible way I have found to do this is using the following code: You can see that here: Example of fancy bullet Another bullet point Vs. The plain list: Example of fancy bullet Another bullet point Something like this may seem simple, but it is often overlooked and can really dress up a site.]]></description> <content:encoded><![CDATA[<p>There are plenty of ways to spruce up the boring bullets used in HTML lists.</p><p>The best way and most browser compatible way I have found to do this is using the following code:</p><pre class="brush: css; title: ; notranslate">
ul li {background: url('images/dot.gif') no-repeat 0 3px; list-style:none;margin:0 0 2px 0;padding:0 0 0 10px;}
</pre><p>You can see that here:</p><ul><li>Example of fancy bullet</li><li>Another bullet point</li></ul><p>Vs. The plain list:</p><ul><li>Example of fancy bullet</li><li>Another bullet point</li></ul><p>Something like this may seem simple, but it is often overlooked and can really dress up a site.</p> ]]></content:encoded> <wfw:commentRss>http://jappler.com/blog/archive/2009/08/18/css-tuesday-images-as-list-bullets/feed</wfw:commentRss> <slash:comments>0</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: 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>Out With the Old, In With the New</title><link>http://jappler.com/blog/archive/2009/01/11/out-with-the-old-in-with-the-new</link> <comments>http://jappler.com/blog/archive/2009/01/11/out-with-the-old-in-with-the-new#comments</comments> <pubDate>Mon, 12 Jan 2009 02:41:21 +0000</pubDate> <dc:creator>Jen</dc:creator> <category><![CDATA[CSS]]></category> <category><![CDATA[HTML/XTML]]></category> <category><![CDATA[jappler.com]]></category> <category><![CDATA[Javascript]]></category> <category><![CDATA[User Interfaces]]></category> <category><![CDATA[Wordpress]]></category> <category><![CDATA[jQuery]]></category> <category><![CDATA[new design]]></category> <guid
isPermaLink="false">http://www.jappler.com/?p=1146</guid> <description><![CDATA[As you might have noticed &#8211; I took a week off from blogging in order to focus on something else &#8211; cleaning up Jappler.com. Over the past few months I have learned so much more about WordPress, web site optimization, and what I really used this web site for &#8211; so I decided I needed to take some time to redo this site. From a design perspective, I decided to darken the colors quite a... <a
href="http://jappler.com/blog/archive/2009/01/11/out-with-the-old-in-with-the-new">Read More &#187;</a>]]></description> <content:encoded><![CDATA[<p>As you might have noticed &#8211; I took a week off from blogging in order to focus on something else &#8211; cleaning up Jappler.com.  Over the past few months I have learned so much more about WordPress, web site optimization, and what I really used this web site for &#8211; so I decided I needed to take some time to redo this site.</p><p><strong>From a design perspective</strong>, I decided to darken the colors quite a bit in order to remove some of the drabness of the old design.  I also added a background pattern to give some depth, and also added in some new pictures in the header that represent changes/additions in my life over the last few years.  I love working with greys &#8211; so I added more grey elements.  I also simplified the layout and got rid of a number of image based elements to keep everything minimal.</p><p><strong>From a UI perspective</strong>, I decided to focus on the content I have created over the past 4-5 years instead of a few static pages here and there.  I moved all of the blog content into the main navigation so it is easier to find/navigate. I also used <a
href="http://www.jappler.com/blog/archive/2008/08/27/jquery-css-xhtml-jappler-menus-v2">Jappler Menus</a> in combination with the WordPress function to list all categories/sub-categories.</p><p><strong>From a functional perspective</strong>, I started from scratch with this new version.  I created a number of custom functions that make presenting content a lot easier.  I dropped the YUI library and went with all jQuery based AJAX functionality.  The code is leaner, faster, and easy to modify for any future needs.  The comments are now using WordPress&#8217;s threaded comment functionality, and a number of other WordPress 2.7 additions.  I also went through and got rid of almost 50% of my old plugins (replaced the functionality with custom functions, WordPress built in functionality &#8211; or completely removed unused plugins.</p><p><strong>From an optimization perspective</strong>, this site uses far less javascript, CSS, and images and will load much faster than the previous site.  I also increased the use of title tags, alt tags, and other easy tricks to help with search engine optimization.</p><p>All in all &#8211; this was something fun that I enjoyed and look forward to adding even more new design/functional elements in the future.</p> ]]></content:encoded> <wfw:commentRss>http://jappler.com/blog/archive/2009/01/11/out-with-the-old-in-with-the-new/feed</wfw:commentRss> <slash:comments>4</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> </channel> </rss>
