|
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
[Back to original message]
|