Yes you do get the id from view source and use it in the stylesheet. You don't just cut & paste - the syntax is different. Where you see <div id="asdf"> in the php file, you use
#asdf { border: 2px #00aaff;} or whatever
in the stylesheet.