Dreamweaver Question
I've just started playing around with Dreamweaver 4. It really makes style sheets easy with a form allowing you to chose the properties and their relevant values. But what if I want to place a style property in a tag ie How do I make use of dw's knowledge of css to do this?
Andy Kohlenberg
Jerusalem, Israel
Busy posted this at 09:24 — 24th December 2001.
He has: 6,151 posts
Joined: May 2001
DW is very one sided on CSS, and not very universal, if you want a style editor get a independant one, from places like download.com, tucows etc, one I played around with once was called easystyle, click of a button and your done, listed almost every style option, very easy to use.
Learning CSS is a better way thou
If you have mutli pages you may want to change at some date, use external style sheets (a file with .css extension added by a tag) will save you lots of time editing at a later date.
disaster-master posted this at 09:47 — 24th December 2001.
She has: 2,154 posts
Joined: May 2001
On the DW screen at the top where you see File, Edit, View, Insert, Modify and Text.... click on Text and then choose "CSS Styles" and then "New Style".
Next, where you select Type, select "Redefine HTML Tag. You should see the H1 - H6's there. Then choose which you want to add the css properties to and click OK. You should be able to take it from there.
Someone may have a better way to do this but that is how I figured it out.
The Webmistress posted this at 14:46 — 24th December 2001.
She has: 5,586 posts
Joined: Feb 2001
There are some good tutorials on css here and they are specific to DW as they also do extensions for DW as well.
akohl posted this at 13:15 — 28th December 2001.
They have: 117 posts
Joined: Feb 2001
Thanks for the help. Basically, I understood that if you want to place a style property into an indivudual tag, you have to do it manually in dw.
The suggestion about using the style menu in dw to redifine html tags was not what I wanted. I wanted to give a style property to one individual tag, not all the h1 tags in the site.
thanks for suggesting easystyle. I downloaded it but didn't try it out yet.
Andy Kohlenberg
Jerusalem, Israel
The Webmistress posted this at 13:21 — 28th December 2001.
She has: 5,586 posts
Joined: Feb 2001
You'll have to do it the way disaster-master said but make sure that you check 'This document only' then it'll just apply that style to that page only.
Julia - if life was meant to be easy Michael Angelo would have painted the floor....
taff posted this at 13:28 — 28th December 2001.
They have: 956 posts
Joined: Jun 2001
Try TopStyle - they have a free lite version.
http://www.bradsoft.com/topstyle/index.asp
It integrates nicely with HomeSite (ships with it actually) and apparently with Dreamweaver although I haven't actually tried the latter.
In HS it is as simple as rightclicking the tag, edit, style. TopStyle fires up with a dropdown list of all the valid attributes for that tag.
.....
akohl posted this at 11:36 — 30th December 2001.
They have: 117 posts
Joined: Feb 2001
Webmistress's suggestion will put style tags on the individual page and apply the style to all of a given class or style on that page, whereas I wanted to apply it to one instance of the tag.
I'll be downloading topstyle now.
Sounds great. I hope its really free.
Andy Kohlenberg
Jerusalem, Israel
Suzanne posted this at 04:24 — 31st December 2001.
She has: 5,507 posts
Joined: Feb 2000
you just want to do it once, for one tag?
go into the text editor.
Add style="declaration: value;" to that element.
declaration is of course what you want to change (color, font-family, whatever) and value is its value.
Suzanne
akohl posted this at 13:42 — 1st January 2002.
They have: 117 posts
Joined: Feb 2001
Thanks all!
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.