You are here: Re: How to make a colour line separator? « HTML « IT news, forums, messages
Re: How to make a colour line separator?

Posted by Els on 07/29/05 15:55

Cogito wrote:

> 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..

First of all I'd make sure the <title> is inside the <head>, where it
belongs.
Then, between <style type="text/css"> and </style>:
body{
background-image:url(margin.gif);
background-position:right top;
background-repeat:repeat-y;
}

If you're interested in getting more stuff right, just Google for CSS
tutorial, or pick one here: http://locusmeus.com/html-css/list.html ,
as using HTML the way you do for presentation is really outdated (and
contains errors I think). It poses accessibility problems and also is
difficult to maintain if you have more than one page.

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Now playing: Phyllis Nelson - Move Closer

 

Navigation:

[Reply to this 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

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