title: How do I add style to my Feature (Vector LineString)?
body: <p>I'm confused how to go about adding style to my Feature which consists of a LineString which is inside a Vector. Do I add style to the LineString or the Vector? I want to change the color and size of the line and possibly make the line opaque if possible.</p>
  
  <pre class="lang-js prettyprint-override"><code>mapObject = new OpenLayers.Layer.Vector("Vector");
  var p1 = new OpenLayers.Geometry.Point(mapObjectTopLeftLon, mapObjectTopLeftLat);
  var p2 = new OpenLayers.Geometry.Point(mapObjectTopRightLon, mapObjectTopRightLat);
  var p3 = new OpenLayers.Geometry.Point(mapObjectBottomRightLon, mapObjectBottomRightLat);
  var p4 = new OpenLayers.Geometry.Point(mapObjectBottomLeftLon, mapObjectBottomLeftLat);
  var p5 = new OpenLayers.Geometry.Point(mapObjectTopLeftLon, mapObjectTopLeftLat);
  
  var pnt = [];
  pnt.push(p1,p2,p3,p4,p5);
  
  mapObject.addFeatures([new OpenLayers.Feature.Vector(new OpenLayers.Geometry.LineString(pnt))]);
  
  map.addLayer(mapObject);
  </code></pre>