Jump to content

eTianbun

Members
  • Posts

    547
  • Joined

  • Last visited

Everything posted by eTianbun

  1. 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.
  2. 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)
  3. 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.
  4. 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?
  5. It does matter the circumstance, you should always provide a common ground for the client to negotiate.
  6. 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;}
  7. (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?
  8. Have you tried it yourself?EDIT:Ok, what about this: "a"==1 You get: true? Lol, this is funny...Lol
  9. You telling me that if i do: 'a'=='b' , i ll get: true?
  10. 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!
  11. 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.
  12. 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.
  13. Yes bro, I was just pointing out the error and not the result.
  14. 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.
  15. It seems you are not reading it.
  16. Just Go through the Javascript tutorial @w3schools, and i believe they explained everything there.
  17. 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?
  18. So as 'Ingolme' said, you can use any name you want.
  19. 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.
×
×
  • Create New...