Posts: 21 Technical: 9 Comments: 2

HTML and CSS, they arnt THAT hard...

by: kobaj at 2010-01-25 19:41:32

If you come to me with a problem, I will do anything within my power to help you solve it. So long as you are willing to either A. Get the $#@% out of my way. or B. be ready to learn and use some of your own thought process. (And as long as I can actually help you, but that's another story).

Today, I tried to help my friend Craig. Check out the full synapse after the break (with lots o code too!)
Craig is the owner/manager of the website TechOlive.com. Some of you may know that I work for this blog - I used to be a writer, however now I'm mostly only do code and maintenance. Thats not the story for today either. No, Today Craig came to me with a code problem. I can only assume he was helping someone else code a blog. Regardless the following conversation ensued.

I'll skip the boring stuff, He asked me how to code an Image Header.


[19:00] Cra1g: where at?
[19:01] Kobaj: you see div id=header
[19:02] Cra1g: yeah
[19:02] Kobaj: if there is a <script></script> block, and a <form></form> block, below those, inside of the div
[19:03] Cra1g: nope
[19:03] Kobaj: oh
[19:03] Kobaj: do you see this? <div style="margin: 0pt 0pt 0pt 0px; height: 130px; width: 550px; position: relative;"> </div>
[19:04] Cra1g: nope
[19:04] Kobaj: well for %$@3s sake! XD
[19:04] Kobaj: <a href="http://techolive.com">
<div style="margin: 0pt 0pt 0pt 0px; height: 130px; width: 550px; position: relative;"> </div> </a>
[19:04] Kobaj: put that immediatly underneath div id=header
[19:04] Kobaj: and change the url, and change the height and width to be the image size
[19:04] Kobaj: DONE!


Sadly, he didn't understand (whats so hard about that?). He sends me a picture of the current code (a picture?!?!, that $#@$).



I send back, exactly as I had told him earlier.



Thinking this whole thing was over, he questions...


[19:10] Cra1g: this isn't for techolive
[19:11] Cra1g: it's for another website
[19:11] Cra1g: the header has different dimensions and everything


Another worker of TechOlive put it best...


[19:12] Timmie: Because we use our own coding language?
[19:12] Timmie: Goodness


So I send this back.



Pretty clear cut from there I thought, but no.


[19:14] Cra1g: srsly?
[19:15] Kobaj: no, I've been lying this whole time
[19:16] Cra1g: the heigth and width?
[19:16] Kobaj: no, the second one should be 387437298472px, not just 387437298472


I wonder when he started to detect my /hints/ of sarcasm. In all honesty though, he had the right to be confused. I did forget that px on the end of the second one. Whoa is me.

Not too much longer, and I receive this back.


[19:22] Cra1g: didn't work


Knowing he had to have messed up something, I took a look at this code. Long story short, he didn't copy paste like I expected him too (that's why I typed it out for him in the first 30 seconds of our conversation >.<), and he made a simple typing error.

The story goes on with more mishaps he stumbled upon later, and I ask a question I should have at the very beginning.


[19:38] Kobaj: dont you know css?
[19:39] Cra1g: yeah
[19:39] Kobaj: do you know /inline/ css?
[19:39] Cra1g: i don't think so


Then why are you coding INLINE?!
Comments: 0
Name*:
Email* (wont be shown):
Post*:

* Denotes required field. URLs are not allowed in comment post.

CopyRight Kobaj Code and Design 2009 - 2010