Submit Your Article Forum Rules

Results 1 to 7 of 7

Thread: Help with basic css

  1. #1
    Senior Member
    Join Date
    Sep 2004
    Posts
    143

    Help with basic css

    Ive just got dreamweaver and flash and im trying to establish how to change the background colour of the template (css) form boring grey to something more appealing sorry if this doesnt work your minds to much but it would help me a great deal
    the page im trying to edit is


    http://www.dirtydisco.net/dirtydisco%20site%20news.htm
    music is my escape from lifes diversions

    DJ Promotion
    London web design

  2. #2
    Senior Member
    Join Date
    Aug 2003
    Posts
    294
    Hey DD,
    Just add or modify your style css to change BG color (#ffffff).

    body {padding:0px; margin:0px; border:0px; background:#ffffff;}
    Hello everyone! Newbie. Self-taught. Loves writing web-code.

  3. #3
    Senior Member
    Join Date
    Aug 2003
    Posts
    294
    Hey DD,
    Just add or modify your style css to change BG color (#ffffff).

    body {padding:0px; margin:0px; border:0px; background:#ffffff;}
    Hello everyone! Newbie. Self-taught. Loves writing web-code.

  4. #4
    Senior Member
    Join Date
    Sep 2004
    Posts
    143

    thanks drummin

    I will give it a whizz
    music is my escape from lifes diversions

    DJ Promotion
    London web design

  5. #5
    Senior Member
    Join Date
    Sep 2004
    Posts
    143

    Another question

    the actual background of the site looks like its dependant of this file : bg_grad.jpg, if so can you just delete it and replace it with something else or
    would that cause problems? when i open it in flash it looks like some kind of bitmap or something and i guess it creates a mutiple image of it to create the background does that sound right ?

    ie if i make a new bg_grad.png would i be heading in the right direction or am i barking mad

    http://www.dirtydisco.net/dirtydisco%20site%20news.htm
    music is my escape from lifes diversions

    DJ Promotion
    London web design

  6. #6
    Senior Member MarcieZoob's Avatar
    Join Date
    Jul 2004
    Posts
    921
    In your stylesheet, the background is being defined in the following body style:

    body{
    font-family: Arial,sans-serif;
    color: #333333;
    line-height: 1.166;
    margin: 0px;
    padding: 0px;
    background: #cccccc url("bg_grad.jpg") fixed;

    Change the background hex code to the color you want on your background and delete "url("bg_grad.jpg") fixed". Example for a white background:

    background: #FFFFFF;

  7. #7
    Senior Member
    Join Date
    Sep 2004
    Posts
    143

    thanks

    Its done the trick ! now to redesign the whole site
    deep joy!
    music is my escape from lifes diversions

    DJ Promotion
    London web design

Similar Threads

  1. PHP + Basic Joomla
    By focus in forum Web Programming Discussion Forum
    Replies: 1
    Last Post: 08-12-2009, 12:56 AM
  2. Basic Animation
    By WPW_Feedbot in forum Graphics & Design Discussion Forum
    Replies: 0
    Last Post: 12-28-2004, 09:31 AM
  3. Basic Emoticon
    By WPW_Feedbot in forum Graphics & Design Discussion Forum
    Replies: 0
    Last Post: 12-21-2004, 04:31 AM
  4. BASIC
    By labrynth_of_fire in forum Web Programming Discussion Forum
    Replies: 4
    Last Post: 04-26-2004, 06:46 PM

Posting Permissions

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