Reply to Re: How to make a colour line separator?

Your name:

Reply:


Posted by Cogito on 07/29/05 15:30

On Fri, 29 Jul 2005 20:59:21 +1000, dorayme <dorayme@optusnet.com.au>
wrote:

>From: Cogito <nospam@nospam.nospam>
>
>These lines of code do not do much in my case (I'm sure I've done
>something wrong). My index column consists of a few bullets and links,
>all in straight html and no css tags at all. Where exactly do I place
>your code? Should I place it within <style> tags and then refer to it
>somehow?
>
>Yes, that's it. Put the style instructions as recommended between the
>style tags, stick all that in the head of the doc (simplest perhaps if
>you have just a few things) and then get the instructions implemented in
>the bits of the html in the body. For example, if you want some div or p
>to have red type, you can put in the style part in the head like this:
>div.loud {color: red}
>
>and where you want the text red you hook up by
>
><div.loud>Some text...</div>
>
>This is class selection, the use of the dot notation indicates this.
>Sometimes folk use another type of selection - ID selection and it is
>marked by # notation. ID instruction is like this: #loud or div#loud and
>then used (once only per page, unlike with a class). In the head between
>the style tags:
>div#loud {color: red}
>
>and in the html at the part where you want text red:
><div#loud>Text...</div>
>
>This may be of limited help. body also can be styled with backgrounds
>and images etc, and I recommend you read up on the many tutes available
>online on css. Get a basic primer, any will do for a start. And then
>perhaps come back with qs that you have after some basic study. Take no
>notice of some of the insolent replies you have had, the world is a
>troubled place full of mad people.
>
>By the time I ever get to write stuff like this, someone will perhaps
>have helped you further. There are some good and patient people on this
>newsgroup. One person even gets drunk and writes love letters to the
>group as a whole. Honest.
>
>dorayme

Thanks for the explanation. Could you please illustrate it with an
example?

Let's say that this is my page:

<html>
<HEAD>
<STYLE TYPE="text/css">

</STYLE>
</HEAD>

<title>Index</title>
<body text=#000000 alink=#993300 link=#0033cc vlink=#0033cc>

<font size=2 face="Verdana", Arial", "Helvetica">
<a href="http://www.nytimes.com/"> The New York Times</a><br>
</font>

</body>
</html>

and the graphic I will use for the line on the right side is
margin.gif

Could you please show me how should I incorporate the extra code so
that I get a line on the right side of the page..

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация