Decorating

Would you pay over $1 million for this house?

I’m sure I’ve mentioned before that I love to stalk the houses for sale in my neighbourhood and other neighbourhoods across the country. I stumbled across this posting recently and I’m a little stunned that their realtor thought that putting pictures like these on MLS would help sell an over $1 million house (1,099,000 to be exact).

The house is on a pretty major street in a pretty expensive suburb of Toronto, so real estate is already on the high side. And, structurally, it looks like a good-sized house with a lot of land (125 x 125 feet) that is zoned for commercial use, though it’s currently used for residential.
So in the grand scheme of real estate, the price is pretty on par for what else is available. But nothing about this:

this…

or even this:

say $1 million to me…

What do you think? Would location win out for you (main street, lots of traffic, but steps to lots of cute shops), or do you need a little more oomph on the inside to drop that kind of money?

WordPress

Aligning images in your text

When uploading images in WordPress, you have the option of choosing your alignment – left, right, center and none. If you choose none or center, the text will not float up beside the image.

WordPress Image alignment

Click the image to see it bigger

If you choose left or right, the image will shift over to the left or the right, and the text below it will float up beside the image.

The problem is, when browsers render HTML, they tend to squish everything up into every possible space, so if you have another image or another paragraph that you don’t want to float up, how do you keep them from doing that?

What we need to do is find a way of telling the browser to stop floating in a certain place. So, we create a bit of CSS to provide this stop. First, we’ll add the CSS to our stylesheet:

.clear {clear:both;}

Before you add this to style.css, check to make sure that there isn’t a class called ‘clear’ already in your stylesheet. If there is, give your new class a different name. It doesn’t matter what you call it, just make it something you’ll remember and associate with what you’re trying to do. (If you’re a client of mine, it’s almost certainly already in your stylesheet…)

Once that class exists in our stylesheet we can now add that class to any element on our site. To do this, we will need to be in the HTML view tab of your post or your page. WordPress tends to get a little confused if you switch back and forth between HTML and Visual view, so once you’ve switched to HTML view on a particular post, you’re probably going to want to stay there, just to be on the safe side…

Now, let’s say we have an image that we’ve floated to the left, and three short paragraphs that follow the image, but we only want two of those paragraphs to float up beside the image, and the third to be underneath both the image and the paragraphs. By applying our ‘clear’ class, we’re telling the browser, if there was anything above this element that was floated, it doesn’t matter, push this element to below the longest of the floated elements.

In the HTML view, we’re going to need to add a paragraph tag around the paragraph we want to push down, so it looks like this:

<p class="clear">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed mollis, dui dapibus feugiat luctus, nisi mauris tincidunt tortor, eu congue purus massa in tortor. Pellentesque urna eros, malesuada a semper ut, vehicula a est. Mauris vel orci vitae ipsum malesuada dictum eget mattis velit. </p>

Note the tag at the beginning of the paragraph, and again at the end of the paragraph. You won’t need to do this on every paragraph – WordPress will automatically add it to every paragraph – only on the ones you want to change – like by adding a class to the paragraph.

Another option is to just add in a bit of code at the place where you want the break to accomplish the same thing. Something like this:

<div class="clear"></div>

The class="clear" can be added to any element – an image, a paragraph, a list, a title, anything – and with the CSS in place in your stylesheet, it will always push that element to the bottom of the longest element that was floated above it.

So, with this code, this:

floating images

Click the image to see it bigger


becomes this:
clearing floats

Click the image to see it bigger


and the code looks like this:

<p>Left-aligned image with no caption, and text before and after. <img width="300" height="199" class="alignleft size-full wp-image-535" title="test-image-landscape" alt="" src="http://localhost:8888/betawp/wp-content/uploads/2010/08/test-image-landscape.jpg"> Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed odio nibh, tincidunt adipiscing, pretium nec, tincidunt id, enim. Fusce scelerisque nunc vitae nisl. Quisque quis urna in velit dictum pellentesque. Vivamus a quam.</p> <p class="clear">Curabitur eu tortor id turpis tristique adipiscing. Morbi blandit. Maecenas vel est. Nunc aliquam, orci at accumsan commodo, libero nibh euismod augue, a ullamcorper velit dui et purus. Aenean volutpat, ipsum ac imperdiet fermentum, dui dui suscipit arcu, vitae dictum purus diam ac ligula.</p>

And now, you can float your elements, and still decide what floats… and what doesn’t.

Decorating

Naked men and really should be locked doors

It was a beautiful day and the idea of spending one more summer day locked inside, staring at my computer screen, was making me more than a little unhappy, so we got in the car and started to drive. While the weather is nice, you’ll see tons of open house signs on every street corner, so I pulled out my trusty iPhone and Realtor.ca app, and mapped out a plan of houses to check out.

Not that we’re looking to buy a new house any time soon – first, our house is definitely not in a place where we could even think about selling, and second, I still need that lottery win to get my lake-view manor with indoor pool.

But I always love poking around other people’s houses for decorating ideas and to get a feel for the market in our area in case we do decide to sell.

So, following the map, we popped into a few houses. (I’m kind of astounded that a newer house that’s smaller than ours, with about a quarter of the backyard, but with a garage, which we don’t have, is going for a good $200K more than what I paid two years ago. ouch.)

Until we got to the one I was really looking forward to seeing. We pull up, check that there’s a for sale sign out front, and walk in. Yep, lock box on the door, ubiquitous ‘please remove your shows’ sign in the front hall, we’re good. Until we stepped inside. And an almost completely naked man comes running down the stairs.

(Sadly, this was not our first encounter with a naked man while house hunting – the last time the guy went into the room beside the room we were in and started stripping, knowing we were about to walk in. But he was a renter trying to discourage people from buying the house and evicting him from his home…)

But this time, they’d cancelled the open house, but hadn’t updated the website, so they were still showing as an active open house… which is why we were there. But seriously, if you’re going to be sitting around in your tightey whiteys at the time you’re supposed to be having an open house, maybe you want to lock your doors?

So, we apologized about a thousand times and booted the heck out of there, but I’m still embarrassed about the whole thing…. though we can’t completely be held to blame. I mean… this is the Toronto area, you don’t exactly expect people to leave their doors unlocked.

In the end, I really didn’t see anything I was in love with. We really like the neighbourhood we’re in,  and the house works for us – despite all the problems we’re having (hey, at least we have electricity again… :D ). But I did get my chance to see what’s out there, which is always fun.

So, am I the only one who wanders open houses for no other reason than curiosity?

WordPress

Looking for a few good beta testers…

I’m in the process of updating and upgrading my Damasking theme, which is currently available in the WordPress codex. I’ve completely overhauled it under the hood, and I’d like a few good testers to try to break it. The more browsers you can look at it in, the more things you try to do to it, the better. :)

If you have a self-hosted WordPress site and are willing to give this a go, please leave me a comment, or email me.

Thanks.

Uncategorized

Snow day!

The only problem with working at home… even when the rest of the city has shut down, you can’t really say you had a hard time getting through traffic to the office. ;)

Uncategorized

How excited am I?

Since my theatre days in University, there’s one thing I’ve always wanted to learn. And *cough*too many*cough* years later, I’m finally taking the plunge. Classes start tomorrow night…

Uncategorized

Sunday Afternoon

I don’t think there’s anything better than spending a freezing cold Sunday afternoon in your schleppy clothes, wrapped in a cozy blanket, with a fire burning, while watching a sparkly vampire marathon and reading design blogs…

News

Happy New Year!

Stuff

I like my vampires sparkly and on my tv

Is what I wish I’d waited to say until *after* the nurse finished taking
my blood. Week three of a giant green and purple bruise on my arm. Ow.

Stuff

Mr Shue, You’re no Donald O’Connor

Dear Glee, Please stop killing my favourite movies. kthxbai.