How to Post Blog Photos Side-By-Side
8:00 PM | Posted by
Donald
When I have several photos to use in my blog, I place them side-by-side and sometimes in multiple rows. Not long ago, I posted these snow scene photos on my blog.
These photos are in one table of three rows with two photos per row. If you think of a spreadsheet, the photos are like the data in each cell of the spreadsheet.
Here is the same code, only instead of photos, I typed text "photo n" for each cell. I put a border around these cells to emphasize the table. The border is an option with the table tag. In other words, this is how you create a text table in html!
photo 1 | photo 2 |
photo 3 | photo 4 |
photo 5 | photo 6 |
These photos were first uploaded to Picasa instead of directly into Blogger. I wanted to use the "medium 400px" size that is available in Picasa.
There are three html tags that I used, as shown in the tag definition box. I defined ONE table, THREE rows (tr), and TWO photos (td) per row.
The coding is nested. The table is the largest element, so it is the outer wrapper. The rows wrap the data. Wherever you see a "/" in the tag, that is the end tag.
In the next box, you'll see that the code runs together. Because Blogger adds a hard "return" at the end of a sentence, the code has to wrap. This makes it difficult to read. It takes getting used to, but after you've done this a few times, the coding will not be that difficult.
This is the actual code for the snow scene photos.
If you write your code and the photos are not aligned, then you may have to delete blank spaces between every tag.
As you get comfortable with using tables to align photos, you can try different size photos as I did when posting three photos in a group for a recent Garden Inspiration story.
Here is a link to my favorite html table resource. I hope this is helpful.
Photos and instructions by Freda Cameron
Labels:
home
Subscribe to:
Post Comments (Atom)
Categories
- artists
- Asclepias
- Asclepias incarnata
- book review
- butterfly garden
- Container garden
- cottage garden
- Deer
- deer resistant
- drought and xeric
- environment
- Europe
- favorite accent
- favorite combination
- Flower
- flower bulbs and seeds
- food
- fragrance garden
- Garden
- garden design
- garden inspiration
- Gardens
- Gravel
- gravel garden
- home
- Home and Garden
- Hunger Games
- Irises
- Japanese iris
- Leaf
- Little Lime
- meadow
- Monarch
- Monarch Butterflies
- Monarch Butterfly
- Monarda
- Monet
- musings
- North Carolina
- nursery review
- Pest and Disease Control
- Plant
- plant care
- Plants A-F
- Plants G-L
- Plants M-Z
- Public
- Purple milkweed
- rabbit resistant
- Recreation
- rose_campion
- seasons
- Shopping
- Shrub
- sources
- Stemware
- Sweet pea
- technology
- travel
- United States
- Wayside
- wildlife
- Wine
Archive
-
▼
2009
(182)
-
▼
February
(15)
- Garden of Optimism
- Have a Berry Happy Bird Day with Holly
- Tiny Teardrops on the Weeping Willow
- I'll Have a Cement Bunny, Please
- Fearrington Folk Art Show
- Dreams Seeded with Reality
- White Chocolate Pairs Well with Raspberry Wine
- Life and Science - Not Just for Kids!
- Time for a Trim
- Winter Thyme for Crocus
- How to Post Blog Photos Side-By-Side
- How to Add Captions to Blog Photos
- Winter Color Search: Blue Sky and Red Berries
- Spring Preview: A Simple Daffodil
- Eucalyptus: I Am Not A Detective or a Koala
-
▼
February
(15)
Powered by Blogger.
Popular Posts
-
The image of a table laden with a bountiful harvest isn't just for Thanksgiving. Local farmers' markets and Community Supported Agri...
-
By Freda Cameron Although the weather has passed for planting, this is a great time to plan a garden with the children in your family. Durin...
-
George Washington's Mount Vernon is a reminder of the self-sufficiency of farms of historical significance. Did you know that Washingto...
-
Coreopsis ' Star Cluster ' in bloom with companions Eucomis 'Sparkling Burgundy' ( foliage left) echinacea (multiple...
-
There are few plants in the garden that are virtually maintenance-free. My favorite foliage plant is carex hachijoensis 'Evergold' ...
-
I tried to make a garden plan when I spread the soil in fall 2006 to create the outer gardens. I researched and researched the right plant...
-
These "green" disfigured coneflowers were removed and destroyed. I didn't plant any new " green bloom " echinace...
-
Katie and the Giant Cabbage The idea for Katie’s Krops began with a 9 year old girl and a 40 pound cabbage. In 2008 Katie brought home a ti...
-
May I see your identification please? Theft comes in many forms and recently garden bloggers have discovered that there are bad guys who wi...
-
By Freda Cameron What is the process of working with a professional garden designer? I asked this question at a local garden center that ha...
0 comments:
Post a Comment