Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS dont know why its doing this

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #33465
    Raiden
    Member

    Hi all, im trying to add a background to my div in the .css file but it wont show … now here’s what is going on … when i write background: url(images/header.jpg); in the css file it doesnt work… but when i write it in the html tag like

    it works :/ … my html file is picking up the rest of the styles from the css file but not the background stuff i write …. any idea why ??? please help
    and just for the information here is the link to css file .. theres nothing wrong with it because its working and styling my page … just not the background stuff… help please
    #83318
    Raiden
    Member

    like div id=”loginForm” style=”background: url(images/header.jpg);” … this works
    link rel=”stylesheet” type=”text/css” href=”stylesheets/styles.css”

    assume the angled brackets are there :P

    #83309
    Raiden
    Member

    oh man i feel kind of stupid now :/ …Thanks a lot :D works :P

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.