|
Posted by Cogito on 07/29/05 18:01
On Fri, 29 Jul 2005 14:55:38 +0200, Els <els.aNOSPAM@tiscali.nl>
wrote:
>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.
Now that works beautifully. Thank you very much for your help.
Navigation:
[Reply to this message]
|