-
Posts
547 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by eTianbun
-
See also:
-
Not ok? How did you know it's not ok? The parent element, is the <body> tag, while <h1> is the first-child of <body> tag, so the first <p> is the 2nd child of <body> and the the 2nd <p>, is the third child of <body>, etc.
-
No highlighting!
-
You are using: nth-child(2) which assign value to any <p> element, that is the 2nd child of it parent. <h1> was the first child, while <p >...first paragr...</p> was the 2nd child. If you want to target any 2nd <p> element, of its parent, use: nth-of-type(2)
-
I dont realy get you tho! Do you mean: Group each input and its label together? If yes,use: <fieldset> to group each input and its label together, then apply margin-bottom to the <fieldset> tag.
-
The function is executed after window loads and If 'b' is equal to 'true', a new function is created/returned and if not, 'null' is returned. What is it you want?
- 3 replies
-
- Tenary Operators
- JavaScript
-
(and 2 more)
Tagged with:
-
Questions to your Client / Employer / Yourself before Starting a Project
eTianbun replied to amitamberker's topic in General
It does matter the circumstance, you should always provide a common ground for the client to negotiate. -
Just like Ingolme said, you need to set it yourself! Use the global selector (*) to set all element's padding and margin to 0 (zero): *{padding:0;margin:0;}
- 3 replies
-
- browser
- difference
-
(and 7 more)
Tagged with:
-
Questions to your Client / Employer / Yourself before Starting a Project
eTianbun replied to amitamberker's topic in General
(1) What kind of website? (2) How do you want the layout/design?(3) How many pages?(4) Do you already have a domain name/webhost, or you want me to get them for you?(5) I am collecting $XXX for this, how much are you willing to pay? -
Lol... Very Funny!
-
Have you tried it yourself?EDIT:Ok, what about this: "a"==1 You get: true? Lol, this is funny...Lol
-
You telling me that if i do: 'a'=='b' , i ll get: true?
-
Well, it seems you geting things mixed up here. No value is being converted! 'p'==true 'p' is not converted to boolean true. We are just comparing two values here ok!
-
Yes, thats true! If the above statement is executed the way it is, what will be the value, passed into the alert() method? Thats what am talking about.
-
If he tried it, it would have evaluate to false, because "p", ll never be equivalent to any value (true or false) returned from that function.
-
Yes bro, I was just pointing out the error and not the result.
-
alert("p"==vowel("i")?"true":"false")
-
Just use the code Ingolme gave you!
-
background:url('image.gif') red; Yes!
-
Funny! Just because of few hackers (lets say ~50), you banned an entire country? Well, that dont seems right to me. Maybe you monitor your site too much, thats why you see those thing alot.
-
It seems you are not reading it.
-
Just Go through the Javascript tutorial @w3schools, and i believe they explained everything there.
-
You asking us? How did you xpect us to know, when we dont know how you linked to the stylesheet or what you current code look like?
-
So as 'Ingolme' said, you can use any name you want.
-
Its an abbreviation for Demonstration, so it means, they are using the <p> tag to demonstrate how you can GET a reference to an element with id via javascript.