Jump to content

davidatk100

Members
  • Posts

    3
  • Joined

  • Last visited

davidatk100's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. davidatk100

    css

    Thanks F-Man, I've fixed it up and now it works perfectly . Cheers. ooh. lol.
  2. davidatk100

    css

    I can't seem to set a backgrount picture in an external css, while setting the background color in the html (either by html tags or internal ccs). Is it possible?I want to do it this way because I want the picture to stay the same between pages but have the color change. Is geting rid of the external css and putting it all in the html file the only way?
  3. davidatk100

    css

    I'm pretty new to web page design but even when I asked a couple of my friends who are significanly more experienced, then couldn't really give me any answers.I've got index.html and master.css and they're both working fine except that the color that i've set in index.html doesn't work in firefox. I've had a look in explorer and it's fine there and one of my friends had a look on his computer useng firefox (linx) and he said it worked. It also works in the prievew then the file is highlighted but not yet opened.----------------------------------------------------------This is index.html:<html><head><link rel="stylesheet" type="text/css" href="master.css" /><title>Ben Mckinnon</title></head><body text="#ffffff" bgcolor="#000000"><img src="tabs/background.jpg" width="100%"><br><br><br><br><br><br><br><br>adhgkjasdhgjkh</body></html>------------------------------------------------------And this is master.css:body {background: url('tabs/background.jpg');background-position: top;background-width: 100%;background-repeat: no-repeat;margin:0}-----------------------------------------------the color of the background works fine and if I take out the 3rd line from index.html:<link rel="stylesheet" type="text/css" href="master.css" /> ...the background color works fineEdit: I'm aware of different ways I can organise the files eg. having an internal ccs instead of external etc. but I like it this way and if I can, I'd like to keep it this way.Appreciate any help.
×
×
  • Create New...