extra code? help understand cause and effect

windows

Guest
i am working on deconstructing a website, and my HTML skill is limited, but understanding is pretty good :)

<!-- w --><a class="postlink" href="http://www.unitrustcapital.com">www.unitrustcapital.com</a><!-- w -->

and

<!-- w --><a class="postlink" href="http://www.unitrustcapital.com/ghost/index.html">www.unitrustcapital.com/ghost/index.html</a><!-- w -->

under the ghost site, i have chopped away every single other file folder that is present on the main site, and all of a sudden my links in the top, side, and bottom menu's turn purple and underlined

digging through the code i cannot for the life of me understand what is responsible for the format of the links on the original site.

please help me understand

cheers,

Fork.transfer your stylesheet (stylefile.css) over. it is in the base directory but not in ghost/...trust me, I checked.yep that did the trick thank you

question however,

was the .css file configured prior to the site, or is/was it a generic file that others generaly use?

while trying to achieve efficiency and reduce website clatter, is there a better solution to using this .css file?If you intend to build you web developing skills, I suggest you start looking up tutorials on this subject. CSS (cascading style sheets) is a means of 'styling' your HTML so it is presented in a certain way. Most of the time, the 'rules' by which to style your HTML tags are stored in a separate .css file, specific for your own website's needs.

As for the second question, using a .css file significantly reduces clatter (clutter?) in a web directory because this one set of rules, in a single file, can be used to style all your HTML documents, all you have to do is include the <link rel="stylesheet"....> in the header of your HTML documents. This also reduces the size (in bytes) of your document because you dont have to include all the rules in every document (you can store them separate in a .css file), thus decreasing bandwidth usage. Look it up...its useful...
 
Back
Top