View Single Post
  #6  
Old 21-03-2017, 04:02 PM
gary
Registered User

gary is offline
 
Join Date: Apr 2005
Location: Mt. Kuring-Gai
Posts: 5,914
CSS is your friend

Quote:
Originally Posted by Merlin66 View Post
I have a "basic" webpage (built using "Creating Web Pages Simplified") but really need to improve the layouts and "feel".
http://www.astronomicalspectroscopy.com/
Can anyone recommend a book which might help me get there???
Ken,

If you are crafting your web pages by hand and are seeking insight into
how to control the presentation of the document, then the keyword is
"CSS" which stands for Cascading Style Sheets.

CSS helps you separate content from style and in particular external
CSS style sheets (i.e. files that end with the .css suffix that you then
link into your .html file) are the way to go.

Here is an example of the header of a HTML web page which is
linking in three arbitrarily named style sheets. You might have just one
style sheet with all your styles in it, or you could have multiple
style sheets that do different jobs as shown here :-

<head>
<link rel="stylesheet" type="text/css" href="mystyle_this.css">
<link rel="stylesheet" type="text/css" href="mystyle_that.css">
<link rel="stylesheet" type="text/css" href="mystyle_and_the_other.css">
</head>


Google CSS HTML and start reading and playing.

Here is one tutorial starting place :-
https://www.w3schools.com/css/default.asp

CSS also allows you to control layout, so if you want multi-column text,
CSS helps achieve that.

By having external CSS files, you can control the look and feel
of your whole web site and with one change to one css file, change
the look and feel of many web pages at once.
etc., then it
Reply With Quote