Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Generic User Avatar

CSS Conumdrum


  • Please log in to reply
1 reply to this topic

#1 WillieFoxx

WillieFoxx

  •  Avatar image
  • Members
  • 22 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:New Brunswick NJ
  • Local time:01:51 AM

Posted 06 November 2023 - 03:02 PM

Folks,

 

Can someone assist with some CSS code that is not working?  I am trying to stick a fixed image in the upper left-hand corner of each page.  The site is www.NJ-ADR.com.

 

Here is the html:

<link rel="stylesheet" type="text/css" href="css/nj-adr.css">
<script src="js/popwin.js"></script>
<link rel="icon" href="images/revolver.png">

</head>

Here is the CSS:

body {

    background-color:#ffc;

    color:#000;

    background-image: url("../images/croppedLogo.jpg");

    background-repeat: no-repeat;

    background-attachment: fixed;

    background-position: top left;



    font-family:sans-serif; font-weight:bold; font-size:medium;

    /* allows proper alignment of various divs */

    text-align:center

}

The server confirms that the image file was properly uploaded (please see attachment)

 

 

I am at a loss as to where to go from here.

 

A.


Edited by WillieFoxx, 06 November 2023 - 03:03 PM.


BC AdBot (Login to Remove)

 


#2 WillieFoxx

WillieFoxx
  • Topic Starter

  •  Avatar image
  • Members
  • 22 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:New Brunswick NJ
  • Local time:01:51 AM

Posted 07 November 2023 - 04:36 PM

False alarm, the code is now working.  I suspect it was a cache problem.

 

A.

 






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users