Results 1 to 5 of 5

Thread: <resolved> CSS inherit

Threaded View

  1. #1

    Thread Starter
    Fanatic Member JPicasso's Avatar
    Join Date
    Aug 2001
    Location
    Kalamazoo, MI
    Posts
    843

    <resolved> CSS inherit

    How do I actually CASCADE these things.

    Or maybe I want to inherit... I'm not sure.

    anyway.

    Say I define a style as
    Code:
    .basictitle {font-size: 16;
    			color: white;
    			font-family: arial;
    			font-weight: bold;
    			border-style: solid;
    			border-width: 1px;
    			background-color: darkblue;
    			}
    Now, what I want to do is use this for my entire website.
    BUT, for some pages I want to modify the font size
    for this element.

    This willl allow me to use a basic style, and then for each
    page I want to put something like :
    Code:
    .advtitle {[somecodehere that references .basictitle];
               font-size:55;}
    so that advtitle will use the bastitle, but be a bit bigger??

    is there a way to do this?
    Last edited by JPicasso; Oct 1st, 2003 at 12:39 PM.
    Merry Christmas

Posting Permissions

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



Click Here to Expand Forum to Full Width