Reputation: 131
Excellent
- Group:
- Members
- Active Posts:
- 3535 (3.46 per day)
- Most Active In:
- General Discussion (964 posts)
- Joined:
- 03-August 10
- Profile Views:
- 9600
- Last Active:
Today, 01:58 PM- Currently:
- Offline
My Information
- Age:
- Age Unknown
- Birthday:
- Birthday Unknown
- Gender:
-
Male
- Expertise:
-
HTML
CSS
PHP
Javascript
Graphics
Contact Information
- E-mail:
- Private
Posts I've Made
-
In Topic: How fast can you type?
13 May 2013 - 02:46 PM
-
In Topic: How fast can you type?
13 May 2013 - 02:27 PM
Yeah, this has already been posted tons of times.
But anyway, these "typing tests" don't mean anything -- I can average 100 WPM, but I never actually type that fast when working. Take this very post I'm writing; I have to think about each word I'm going to write, think about how my sentence will go, etc. Sure, I can type pretty fast when I'm just given a list of things that I have to copy, but that's rarely the case. -
In Topic: Why wouldn't this echo the string?
10 May 2013 - 09:33 AM
Well, the author of that explained it pretty well.
First of all, PHP does stuff in order; since there are no parentheses it's going to append the var to the string, and then add three to it. Except - that can't work, can it? How can you add numbers and strings together? Well, PHP just converts the string to 0. And then adds 3 to that. Since the"Return: "
was part of the string, it's lost when the whole string is converted to 0.
("Result: " . $var) == "Result: 3" ("Result: 3" + 3) -> Not possible, let's convert "Result: 3" to 0 0 + 3 == 3 -
In Topic: Best way to back up Mac
10 May 2013 - 05:05 AM
I second the cloning idea. That's what I do anytime I do reinstall OS X or something along those lines. Not only can you get literally all your files back (even those you'll only realize you need later, such as config files for some apps), you can even boot onto the cloned drive to get the stuff back!
I usually use CarbonCopyCloner for that
-
In Topic: default value of div height
05 May 2013 - 10:58 AM
As Tom said, there's no such thing as a default height for thediv
element.
Though browsers do apply some default styling to some elements (mostly text-formatting related tags) it isn't the case for the div element.
In your code sample, what div are you referring to? (Which one has the height on it?)
Note that adding stuff like margin/padding, though it isn't height per se, will still affect the height of the element and/or its parent. What's in thatabsolute.css
file?






Cartoon Clouds
Mountains
Sunrise
Clouds
Green Clouds
None
Find My Content
Display name history


Help