Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Apr 2008
    Posts
    17
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Question Want seperate background for each page

    Hi,

    I've got an externally linked CSS file and I want a seperate background image for each page. At the moment I've got a single entry in the CSS file, How can I setup multiple images for different pages? Thanks

  • #2
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,675
    Thanks
    22
    Thanked 1,827 Times in 1,811 Posts
    Hello nats,
    give each page's body tag an id and style that id with the different backgrounds you want.
    Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
    Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad

  • Users who have thanked Excavator for this post:

    nats (04-05-2009)

  • #3
    New Coder
    Join Date
    Apr 2008
    Posts
    17
    Thanks
    4
    Thanked 0 Times in 0 Posts
    Thanks mate, works a treat


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •