dreamweaver-london - divtags
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

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

dreamweaver-london - DivTags

resolvedResolved · Low Priority · Version Standard

replyReply Mon 23 Apr 2007, 15:51Delegate Clare said...

Clare has attended:
Dreamweaver 8 Introduction course

DivTags

Hi,

Can anyone tell me how divtags work?


Thanks
Clare

For upcoming training course dates see: Pricing & availability

replyReply Tue 24 Apr 2007, 09:19Trainer Rich said...

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

 

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


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard