All of the previous techniques for building a page or template that expands with your content are no longer needed. Now it's as simple as naming your 'frame' layer with the _frame Layer Naming Convention and putting your content inside. Yep, that's all there is to it. Gone are the days of designing a bunch of layers, taking great care that this is inside of that and this is on top of that and editing CSS by hand afterwards.
Just design the frame - the graphics that you want your content to fit wihin. This will include what's above, below, left and right of your content. Make that one layer in your Photoshop file and name it with the _frame Layer Naming Convention. Then make another layer for your content. You can use any of the existing psd2css Online content Layer Naming Conventions (_text, _drupal, Joomla, or _wordpress). Make the content fit within the frame (that only makes sense, right?).
You can even add other psd2css Online layers inside the frame too - they will stay fixed relative to the bottom of the frame - so for example if you want some _lbthumb images or a button, or some text based links to stay in a 'footer' under your content, just draw it in under the content but within the _frame in Photoshop and it will work. Take a look at the video for an example - there is a button in the _frame that stays under the content no matter how much content there is.
When adding features within the _frame to stay under your content, you have to be sure to list the content that you want to expand above all other content in the _frame. For example, suppose you put your content_joomla layer inside a _frame, but you want to put a joomla_footer underneath it inside the same _frame - so when your content grows, your footer pushes down with it. To make it work, you have to make sure the content_joomla layer is listed above the footer_joomla layer in the Layers panel in Photoshop. Whatever _text, _joomla, _drupal or _wordpress layer is listed first in the Layers panel of Photoshop will be the one and only 'expandable' layer that will make the _frame expand. All other layers of any kind will be fixed relative to the bottom of the frame.
Note: - There was a bug originally with the _frame feature that if you did add other expandable features (2 _text layers for example), you got an error. This has been fixed and the above paragraph is now true
Here is the PSD file used in the tutorial:
http://psd2cssonline.com/tutorials/frame/frame.psd
Here is a link to what was generated in the tutorial for HTML/CSS (no code was written by hand!):
http://psd2cssonline.com/tutorials/frame/index.html
Here is the video tutorial:
Here is the video tutorial:

Wordpress Frames
Hey Shaun,
Your site is simply amazing, I'm still learning, but I'm confident once I have this town it will revolutionize the way I create websites.
I've gone ahead and created a WordPress template and I am having a couple issues. Basically, I have a PSD with a _bodybg as my bottom layer, then a _bkgnd_frame as my site design. On top of that are some _link's and _linkover's, then I have three areas which are content_wordpress and designsync_twitter and sidebar_wordpress.
I have it laid out as one big vertical rectangle to the left which is my content_wordpress and then stacked on top of each other to the right of it is _twitter then below sidebar_wordpress.
However, when I make the theme, it's going crazy! I can't get my content and twitter to line up at the top with each other and the sidebar is usually under/over the twitter area and a ways down the content_wordpress.
Got any ideas?
Thank You,
Tommy
_frame
Is it possible to cascade frames?
Hi bastaaa - Not yet. At the
Hi bastaaa -
Not yet. At the moment neither embedding one _frame within another, nor putting a _frame below another and expecting the bottom one to move as the top one grows is supported. Both of those sorts of things are of course possible with some JS and CSS coding, but the psd2css Online code generated doesn't do those yet.
--
Shaun
Ok, I just made myself a
Ok, I just made myself a liar.
You can put multiple _frames one above the other. You just need to:
1) add _relative to the _frame layer names
2) put them all in some container layer.
That's it. Check it out:
http://psd2cssonline.com/tutorials/3frames/index.html
Video tutorial is uploading to youtube now...
Thanks!
--
Shaun
What about a transparent expanding text area?
When I've experimented with this new feature, it always uses the actual graphic as the background of the expanding area. What if I wanted the expanding text area to be transparent so that the text would appear over the repeating background of the page? I tried using _frame_empty, but that did not work.
content_joomla Still Does Not Expand With _frame
Several people have mentioned this on different tutorials and all of their questions were ignored. The main Joomla content section does not extend to the size of its content. Putting a _frame layer immediately beneath and around a content_joomla layer does not make it expand.
Please help and address this issue. It is **important**.
Widgetized
You are a Genius!! Pure Genius! A true Game Changer. If you can figure out how to widgetize your wordpress themes then I will have to bake you a cake or something.... I use a theme called flex right now in wordpress and I love it cuz I can customize it to a certain degree but I am waiting for the day when psd2cssonline will create wordpress themes that can be widgetized and categories can go across the top header!!! Till then keep up the Godly work!!
Hi cailaDanielle - Well I'm
Hi cailaDanielle -
Well I'm half way there! :)
The WordPress themes created now are Widgetized. The WordPress engine recognizes a theme generated today as widgetized and you can add as many widgets to the sidebar as you would like.
Still working on the categories across the top however...
Thanks!
--
Shaun
Footer in the _frame won't work
Hi,
I love the _frame option, it works great for my joomla template.
But I now tried adding a joomla footer to the bottom (within the _frame) and it won't work. doesn't stay in the bottom, or doesn't upload my file.
I get the exact same problem,
I get the exact same problem, going to have to do it the relative way too work
Hi vivoo and yavi - Yep -
Hi vivoo and yahli -
Yep - there was a bug that has been fixed. You can put more than one _joomla, _drupal, _wordpress or _text layer in the frame now. But only one of them will make the frame expand - that is the one listed first in the Layers Panel in Photoshop. Give that a try now and let me know if it does what you want.
Thanks!
--
Shaun
High Schools and libraries will be named after you
'_frame' is amazing! I no longer fear expanding text. Drupal and Wordpress are once again my friends. Thanks so much, Shaun.