Saturday, November 21, 2009

Attach an External Style Sheet in Dreamweaver

Open the CSS Styles Pane if it is not open (will be on the right side).
(to open - Window, CSS Styles)

Lower right corner of that pane....point to the first icon and it will say Attach Style Sheet. Click it to attach.

Some Dreamweaver templates available for purchase on the web use "@import link" for the stylesheet. The import will cause the web page to display first without the help of the stylesheet (very quickly) then show the formatted web page using the stylesheet.

You can solve that by changing the "@import link" for the stylesheet to a direct link. Just remove that line of code, then reattach the stylesheet in Dreamweaver using the method described above.

Thursday, November 5, 2009

How to Add HTML Code To Your Blogger Post

Want to add HTML code into your Blogger blog? Use this website:


http://www.simplebits.com/cgi-bin/simplecode.pl




Just enter your normal HTML code into the "Enter Markup" box.

Click the Process button.

Copy the code that is generated into the "Cut 'N Paste" box to your blog post.

This site will spit out entity-encoded markup suitable for code examples.

How to Add "Tweet This" to Your Website


Want your website visitors to share your website with their tweeting friends on Twitter? It's easy - just add the following code to your website pages:


<a href="http://twitter.com/home?status=Put your 140 maximum character message here." target="_blank">TWEET this</a>


Replace the Put your 140 maximum character message here. above with whatever message you want your visitors to tweet about.

An example for the message would be:
Checking out FREE craft patterns - See them yourself at CraftFreebies.com.
With the message above, your code will look like this:


<a href="http://twitter.com/home?status=Checking out FREE craft patterns - See them yourself at CraftFreebies.com." target="_blank">TWEET this</a>


------------------------------------------------------------------------------------------

Want to use an image with the code rather than text? Use this code:


<a href="http://twitter.com/home?status=Checking out FREE craft patterns - See them yourself at CraftFreebies.com!" target="_blank"><img src="http://www.woodworkingplanz.com/tweet.jpg" alt="Tweet this on Twitter" width="170" height="51" border="0">


(be sure to fix the image source above to point to the image on your server without the http://etc.) This will open the Twitter window in a new page.


You can view my Tweet this! image in action on www.CraftFreebies.com.

The code above will add your image with the Twitter code so your website visitors can broadcast your website to their friends on Twitter.

------------------------------------------------------------------------------------------

19% of online people use Twitter now, so adding a link to Twitter should increase your website visitors also.

FYI - The codes above will send whoever clicks on your link to Twitter, where they will have to login if they are not already logged in. Then the "What are you doing" Twitter box will be automatically filled in with the text you included in the link. For example, "Checking out FREE craft patterns - See them yourself at CraftFreebies.com!" All ready for them to tweet!