2010-02-26

mckitterick: (computer monkey)
2010-02-26 11:43 am
Entry tags:

Basic linking and image tutorial (plus a little Astro-Porn)

This is Teh Age of Teh Intartubes, and everyone who posts to blogs or has a website should know a little HMTL. Here's how you type a link:

<a href="link-path" target="_blank">Text that shows up in LJ and describes link</a>

Insert the path to your link inside the quotation marks; use the _blank value for the target attribute to open the link in a new tab or window so the reader doesn't get lost and can return to LJ without clicking "back" a hundred times.

If you want to link a photo, use this:

<a href="link-path" target="_blank"><img src="link-to-photo"></a>

Here you have an anchor tag (that's what a does) again, which is what makes the image link to a website, and that link is anchored to an image (that's what img does) instead of text - works the same!

If an image you want to show is really big (on LJ, consider anything wider than 640 pixels to be too big to fit most display styles), you can cheat it down in size by modifying the code like this:

<img src="link-to-photo" width="600">

The width attribute tells the internet browser how wide it should display an image, no matter how wide it originally appeared; note that you don't need to define height in modern browsers.

Here's how it looks in practice, showing some awesome water geysers blasting into space over Saturn's moon, Enceledaus:


Click the image to see the story.


Hope that helps!

Chris
mckitterick: (computer monkey)
2010-02-26 11:43 am
Entry tags:

Basic linking and image tutorial (plus a little Astro-Porn)

This is Teh Age of Teh Intartubes, and everyone who posts to blogs or has a website should know a little HMTL. Here's how you type a link:

<a href="link-path" target="_blank">Text that shows up in LJ and describes link</a>

Insert the path to your link inside the quotation marks; use the _blank value for the target attribute to open the link in a new tab or window so the reader doesn't get lost and can return to LJ without clicking "back" a hundred times.

If you want to link a photo, use this:

<a href="link-path" target="_blank"><img src="link-to-photo"></a>

Here you have an anchor tag (that's what a does) again, which is what makes the image link to a website, and that link is anchored to an image (that's what img does) instead of text - works the same!

If an image you want to show is really big (on LJ, consider anything wider than 640 pixels to be too big to fit most display styles), you can cheat it down in size by modifying the code like this:

<img src="link-to-photo" width="600">

The width attribute tells the internet browser how wide it should display an image, no matter how wide it originally appeared; note that you don't need to define height in modern browsers.

Here's how it looks in practice, showing some awesome water geysers blasting into space over Saturn's moon, Enceledaus:


Click the image to see the story.


Hope that helps!

Chris
mckitterick: (Earth-from-space)
2010-02-26 12:38 pm

Haiti donations still tax-deductible

This is interesting: Taxpayers who want to claim individual donations to nonprofits providing Haiti earthquake relief on their 2009 US tax returns have until Sunday, February 28, to make donations.

So now you have another reason to make another donation: Reduce your taxes! I just did ;-)

The earthquake hit more than a month ago, but the nation is still crushed and the people still need further assistance. What $25 or $100 might mean to you is miniscule compared to what it can do to help others who are suffering and dying just to our south.

Chris
mckitterick: (Earth-from-space)
2010-02-26 12:38 pm

Haiti donations still tax-deductible

This is interesting: Taxpayers who want to claim individual donations to nonprofits providing Haiti earthquake relief on their 2009 US tax returns have until Sunday, February 28, to make donations.

So now you have another reason to make another donation: Reduce your taxes! I just did ;-)

The earthquake hit more than a month ago, but the nation is still crushed and the people still need further assistance. What $25 or $100 might mean to you is miniscule compared to what it can do to help others who are suffering and dying just to our south.

Chris