<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: How to Create a Valid Non-Javascript Lightbox</title>
	<atom:link href="http://carsonified.com/blog/design/css/how-to-create-a-valid-non-javascript-lightbox/feed/" rel="self" type="application/rss+xml" />
	<link>http://carsonified.com/blog/design/css/how-to-create-a-valid-non-javascript-lightbox/</link>
	<description></description>
	<lastBuildDate>Tue, 16 Mar 2010 22:55:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Prince</title>
		<link>http://carsonified.com/blog/design/css/how-to-create-a-valid-non-javascript-lightbox/#comment-17269</link>
		<dc:creator>Prince</dc:creator>
		<pubDate>Fri, 18 Dec 2009 19:27:35 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=3230#comment-17269</guid>
		<description>Hey Eric, the link is going nowhere</description>
		<content:encoded><![CDATA[<p>Hey Eric, the link is going nowhere</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam</title>
		<link>http://carsonified.com/blog/design/css/how-to-create-a-valid-non-javascript-lightbox/#comment-17212</link>
		<dc:creator>Sam</dc:creator>
		<pubDate>Wed, 16 Dec 2009 07:13:57 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=3230#comment-17212</guid>
		<description>Oops, the code didn&#039;t show. I don&#039;t know how else to send it. ):</description>
		<content:encoded><![CDATA[<p>Oops, the code didn&#8217;t show. I don&#8217;t know how else to send it. ):</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam</title>
		<link>http://carsonified.com/blog/design/css/how-to-create-a-valid-non-javascript-lightbox/#comment-17211</link>
		<dc:creator>Sam</dc:creator>
		<pubDate>Wed, 16 Dec 2009 07:11:32 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=3230#comment-17211</guid>
		<description>I need assistance so bad ): 
I did pretty much exactly what you said but this is what happens:

http://banjundrama.wordpress.com/2009/12/16/fhaluj/

Also, this is how I did it. I might be fully wrong. Please help me! 



    
    XHML and CSS Lightbox

html {
font-size: 75%;} 
html, body {
height: 100%;
width: 100%;
margin: 0;
padding: 0;}
body {
background-color: #f8f8f8;
font-family: arial, helvetica, sans-serif;
color: #777;
text-align: center;
font-size: 1.0833em;
line-height: 1.6923em;}
a {
color: #09F;}
h2 {
font-weight: normal;}
p {
margin: 0 0 1.6923em 0;}        
#container {
width: 100%;
height: 100%;}
position: absolute;
top: 0;
left: 0;
overflow: auto;
#header,
#content,
#footer {
text-align: left;
width: 870px;
margin: 0 auto;
padding: 40px;}
#header,
#footer {
background-color: #eee;}
#header h1 {
margin: 0;}
#header p {
margin: 5px 0 0;}
#content {
background-color: #fff;}		
/* ---------------------------------------------------------- */
/* LIGHTBOXES
/* ---------------------------------------------------------- */
#lightboxes {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
list-style-type: none;
text-align: left;}
overflow: hidden;
#lightboxes li {
width: 100%;
height: 9999px;
position: relative;
background: rgba(0,0,0,.5);}
#lightboxes .box {
position: absolute;
width: 400px;
height: 400px;
left: 50%;
top: 50px;
border: 10px solid #999;
margin-left: -230px;
background-color: #fff;
padding: 20px;}
#lightboxes h3 {
font-weight: normal;
font-size: 1.8461em;
margin: 0 0 0.4583em 0;}
#lightboxes a.close {
position: absolute;
top: 20px;
right: 20px;
display: block;
width: 20px;
line-height: 20px;
text-align: center;
background-color: #ddd;
text-decoration: none;
font-weight: bold;
color: #999;
font-size: 1.2em;}
#lightboxes a.close:hover {
background-color: #999;
color: #fff;}
#lightboxes #close {
background-color: transparent;
z-index: -1;}

&lt;!--[if IE]&gt;--&gt;

html {
overflow-y: auto;}
#lightboxes {
    position: relative;}
    #lightboxes .ie-bg {
    background: #000;
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    filter: alpha(opacity=75);}





    
        A valid XHTML and CSS Lightbox (no JavaScript)
        &lt;strong&gt;by Jenna Smith&lt;/strong&gt;
    
    
        Click any of the links below to see it in action
        Lorem ipsum dolor sit amet, consectetur &lt;a href=&quot;http://tinypic.com/m/6oj340/2&quot; rel=&quot;nofollow&quot;&gt;about us&lt;/a&gt; adipiscing elit.
        Donec massa lorem, elementum et mollis non, viverra a est. Proin nunc orci, tristique at egestas et,
        interdum ac ipsum. Nulla &lt;a href=&quot;http://tinypic.com/m/6oj340/2&quot; rel=&quot;nofollow&quot;&gt;more info&lt;/a&gt; vulputate erat ac gravida. Mauris facilisis, leo ac condimentum commodo,
        justo eros molestie dolor, a posuere orci tortor sed lacus. Suspendisse dictum, magna eu posuere tempor,
        augue diam tempor lacus, sed hendrerit nulla ante quis justo. Aliquam eget tellus risus.
    
    
    	Copyright 2009 Jenna Smith
    


    
    
        
            About
            
                Duis eros nibh, tempor sed ultricies eget, malesuada id nunc. Praesent a purus non
                risus dignissim placerat et eu dolor. Maecenas rutrum odio vitae libero sagittis a faucibus metus tincidunt.
                Praesent bibendum sagittis elit, nec convallis enim tincidunt quis.
            
            
                Duis eros nibh, tempor sed ultricies eget, malesuada id nunc. Praesent a purus non
                risus dignissim placerat et eu dolor. Maecenas rutrum odio vitae libero sagittis a faucibus metus tincidunt.
                Praesent bibendum sagittis elit, nec convallis enim tincidunt quis.
            
            &lt;a href=&quot;#close&quot; title=&quot;close window&quot; rel=&quot;nofollow&quot;&gt;x&lt;/a&gt;
        
&lt;!--[if IE]&gt;--&gt;


    
    
        
            More stuff
            
                Duis eros nibh, tempor sed ultricies eget, malesuada id nunc. Praesent a purus non
                risus dignissim placerat et eu dolor. Maecenas rutrum odio vitae libero sagittis a faucibus metus tincidunt.
                Praesent bibendum sagittis elit, nec convallis enim tincidunt quis.
            
            &lt;a href=&quot;#close&quot; title=&quot;close window&quot; rel=&quot;nofollow&quot;&gt;x&lt;/a&gt;
        
&lt;!--[if IE]&gt;--&gt;







I wonder if it shows! Please do help me (: 
Thanks!</description>
		<content:encoded><![CDATA[<p>I need assistance so bad ):<br />
I did pretty much exactly what you said but this is what happens:</p>
<p><a href="http://banjundrama.wordpress.com/2009/12/16/fhaluj/" rel="nofollow">http://banjundrama.wordpress.com/2009/12/16/fhaluj/</a></p>
<p>Also, this is how I did it. I might be fully wrong. Please help me! </p>
<p>    XHML and CSS Lightbox</p>
<p>html {<br />
font-size: 75%;}<br />
html, body {<br />
height: 100%;<br />
width: 100%;<br />
margin: 0;<br />
padding: 0;}<br />
body {<br />
background-color: #f8f8f8;<br />
font-family: arial, helvetica, sans-serif;<br />
color: #777;<br />
text-align: center;<br />
font-size: 1.0833em;<br />
line-height: 1.6923em;}<br />
a {<br />
color: #09F;}<br />
h2 {<br />
font-weight: normal;}<br />
p {<br />
margin: 0 0 1.6923em 0;}<br />
#container {<br />
width: 100%;<br />
height: 100%;}<br />
position: absolute;<br />
top: 0;<br />
left: 0;<br />
overflow: auto;<br />
#header,<br />
#content,<br />
#footer {<br />
text-align: left;<br />
width: 870px;<br />
margin: 0 auto;<br />
padding: 40px;}<br />
#header,<br />
#footer {<br />
background-color: #eee;}<br />
#header h1 {<br />
margin: 0;}<br />
#header p {<br />
margin: 5px 0 0;}<br />
#content {<br />
background-color: #fff;}<br />
/* &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- */<br />
/* LIGHTBOXES<br />
/* &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- */<br />
#lightboxes {<br />
width: 100%;<br />
height: 100%;<br />
margin: 0;<br />
padding: 0;<br />
list-style-type: none;<br />
text-align: left;}<br />
overflow: hidden;<br />
#lightboxes li {<br />
width: 100%;<br />
height: 9999px;<br />
position: relative;<br />
background: rgba(0,0,0,.5);}<br />
#lightboxes .box {<br />
position: absolute;<br />
width: 400px;<br />
height: 400px;<br />
left: 50%;<br />
top: 50px;<br />
border: 10px solid #999;<br />
margin-left: -230px;<br />
background-color: #fff;<br />
padding: 20px;}<br />
#lightboxes h3 {<br />
font-weight: normal;<br />
font-size: 1.8461em;<br />
margin: 0 0 0.4583em 0;}<br />
#lightboxes a.close {<br />
position: absolute;<br />
top: 20px;<br />
right: 20px;<br />
display: block;<br />
width: 20px;<br />
line-height: 20px;<br />
text-align: center;<br />
background-color: #ddd;<br />
text-decoration: none;<br />
font-weight: bold;<br />
color: #999;<br />
font-size: 1.2em;}<br />
#lightboxes a.close:hover {<br />
background-color: #999;<br />
color: #fff;}<br />
#lightboxes #close {<br />
background-color: transparent;<br />
z-index: -1;}</p>
<p><!--[if IE]&gt;--></p>
<p>html {<br />
overflow-y: auto;}<br />
#lightboxes {<br />
    position: relative;}<br />
    #lightboxes .ie-bg {<br />
    background: #000;<br />
    position: absolute;<br />
    z-index: -1;<br />
    width: 100%;<br />
    height: 100%;<br />
    filter: alpha(opacity=75);}</p>
<p>        A valid XHTML and CSS Lightbox (no JavaScript)<br />
        <strong>by Jenna Smith</strong></p>
<p>        Click any of the links below to see it in action<br />
        Lorem ipsum dolor sit amet, consectetur <a href="http://tinypic.com/m/6oj340/2" rel="nofollow">about us</a> adipiscing elit.<br />
        Donec massa lorem, elementum et mollis non, viverra a est. Proin nunc orci, tristique at egestas et,<br />
        interdum ac ipsum. Nulla <a href="http://tinypic.com/m/6oj340/2" rel="nofollow">more info</a> vulputate erat ac gravida. Mauris facilisis, leo ac condimentum commodo,<br />
        justo eros molestie dolor, a posuere orci tortor sed lacus. Suspendisse dictum, magna eu posuere tempor,<br />
        augue diam tempor lacus, sed hendrerit nulla ante quis justo. Aliquam eget tellus risus.</p>
<p>    	Copyright 2009 Jenna Smith</p>
<p>            About</p>
<p>                Duis eros nibh, tempor sed ultricies eget, malesuada id nunc. Praesent a purus non<br />
                risus dignissim placerat et eu dolor. Maecenas rutrum odio vitae libero sagittis a faucibus metus tincidunt.<br />
                Praesent bibendum sagittis elit, nec convallis enim tincidunt quis.</p>
<p>                Duis eros nibh, tempor sed ultricies eget, malesuada id nunc. Praesent a purus non<br />
                risus dignissim placerat et eu dolor. Maecenas rutrum odio vitae libero sagittis a faucibus metus tincidunt.<br />
                Praesent bibendum sagittis elit, nec convallis enim tincidunt quis.</p>
<p>            <a href="#close" title="close window" rel="nofollow">x</a></p>
<p><!--[if IE]&gt;--></p>
<p>            More stuff</p>
<p>                Duis eros nibh, tempor sed ultricies eget, malesuada id nunc. Praesent a purus non<br />
                risus dignissim placerat et eu dolor. Maecenas rutrum odio vitae libero sagittis a faucibus metus tincidunt.<br />
                Praesent bibendum sagittis elit, nec convallis enim tincidunt quis.</p>
<p>            <a href="#close" title="close window" rel="nofollow">x</a></p>
<p><!--[if IE]&gt;--></p>
<p>I wonder if it shows! Please do help me (:<br />
Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sandy</title>
		<link>http://carsonified.com/blog/design/css/how-to-create-a-valid-non-javascript-lightbox/#comment-16958</link>
		<dc:creator>sandy</dc:creator>
		<pubDate>Mon, 07 Dec 2009 07:00:48 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=3230#comment-16958</guid>
		<description>thanks a lot.. for giving simple idea</description>
		<content:encoded><![CDATA[<p>thanks a lot.. for giving simple idea</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TTF</title>
		<link>http://carsonified.com/blog/design/css/how-to-create-a-valid-non-javascript-lightbox/#comment-16455</link>
		<dc:creator>TTF</dc:creator>
		<pubDate>Thu, 12 Nov 2009 19:34:26 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=3230#comment-16455</guid>
		<description>I think this is fantastic -- BUT you said that you don&#039;t think it would be used in a real-world project...why is that?  What is the downside...seems like being able to get lightboxes which are convenient for users WITHOUT relying on javascript, which can be a hassle, would be perfect....

Let me know....thanks.</description>
		<content:encoded><![CDATA[<p>I think this is fantastic &#8212; BUT you said that you don&#8217;t think it would be used in a real-world project&#8230;why is that?  What is the downside&#8230;seems like being able to get lightboxes which are convenient for users WITHOUT relying on javascript, which can be a hassle, would be perfect&#8230;.</p>
<p>Let me know&#8230;.thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Geng Gao</title>
		<link>http://carsonified.com/blog/design/css/how-to-create-a-valid-non-javascript-lightbox/#comment-16076</link>
		<dc:creator>Geng Gao</dc:creator>
		<pubDate>Tue, 27 Oct 2009 03:33:43 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=3230#comment-16076</guid>
		<description>This is awesome! Great job.</description>
		<content:encoded><![CDATA[<p>This is awesome! Great job.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wdct</title>
		<link>http://carsonified.com/blog/design/css/how-to-create-a-valid-non-javascript-lightbox/#comment-15807</link>
		<dc:creator>wdct</dc:creator>
		<pubDate>Thu, 15 Oct 2009 00:06:55 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=3230#comment-15807</guid>
		<description>I will try this. It&#039;s very well explained, so I hope I won&#039;t have any problems. Thank for sharing this .</description>
		<content:encoded><![CDATA[<p>I will try this. It&#8217;s very well explained, so I hope I won&#8217;t have any problems. Thank for sharing this .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Henrik Pedersen</title>
		<link>http://carsonified.com/blog/design/css/how-to-create-a-valid-non-javascript-lightbox/#comment-15805</link>
		<dc:creator>Henrik Pedersen</dc:creator>
		<pubDate>Wed, 14 Oct 2009 23:02:25 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=3230#comment-15805</guid>
		<description>I&#039;ve used in a partner project. I hate to rely on javascript, even trough I master it. 

So thanks a lot. Maybe I can use this as a fallback for a javascipt popup some other place</description>
		<content:encoded><![CDATA[<p>I&#8217;ve used in a partner project. I hate to rely on javascript, even trough I master it. </p>
<p>So thanks a lot. Maybe I can use this as a fallback for a javascipt popup some other place</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hilikus</title>
		<link>http://carsonified.com/blog/design/css/how-to-create-a-valid-non-javascript-lightbox/#comment-15791</link>
		<dc:creator>hilikus</dc:creator>
		<pubDate>Wed, 14 Oct 2009 16:30:48 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=3230#comment-15791</guid>
		<description>found a way to fix the scrolling problem in firefox (i think - well it works for me),

in the main style section change #lightboxes {...} overflow: auto; to overflow: hidden;

this is already set to hidden in the IE specific styling.</description>
		<content:encoded><![CDATA[<p>found a way to fix the scrolling problem in firefox (i think &#8211; well it works for me),</p>
<p>in the main style section change #lightboxes {&#8230;} overflow: auto; to overflow: hidden;</p>
<p>this is already set to hidden in the IE specific styling.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: George Marez</title>
		<link>http://carsonified.com/blog/design/css/how-to-create-a-valid-non-javascript-lightbox/#comment-15732</link>
		<dc:creator>George Marez</dc:creator>
		<pubDate>Mon, 12 Oct 2009 15:23:16 +0000</pubDate>
		<guid isPermaLink="false">http://carsonified.com/?p=3230#comment-15732</guid>
		<description>OMG, I has having so many problems getting a lightbox to work in Joomla. This would have been a perfect solution!

Thank you so much for the write-up!</description>
		<content:encoded><![CDATA[<p>OMG, I has having so many problems getting a lightbox to work in Joomla. This would have been a perfect solution!</p>
<p>Thank you so much for the write-up!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
