How to centre a page (ie a div) in CSS

The aim in this case is to centre the page or a section of a page (a div) but not  centring  the text or images within the  page or block.

So you can’t use text-align: center in your CSS as this will centre text.

The solution is to use either in the CSS for the DIV being centred after the width property:

margin-left: auto ;

margin-right: auto ;

or  you could try:

margin: 10px auto 10px auto;

(the syntax being margin: top right bottom left;)

The article, How to Centre a DIV Block Using CSS by Christopher Heng shows very clearly how to do this in detail.

Steven

SharePoint Q & A

Folks, This post is an omnibus post to document an assortment of questions on SharePoint 2010 that I have had recently.

SharePoint 2010 and Farms

This area is a bit out of my territory – but here is some light reading on getting started: Continue reading “SharePoint Q & A”

Internet Explorer CSS Tips

F12 Internet Explorer Developer Tools for Troubleshooting CSS Issues

A quick tip I picked up from a Microsoft SharePoint tutorial – on CSS and SharePoint was that in IE9 – the F12 function key brings up a set of useful  developer tools. This will be very helpful to me in troubleshooting a new page layout for a client – which behaves itself in all browsers except Internet Explorer.

IE10 Compatibility Checker

While I am sorting out IE9 issues – it will be handy to test for potential IE10 issues while I am about it – learn more about the IE10 Compat Inspector 

Simple Calculations in LiveCycle Designer

The following flash movie shows how to create simple calculations in LiveCycle Designer

An important initial step is not shown in the video – choosing the scripting language.

In the video I am using FormCalc

To set the form to use FormCalc

  1. Select File Menu
  2. Choose Form Properties
  3. Click the Default Tab or Page
  4. Select FormCalc (the alternative is JavaScript)
  5. Click OK

The  video is in swf format and is 1270×720 of around 6MB, you may need to scroll to the right to see it properly – when time permits I’ll tidy up the positioning.

Video after the break Continue reading “Simple Calculations in LiveCycle Designer”

Certificate IV in Training and Assessment TAE40110

I have had a few questions about this recently, so here is a brief Q and A discussing cost, why, RPL and time commitments.

Q Why did you do it?

I had a Cert III from a long time ago. As part of my planning in late 2010/early 2011, I reviewed the job ads in Seek and similar resources. All the trainers jobs and contracts were asking for Cert IV.  I also needed a current training certification as part of meeting the standards for Adobe and Microsoft trainer certification programs. In late 2010/early 2011, I was looking at broadening my client base, the Cert IV was an important marketing tool.

Q Why didn’t you just RPL?

It costs the same to do the subject as it does to go through the Recognition of Prior Learning process and I’d have to prepare evidence as well. So I thought doing the course would spread out the work and I might learn something (I did). Continue reading “Certificate IV in Training and Assessment TAE40110”

Captivate 5 Courseware

Q What Course-ware do you use for Captivate?

Answer:

I use and recommend the Captivate Manuals form Icon Logic available from Amazon or from the author (who also has a good newsletter)

These books are 2 days each in full, but I have done customised courses over 2 or 3 days

SharePoint 2010 Reference Books, Study and Training Resources

Q What do I study to prepare for Exam 77-886?

Q What resources are there to help prepare for SharePoint 2010 training of end users?

Answer:

As the answers overlap this post is a mixture of resources useful:

Mail Merge dates in the wrong format

Problem:

I am doing a mail merge in Word with data from an Excel spreadsheet. One of the merge fields displays a date from a column in the Excel data, but the date doesn’t display in the expected format. How do I change the date format?

Answer:

  1. Open the Word Document
  2. Right click on the Date field
  3. Choose Toggle Field codes Continue reading “Mail Merge dates in the wrong format”

Recording Assessment or Training Simulations on Word or PDF Forms with Adobe Captivate

Question: Can we record training simulations or assessments using Word or PDF based forms?

Answer:

PDF Forms

With the PDF forms – Captivate in training or assessment mode added click boxes to the drop down lists, check boxes and text fields as I clicked on them (good).

With Drop down lists and check boxes – It expects the user to click on the exact option you clicked on when recording _ so you will need to make your test instructions clear.

The click boxes were smaller the actual objects – so you will need to resize them to cover the drop down list . Continue reading “Recording Assessment or Training Simulations on Word or PDF Forms with Adobe Captivate”

Too Many Different Cell Formats Error – Excel 2007/Excel 2010

This error can arise when you go to paste data at the end of a list or in a large spreadsheet where some of the following conditions apply:

SharePoint End User Assorted Questions

Sharing an accumulation of answers and resources covering recent questions I have been asked.

Which SharePoint books have you read and found useful?

I have both of the books below on my bookshelf at Safari Books Online. I have downloaded many chapters as pdf to my e-book reader.

SharePoint® 2010 How-To

  • By: Ishai Sagi
  • Publisher: Sams
  • Pub. Date: August 15, 2010
  • Print ISBN-10: 0-672-33335-X
  • Print ISBN-13: 978-0-672-33335-4
  • Web ISBN-10: 0-13-248748-9
  • Web ISBN-13: 978-0-13-248748-1
  • Pages in Print Edition: 400

Microsoft® SharePoint® 2010 Plain & Simple

  • By: Johnathan Lightfoot; Chris Beckett
  • Publisher: Microsoft Press
  • Pub. Date: November 1, 2010
  • Print ISBN-13: 978-0-7356-4228-7
  • Pages in Print Edition: 256

Continue reading “SharePoint End User Assorted Questions”

Need to Use Outlook forms to send attachments and store replies and process information in Excel

Q  How do I use Outlook forms to build a solution which features:

  • Online forms which allow attachments and generate emails to nominated email addresses
  • Ability to send and reply
  • On line reports
  • Ability to store process data  into an Excel spreadsheet

Key points

  • There are a number of ways to do this, Outlook forms isn’t one of them…
  • Use a solution that operates via the web browser
  • I can see either an Dreamweaver/ASP/ASP.net/SQL Server solution or a  SharePoint solution

Option 1: ASP/ASP.net/SQL Server

  • Develop a custom ASP/SQL server application using Dreamweaver with forms and reports accessed via the browser
  • If CDO.sys (or JMAIL or similar) is available then completion of forms can generate emails to nominated e-mail addresses (emails generated by the server – not using email client)
  • Components are also available that allow documents to uploaded via the browser and then attached to the email
  • Input forms can be completly custom and data can be validated client-side and server-side
  • This approach can also use XML to facilitate transfer of data to Excel
  • Database tables and server side code would have to be created – lots of hand coding and testing
  • Completely tailored and custom solution but not something a typical end user can create – you will need IT resources and basic programming skills.

Option 2: SharePoint

  • Use SharePoint site with a document library with attached workflow
  • The Document Library could be customised to add required additional data – additional fields can be required and validated – using built in tools or InfoPath
  • SharePoint provides forms to add and edit information about the document
  • Data is stored in a Library– (actually in an SQL server table, but SharePoint looks after that for us) and can be transferred to Excel in one click
  • A Feedback or Approval workflow will do exactly what is required regarding forwarding documents and associated data for review or approval
  • A workflow can be triggered by a document being added (uploaded) to the library
  • A workflow will cause a link to the document with a customised email message to be sent to a nominated user or group of users for feedback or approval
  • Tasks are created to allow the documents review or approval to be tracked
  • Responses can include comments/request changes etc and will be emailed to a nominated email address
  • Unless a custom workflow is required, a trained SharePoint user with designer permissions could do this – no coding required Recommendation

 

Steven Knight

IT Trainer

Steven Knight Training

 

Keeping pictures in line with text in Word 2007

Question:  Keeping pictures in line with text in Word 2007/Word 2010

Answer:

  • In the document, click in the text where they want the picture to go
  • Select the Insert tab
  • Choose Picture – insert the picture
  • Having inserted the picture, make sure it is still selected
  • From the Picture Tools Tab
  • Choose Wrap TextSquare (or other choice as required)
  • Don’t use Position – you need to leave position as the default “in line with text”
  • If text is added above the image the image will now stay with its associated text, but with the text wrapping around the image.

Steven