dreamweaver-london - divtags

Forum home » Delegate support and help forum » Dreamweaver Training and help » dreamweaver-london - DivTags

dreamweaver-london - DivTags

resolvedResolved · Low Priority · Version Standard

Clare has attended:
Dreamweaver 8 Introduction course

DivTags

Hi,

Can anyone tell me how divtags work?


Thanks
Clare

RE: DivTags

Hi Claire,

DIV tags define a division or section in a document. They make web pages easier to manage, style, and manipulate.

DIV tags are not meant to replace P tags, as these are for paragraphs only. DIVs define more general divisions within a document. Also, DIV tags can contain nearly any other tag, but they can't be inside P tags.

It's a good idea to label DIV. For example, if you're defining the main content area of your site, you should name that DIV tag "maincontent". <DIV ID="maincontent">

This can make styling your document easier, as you may create a CSS style called #maincontent with all the border, background and any font styles you may like, and the maincontent DIV tag will then have those style properties.

I hope this helps and that you enjoyed your Dreamweaver Introduction course the other day.

If you have any further questions, please reply to this post, otherwise, please mark this question as resolved.

Regards, Rich

 

Training courses

 

Training information:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.


 

Dreamweaver tip:

JumpMenu in new window

When inserting a jumpmenu to a page, the only option available for 'open in' is usually 'main window'. There would be other options available if the page was a frameset.

To change the jumpmenu to open in a new window, change the target parameter of the selectbox in your code to 'window.open()'.

eg.

<select name="menu1" onChange="MM_jumpMenu('window.open()',this,0)">


source:
http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_16166& ;sliceId=1

View all Dreamweaver hints and tips


Server loaded in 0.07 secs.