Results 1 to 3 of 3

Thread: css question

  1. #1
    css question
    Chris57701's Avatar
    Member Since
    Sep 28, 2008
    Posts
    27
    Specs:
    Unibody MBP 15"
    Question css question
    Im an amateur at this so bare with me please.

    I have an external style sheet the governs how all my pages will look. but I need to override this in a particular div on one of my pages. Im sure its something simple but I can't figure it out and google isn't being helpful today. Can anyone help me out here?

  2. #2
    css question
    xstep's Avatar
    Member Since
    Jun 25, 2005
    Location
    On the road
    Posts
    3,231
    Specs:
    2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid
    I think you can get away with this. I have a link to a CSS file, but to override some color values I embed a style block with in the header after the link. I believe you can put an identcally named tag in that block to override what is in the linked file.

    Code:
    <link rel="stylesheet" type="text/css" href="css/basic.css"/>
    
    <!-- Exception colouring. -->
    <style type="text/css">
     body {color: #000000;
           background-color: #FFFF99;}
    </style>
    CameraTime - Time lapse photography for novice and advanced users.

    When asking questions, post the version of your software. You'll receive better answers.

    Please post your results to the thread as it is good feedback.

  3. #3
    css question
    Chris57701's Avatar
    Member Since
    Sep 28, 2008
    Posts
    27
    Specs:
    Unibody MBP 15"
    re
    worked beautifully thank you

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. I need a little help with some CSS
    By benparko in forum Web Design and Hosting
    Replies: 8
    Last Post: 09-30-2010, 04:31 PM
  2. Fireworks CSS exporting question....
    By mr.s4ndm4n in forum Web Design and Hosting
    Replies: 0
    Last Post: 10-08-2009, 12:17 AM
  3. CSS question
    By gravitate in forum Web Design and Hosting
    Replies: 6
    Last Post: 05-14-2009, 03:12 PM
  4. Question about CSS/XHTML
    By jstew132 in forum Web Design and Hosting
    Replies: 3
    Last Post: 03-24-2009, 03:38 PM
  5. css/html question
    By Underbelly in forum Web Design and Hosting
    Replies: 9
    Last Post: 07-16-2008, 11:52 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
  •