Tame your posts: Part 1 - Images
By ezra vancilOk, so I'm a control freak. But, if you think about it that's actually not a bad quality for a designer,Ok, so I'm a control freak. But, if you think about it that's actually not a bad quality for a designer, though my wife may differ. My wife and I had a little tiff the other day over a blog post. See, she found a tragic story of someone being persecuted in a foreign country, that i don't remember right now, and she wanted to post it right away for the other members to see. It was a worthy post for my other network, little pray box, so why did I nearly fall over the coffee room table trying to delete it. Well, because I'm a control freak and the post looked horrible, with bullets and ordered lists naked and plain, images that had no style. It simply made my design look bad. Man, did she get mad; she said I cared about my site more than the people in whatever country that was. I tried to explain that my site looking like that was like her out to dinner with a dangling booger. She didn't get it. I finally had some time and fixed the post up a bit, and then I decided I wouldn't allow my members to put ugly lists and plain-jane pics on my blog. So I got out the CSS. Now the truth is, they can always override my styles if they are handy with the HTML editor in the post section. But I don't think many will, and if they do, they will be banned. :) We'll work with the few tags that are provided in a blog post. <ul>, <li>, <ol> <img> <a>, and there is also <span> and <p> but we will hit those later.
Images
Here is how to give your member's or your images a little style. This is a simple example, but with a little imagination, you could do wonders. If anything you can bring a little pf your sites theme and colors into the posts and therefore have more consistency... and you can't get enough of that.
I will style this in my site theme.css, that way whenever someone posts a image it will have the style applied.
We will be working with the "img" tag, but I've got "imgs" all over the site so I have to narrow it down to just the blog posts and I'll do it with the class ".blog-entry"
We'll grab the post IMG by telling it who its daddy is:
.blog-entry img {
padding: 10px;
}
We're going to make a frame on this, so we need some padding:
.blog-entry img {
padding: 10px;
}
Give the background a slight color variation:
.blog-entry img {
padding: 10px;
background: #ebf1cf;
}
and now our border and wa'la (You coul also use the "outline" property for multi-colored double outline):
.blog-entry img {
padding: 10px;
background: #ebf1cf;
border: 1px solid #e2e7b1;
}
Here is The Result:
NEXT TIME
In the next article of Tame your Post, we are going to look at a few potential problems with styling your LINKS and IMG elements and see what we can do to fix them.
101 CSS/XHTML: Your P's & Q's
By ezra vancilLike them or not, terms are very important, but truthfully you don't have to know any of them to make up a mess of code. I actually didn't know one term of HTML or CSS until about 1 year in and a few national awards richer. I finally admitted my ignorance when I got embarrassed at a awards ceremony when I couldn't even enter in a conversation about my own site! So... I figured, I better learn some P's and Q's. And, you will too if you ever want to communicate with another developer coherently, or to know what the hell I'm talking about... because, though I do use "tags" when I'm talking to my dog and children (My quality assurance managers), I will use the actual terms with you, because I don't want you to bare the shame of calling a selector a property in the wrong crowd.
Here is a visual layout of all the most common terms, or at least, most of the ones you'll need to follow in our podcast, until we get into parent child selectors, nth selectors etc.. but we'll make sure your up to speed.


101 Fundamentals: Selectors
By ezra vancilI've had allot of questions from other Socialgo'ers that smelled strangely of my early days and I want to scream stop! go back to go and collect $200. I decided to create a ground zero fundamentals series, and I hope it's helpful to those brand new to code, and those looking to sturdy their foundation.
A huge mistake I made, and still constantly make, is the lust for instant gratification at the expense of knowing what I'm consuming. Translated to XHTML and CSS this seemingly ambitious drive to get to the good stuff, causes what I call Rat's nest Code. Hey, but it does the trick right? Maybe, kinda like duck tape does the trick.
The problem with racing down the road with out knowing what all the road signs mean is you'll eventually collide head first with a pedestrian, and that pedestrian is usually one of your pissed off users, a client or a boss. How this happened to me, countless times, is I got the site going, looking good -- by the skin of my teeth. Then 4 months later, after I had done twenty more sites, tragedy struck. Something goes wrong, someone sneezed on your CSS or something and you got to go rescue the site. Well I would open up those four month old sites and nearly collapse. I didn't remember what I did, or how I did it. I had ripped most of the code from other sites and the rest ducked taped together with 20 different tutorials from 20 different versions of how to code. I can't tell you how many cuss words I learned back then, some of them would make the 18+ sights blush.
For you as a socialgo network owner,it probably will mean loss of members, loss of profits, loss of confidence.I've only been at socialgo for a short time, and I have already broken my sites, in a big way, accidentally. ( Usually because if you have several networks, whenever you go to admin it still pops back to your first network on the list. well, I'd go in the wrong network and start deleting stuff and so on..)
The malfunction, for me at least, was simply that I didn't know what the hell I was doing and didn't want to admit it. I'd learned how to steel code and make it work, but I never learned how to write code and understand how it was supposed to work together.
I finally forced myself to re-read all those books on my shelf and pay attention to the 90% I skipped over.
(By the way, after my little sermon, my code is still ratty... I'm working on it)
This is the real beginning fundamentals, so if you know all this please skip to the next blog.
SIMPLE SELECTOR
A HTML page is made up of ELEMENTS and ELEMENTS are different structures like buildings.
Here is a <p> ELEMENT:
<p>I talk to my dog because Farty the cat has bad breath</p>
With a CSS SELECTOR, I can grab hold of a TAG by it's NAME Like this:
p {}
Thats it!
p is <p>'s name. This is a SIMPLE SELECTOR because it's so damn simple. Now I can tell this p what to do with CSS.
ID SELECTOR
But, hell there are like two thousand<p>'s in my network, what if I just want to grab hold of one element that talks about my dog's breath. Just like I my State ID refers to me in a broad term saying that I am a MALE- and then in a specific term, that I am EZRA. The element works the same. I just have to give it the specific name, we'll call it Hara because that's my dogs name.
<p id="hara>
Now! I'm going to call my dog and tell it what to do in CSS.
#hara {}
That's it! This is a ID SELECTOR. Class SELECTOR
Now, lets say my Network is all about dogs and cats and I want all the Cat Elements to be orange and the dog Elements to be blue. Because dogs and cats are two different CLASSES of animals; I have to give them a CLASS so instead of a specific name ID like
<p id="hara_the_dog">
<p id="farty_the_cat">
I'll give them a class so I can call all the dogs and cats:
<p class="dog">
<p class="cat">
Think of it this way:
<p> = animal
<p class="dog"> = dog
<p id="hara"> = my dog
now I'll call the cats with CSS:
.cat {}
Thats it. This is a CLASS SELECTOR. Wrap it up Now
To close it all up I'll show you what it looks like when I order my dogs and cats to be orange and blue. We'll do this by commanding the selectors with Properties and Values which we will be covering in the next lesson. Here is a peek at how it looks all together:
.cat {
color: orange;
}
.dog {
color: blue;
}
and i'll make my dog pink.
#hara {
color: pink;
}
Welcome to Pro socialgo
By ezra vancilThe Blog
This is the place you will come for the latest news and any rumors we can squeeze out of the guys over at widget laboratory, the premiere widget developer for socialgo. We will accept articles from members that fit our standards, and would love to find some good guest or staff writers. We will also be posting detailed tips at least once a week that may or may not correspond to our podcast. Hey! That reminds me... the podcast.
Podcast
Once a week you can look forward to the Pro socialgo Podcast, It's not up at the time that I'm writing this, but you can catch a sample edition on the welcome page (scroll down a bit). The podcast is made to compliment the information you receive here as a member and also to gain new recruits. It will cover the basics of creating a network on to CSS and graphics. We hope to wade in some deep waters on the podcast, but the real meat is for the members.
Tutorial Series
Once a month we will release a in-depth tutorial to members only. This series will cover many aspects of design, and CSS. We want the Podcast to carry most of the CSS load and the Tutorials the graphics and design. We will go through very technical aspects of apps such as Photoshop, Illustrator, Flash and Fireworks but also have more Imaginative design casts that will focus on the fundamentals of design.
Marketing Insider
With the help of our, as now unannounced partners, we will provide our members with a monthly insider magazine. This will be a PDF that follows a linear Marketing plan for our Networks. There will be lots of help in link building, social marketing, and even some on profit and how to get it. If you miss a edition, no worries just pick it up at our store for free.
Pro Store
Our store will hopefully launch a few months after Pro socialgo's launch. The members will receive a 15% discount on all purchases. But what will there be to purchase? I will be selling all my son's toys and my wife's angel collection at bargain prices. :) JK. Actually we will have Template starter Kits, Notable books and reference guides, DVD training, HTML slicing and code snips all to directly impact your network.
If that's not enough, there will also be give-aways and door prizes galore, Site reviews and my ugly avatar's mug will be hanging out around the forum trying to answer as many questions as I can and still get work done.
I hope you join us and help build a truly useful community.
-ezra
5 CSS Hammers for 5 Jobs
By ezra vancil
Firebug
This is my big ass deck hammer... You probably have heard of this one or have it. In it's most basic use, it allows you to analyze visually the html next to the CSS. f I use this allot when I can't seem to find a sneaky attribute or tag in dreamweaver or cssEdit. for some reason I always find it with this little bug. It does allot more too, like inspecting DOM, which has helped me a ton lately on finding how a certain effect is constructed on a site. But, overwhelmingly I use it at the very end of designing my network. After I've carefully coded my page design in a css editor I plop it in socialgo and low and behold my footer is shooting off 20 miles to the west. This is usually because I deleted a CSS declaration instead of replacing it, and now the socialgo template is trumping my selector. So, I pull it up in firefox, find the offending selector and fix it right there, copy and paste it into my CSS. (IMPORTANT! Remove the code line data!!! or your $%^&) So it's more like a de-bugger for me.

Css Veiwer
This is my tack hammer I use all over the house and is always in close reach. It is a very simple plugin and does it's job beautifully. Just hover over an element and you get a very easy to read style guide to that element. Ya firebug does this too, but this is for quickies when I'm on a site and I just want to see quickly and clearly how someone accomplished an effect. You don't have to go back and for to the firebug window pain, it just pops up on screen and you are enlightened and face a deep moral de-lima whether you will just swipe it and run, or actually learn something and do it yourself and escape the fires of web developer hell where you are force to view all your creations on IE5 (mac) on a 600x401 screen (it's that one extra pixel that kills you) for eternity.

EditCSS
Just recently turned on to this one and man it's cool. It's my big fat monkey roof hammer (that I know all too well). I can just pound away and always seem to hit something I'm supposed to. Once I have been working on my style sheets for a couple of weeks I can read them like Joseph smith (mormon founder) throu a funky hat, one selector at a time. So when I know it this well it's easy to open up EditCSS and make a few big changes on the fly. firebug doesn't allow you to add selectors (if I'm wrong please help) though you can add declarations. You can addanything with EditCSS and watch it change on the fly. This would be great for those of you that want the live preview but don't want to drop the dough on CSSEdit, or that other PC version that just slipped my mind.
Web Developer
This one is my scratcher hammer. I used to use it much more than I do today. the CSS editor is a steaming pie and some other functions also are useless in my book. I actually
said I liked this plug-in on a podcast, I think I was mixed up. But I do scratch with it every once in awhile and where it gets the itch is downloading style sheets for my network, keeps the format most of the time when I just copy and paste and of course you can just use the url it gives you.
I have a few others but they are just nostalgia. Enjoy, and let me know which one is your favorite hammer.