View Full Version : Templates and CSS

01-06-2006, 12:52 AM
I am trying to do a simple recipie page template. I want to apply a style sheet to the template so that everypage has the same look. I have created layers and put gif and stuff in them and then defined several editable regions.

The other thing that you might notice is that all of the editable regions are in the same layer. This is fine for now but I would like to be able to center them under the VFRRick logo.

Any suggestions would be great.

http://vfrrick.com/recipie.htm ('http://vfrrick.com/recipie.htm')


01-06-2006, 02:48 PM
Welcome to the forums vfrrick !
What do you need suggestions on?

01-06-2006, 03:55 PM
How to apply a style sheet to a template or regions on a template. So that when they are edited with Contribute they will all look the same.

Creative Insanity
01-06-2006, 04:50 PM
I have just done a VTM on templates.
Just click on the logo at the top and you will see in the center at the top a link called 'Templates with Dreamweaver MX'

01-07-2006, 02:08 AM
The VTM was great but I would still like to know if I can apply CSS to specific editable regions so that region 1 is always a certain font and the same with region 2 and so on.

Creative Insanity
01-07-2006, 07:46 AM
No not that I am aware of since there is nothing in the edable region in the teplate in the first place.
But I guess if you were to place a table in that region in the template you could add css to that table.

01-07-2006, 03:46 PM
So just do different CSS for each table in the template. I will give that a try.

01-07-2006, 04:21 PM
If you are using tables, name each table with an id
e.g. <table "id=region1">
Then in your CSS file you can create separate rules for each id

Or if not using tables you can create a container for each region by using
<span id=area1>, <div id=area1> , etc