HighDots Forums  

adding a class to the body tab

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss adding a class to the body tab in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
I Love Doing Websites
 
Posts: n/a

Default adding a class to the body tab - 04-02-2009 , 01:40 PM






Hello,

I am learning css with dreamweaver cs3, there is an example in the book where
some links are going to have an arrow if you are in certain page, for this you
put a class in the body tag: <body class=" visiting">, my question is: how can
you do that and if you can do that while you are working with templates.

thanks in advance


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

Default Re: adding a class to the body tab - 04-02-2009 , 02:06 PM






[Q]I am learning css with dreamweaver cs3, there is an example in the book
where some links are going to have an arrow if you are in certain page, for
this you put a class in the body tag: <body class=" visiting">, my question is:
how can you do that and if you can do that while you are working with
templates.[/Q]

Firstly, you should build your template as if it were an ordinary webpage with
special features.

Secondly, your <body> tag contains a class attribute that refers to a CSS rule
called .visiting.

If it is written properly, this rule will be located either in the <head> tag
of your document, or in an attached CSS file. If it is located in the <head>
tag of your document, then you will find it contained in a <style> tag with a
type attribute whose value is "text/css".

Roddy :smile;





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.