HighDots Forums  

CSS - how do I

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss CSS - how do I in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
P. F.
 
Posts: n/a

Default CSS - how do I - 11-04-2004 , 03:58 PM






I know how to creat a style where teh entry in teh styles pallet looks like
..fun or .newtext or .whatever

but

what is the series of mouse clicks to get an entry in css styles that have a
title such as

table.newwidth
or
td.color

so that once there, I can right click on a Table or TD in the (whatever
taht area is called bottom left) and set class newwidth or color

I need to know what the series of clicks are to get the entry into the
styles list.

is there a tutorial on this somewhere?






Reply With Quote
  #2  
Old   
sselden
 
Posts: n/a

Default Re: CSS - how do I - 11-04-2004 , 07:54 PM






Hello,
Try the following steps:
1.Open the CSS panel if not already, window > CSS Styles
2.Click on the New CSS style button at the bottom of the CSS panel
3.In the dialog
--->Selector Type: Advanced
--->Selector: #table.mytag (substitute mytag for whatever you want to call it)
---> Select if the style is for external style sheet or in the document only
--->Click OK
4.Define your style in the following dialogs.

Here are some links to articles about working with CSS.
http://www.macromedia.com/devnet/mx/dreamweaver/articles/css_dreamweaver.html
http://www.macromedia.com/devnet/mx/dreamweaver/articles/dw2004_cssp.html

-
Sharon Selden




Reply With Quote
  #3  
Old   
P.F.
 
Posts: n/a

Default Re: CSS - how do I - 11-05-2004 , 07:46 AM



Thanks for the idea. Unfortunately I could not find an "advanced" in the
"New CSS style" dialog box.

Any other suggestions?

Paul


"sselden" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Hello,
Try the following steps:
1.Open the CSS panel if not already, window > CSS Styles
2.Click on the New CSS style button at the bottom of the CSS panel
3.In the dialog
--->Selector Type: Advanced
--->Selector: #table.mytag (substitute mytag for whatever you want to
call it)
---> Select if the style is for external style sheet or in the document
only
--->Click OK
4.Define your style in the following dialogs.

Here are some links to articles about working with CSS.

http://www.macromedia.com/devnet/mx/dreamweaver/articles/css_dreamweaver.html
http://www.macromedia.com/devnet/mx/dreamweaver/articles/dw2004_cssp.html

-
Sharon Selden






Reply With Quote
  #4  
Old   
sselden
 
Posts: n/a

Default Re: CSS - how do I - 11-05-2004 , 12:28 PM



Hello,
Sorry you couldn't find it. Let me try to describe it better.

1.In the new style dialog, enter the Name of your tag - in this case something
like:
#table.newwidth

2.Underneath the Name field there are 3 radio buttons where you make the
Selector type. The third one is labeled:
"Advanced (IDs, Contextual selectors, etc)"" -- select this.
3. The botton radio buttons, labeled "Define in", determine if your style is
defined in the head of the document or in an external style sheet. Make your
selection and click ok.

You will then be taken to a dialog where you can define your style.

Hope that makes it clearer,
Sharon


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.