www.webdeveloper.com
Results 1 to 3 of 3

Thread: [RESOLVED] Tag Override

  1. #1
    Join Date
    Apr 2003
    Location
    Rosemount, MN
    Posts
    2,287

    resolved [RESOLVED] Tag Override

    I have a page, and I need to do two things:

    1. have an external style sheet with body{.....}
    2. On one of my page, I need to include the external style sheet, but I need to override body{.....} from the external style sheet.
    My settings

    Browser :: FireFox 1.5
    Resolution :: 1152x864
    Connection :: Cable Modem 2Mbs

  2. #2
    Join Date
    Aug 2004
    Location
    Ankh-Morpork
    Posts
    19,148
    If you link to your stylesheet first, and then either link to a 2nd stylesheet or use a <style> block which has body attributes which override those of the original stylesheet, then those new values will be in effect. (That's the "Cascading" part CSS.)
    "Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
    ~ Terry Pratchett in Nation

    eBookworm.us

  3. #3
    Join Date
    Apr 2003
    Location
    Rosemount, MN
    Posts
    2,287
    all I did was this:

    <body style="background-image:none;">

    It works, and that is probably what my instructor wanted.
    My settings

    Browser :: FireFox 1.5
    Resolution :: 1152x864
    Connection :: Cable Modem 2Mbs

Thread Information

Users Browsing this Thread

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

Posting Permissions

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



Recent Articles