...

View Full Version : Linking pages with CSS & Background Graphic



InfoSeek
06-26-2002, 05:13 AM
Hi: I have 3 pages that need to be linked to a style sheet. As far as I know, I can add a <Link> tag to the head section of each HTML file such as: <LINK HREF="MMMP.css" REL="stylesheet" TYPE="text/css"> Will this link correctly or am I missing code?

Also, I am to add a new white background with a .jpeg graphic fixed (no scrolling) horizontally and vertically in the center of the display and the graphic cannot tile. My experience with HTML & web design is limited and I've spent a great deal of time on this so.....I inserted the following in the .css under Header 2:

BODY {background:white url{(Review.jpg) no-repeat fixed center center}

will this work :rolleyes:

Thanks for your speedy reply!!

Flamerule
06-26-2002, 07:09 AM
BODY {
background : White url(review.jpg) no-repeat fixed center;
}

You just dont need to put "center" twice. And you put an "{" in front of the url which is unecessary.

The link code should link correctly since it's the same one I'm using.

whackaxe
06-26-2002, 08:38 AM
try this, it is much clearer.

BODY {
background-attachment : fixed;
background-color : White;
background-image : url(picture.jpg);
background-position : center;
background-repeat : no-repeat;
}

this looks much clearer to me

glenngv
06-26-2002, 11:10 AM
does url have quotes?

background-image : url("picture.jpg");



Originally posted by whackaxe
try this, it is much clearer.

BODY {
background-attachment : fixed;
background-color : White;
background-image : url(picture.jpg);
background-position : center;
background-repeat : no-repeat;
}

this looks much clearer to me

whackaxe
06-26-2002, 11:28 AM
i dont think so but try both



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum