By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,456 Members | 1,742 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,456 IT Pros & Developers. It's quick & easy.

CSS HTTP BODY declare fails

P: 1
In a CSS imbeded my background image works. When moved to a LINKed CSS both my BODY and IMG declarations fail. All A (pointer) references continue to work.

I have tried all manner of variations on the declarations and variations on the target.

The following snipett shows the BODY and IMG sections that work when imbedded and fail when L INKed followed by the section that continues to work.

<style type="text/css">
body {color: black; background: url(common/bg.jpg);
background-repeat: repeat-x;
background-attachment: fixed;
background-color: #DBE0E8}
img {margin: 10px; border=1} h2 {margin: 5px} h3 {margin: 5px}
A {text-decoration:none} a:link {color:#ffffff} a:visited {color:#ff0000} a:hover {color:#ffd700}
A.nav {text-decoration:none}

(and so on ......)

Jul 13 '06 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.