Results 1 to 2 of 2
  1. #1
    3 Star Lounger
    Join Date
    Mar 2001
    Cheltenham, Gloucestershire, England
    Thanked 0 Times in 0 Posts

    CSS Styles - custom (2k)

    I have created a td style so that all cells will default to top left. However I have a text navigation bar which is put in using the include page feature as a header. I want those cells to default to the bottom of the cell (to balance up my logo).

    Though I have formatted them accordingly on the page to be included - when viewed from any page I include them on is showing them as aligned to the top.

    Can I define more than one td style? (I dont really want to use th as I want to use this elsewhere)

    Many thanks


  2. #2
    Uranium Lounger
    Join Date
    Jan 2001
    Cincinnati, Ohio, USA
    Thanked 0 Times in 0 Posts

    Re: CSS Styles - custom (2k)

    <hr>Can I define more than one td style?<hr>
    Yes, you can define a class selector and use the SPAN and DIV tags to apply it in your document. A class selector defines an style that applies to elements belonging to a specific class. For example: <pre>DIV.highlight {color: yellow}</pre>

    would apply to all DIV elements that have the class highlight. That is, <code>DIV class="highlight"</code>.

Posting Permissions

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