« Return to Thread: Simple Questions for Newbie (Background Page Image)

Re: Simple Questions for Newbie (Background Page Image)

by RickinRSM :: Rate this Message:

| View in Thread

10/2/2008 11:40 pm PDT

I've tried all of the suggestions here. I searched an studied the HTML and CSS tutorials and examples.

This is my latest. No errors detected.

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<link rel="Stylesheet" type="text/css"
href="New1.css" />
</head>
</html>

All I get is a line of color acroos the top of the page.

Here is my New1.css . . .


  font-family: Arial,Helvetica,sans-serif;
  font-style: normal;
  font-weight:normal;
  text-decoration: none;
  color: Black;
  background-color: Black;
  background-image: url(D:/RealEstate/XSite/TestSplash.jpg); background-repeat: repeat-y;
  background-attachment: scroll;
  background-position: center;

What am I doin wrong?

Thanks . . .  RickinRSM




Cristiano Guglielmetti-2 wrote:
Hi Rick,

WYSIWYG (from interface tools)

Style menu (or button in the toolbar) > Color > set background-color,
background-image and background-repeat (it refers to background image).

OR (better)

In (X)HTML

<body style="background-color: #000000; background-image: url(filename);
background-repeat: no-repeat">

OR (much better)

In the CSS

body {
background: black left(..or right..) top(..or bottom..) no-repeat;
background-image: url('mv-f4-1078-312-rr-01.jpg')
}


Cristiano

----- Original Message -----
From: "RickinRSM" <RickinRSM@cox.net>
To: <www-amaya@w3.org>
Sent: Wednesday, October 01, 2008 11:33 PM
Subject: Simple Questions for Newbie (Background Page Image)


>
> Just came across Amaya 10. Interesting.
>
> I wish to create a page background from a jpg image for every page?
>
> I guess it would actually be layer 2 on top of the true background which I
> would like to be black.
>
> Also, I can't seem to set the background color to #000000 (Black) as I
> don't
> like the white sides on either side of my web page.
>
> I'm a WYSIWYG kind of user. Ha!
>
> I must be silly right?
>
>
> Rick  :)
>
> --
> View this message in context:
> http://www.nabble.com/Simple-Questions-for-Newbie-%28Background-Page-Image%29-tp19769590p19769590.html
> Sent from the w3.org - www-amaya mailing list archive at Nabble.com.
>
>
>
>


 « Return to Thread: Simple Questions for Newbie (Background Page Image)