<?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>FamousPhil.com Admin Blog and More &#187; image</title>
	<atom:link href="http://famousphil.com/blog/tag/image/feed/" rel="self" type="application/rss+xml" />
	<link>http://famousphil.com</link>
	<description>My Personal Blog</description>
	<lastBuildDate>Mon, 06 Feb 2012 01:40:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Some CSS Image Help</title>
		<link>http://famousphil.com/blog/2009/07/some-css-image-help/</link>
		<comments>http://famousphil.com/blog/2009/07/some-css-image-help/#comments</comments>
		<pubDate>Fri, 31 Jul 2009 19:18:33 +0000</pubDate>
		<dc:creator>Famous Phil</dc:creator>
				<category><![CDATA[My Site]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[div]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[imagemap]]></category>
		<category><![CDATA[map]]></category>
		<category><![CDATA[span]]></category>

		<guid isPermaLink="false">http://famousphil.com/blog/?p=262</guid>
		<description><![CDATA[Phil discusses a good CSS Imagemap creator site.  In the second half, he explains how to put spanned text onto a div background with 2 images.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m going to break this fairly short blog into 2 parts since I have 2 helpful tips that are fairly fast to implement.  I was going to make two blog posts on these, but they are closely related concepts, so here is a single post.</p>
<h2>First,<strong> a helpful CSS Imagemap code creator:</strong></h2>
<p>For this site, if you ever have noticed, you might see that the <strong>top icons in the header</strong> (including the FamousPhil.com text) <strong>all link to certain pages on FamousPhil</strong>.  <strong>Usually, a HTML or CSS imagemap is used to make these links</strong>.  The site designer figures out where to place the selectable link area on the header by calculating pixels on the image.  Being the lazy designer that I am, I went to find a better solution to where I wouldn&#8217;t have to figure out exactly what pixel lengths I need to accomplish the clickable areas I wanted.  T<strong>here is a really handy site that I found that allows you to upload or specify an image location on the web and easily specify areas for clickable links.  It then makes the html code.  This site is: <a href="http://www.maschek.hu/imagemap/imgmap">http://www.maschek.hu/imagemap/imgmap</a>.</strong> I have used this site many times for creating CSS Imagemap code.  <strong>I just have one word of caution when using this site, that is, the code generated is really condensed and not really friendly to work with.  I recommend using a program like PHPDesigner 2008 in HTML mode and using HTML Tidy, make the code into the CSS2 standard to make the code look better and much easier to read.</strong></p>
<h2><strong>Second, I would like to cover making a div in HTML with two images and have text span both images.</strong></h2>
<p>This problem plauged me for a good two hours the other night.  Basically, <strong>I am designing a site that has a body with an image gradient (fades out as the image goes down the page), and then at the bottom of that fading image, I have to continue a textured background repeating. </strong></p>
<p>To accomplish this in CSS, you need to nest div tags in HTML and specify CSS.  Here is an example that I am using directly on this site:</p>
<pre id="line33">"<!--HTML CODE--><br />
	<<span>div</span><span> class</span>=<span>"middle"</span>><br />
		<<span>div</span><span> class</span>=<span>"middle2"</span>>	</p>
<p>		</<span>div</span>><br />
	</<span>div</span>></p>
<pre id="line43">"</p>
<p>"/*CSS CODE*/<br />
div.middle{<br />
	background: transparent url("img/backgroundrepeat.png") repeat;<br />
	min-height:250px<br />
}</p>
<p>div.middle2 {<br />
	background:url("img/bodytopgradient.png") no-repeat;<br />
	min-height:124px<br />
}<br />
"<br />
<strong>In this example, middle is the bottom layer that will repeat down the entire page.  middle2 in this example is the top layer and has a single image that contains the top gradient.</strong> I add a min-height to make the top layer show up entirely before the background repeating pattern becomes the top image.  Text will expand the page downwards, but due to the lack of text, I made a minimum height on the repeating image also to verify that it works as expected.</p>
<p><strong>Hopefully these tips will help you on your next design.  Thanks for reading my blog as always!</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://famousphil.com/blog/2009/07/some-css-image-help/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Served from: famousphil.com @ 2012-02-10 05:53:55 by W3 Total Cache -->
