Skip to main content
3 of 3
added 74 characters in body; edited tags; edited title
James Douglas
  • 3.4k
  • 9
  • 15

Is it bad form to use someone else's code from a different question

I came across a question the other day (how to put two divs side by side in css?) so I googled "two divs side by side" and picked the top link (How to align two divs side by side using the float, clear, and overflow elements with a fixed position div/) and copy/pasted the code from the answer there. Later I thought perhaps I shouldn't have done that as someone else wrote it. Is that right?

Edit

The answer isn't exactly the same, but the code is.

James Douglas
  • 3.4k
  • 9
  • 15