• CSS Styles – custom (2k)

    Author
    Topic
    #405600

    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

    Roberta

    Viewing 1 reply thread
    Author
    Replies
    • #834699

      [indent]


      Can I define more than one td style?


      [/indent]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:

      DIV.highlight {color: yellow}

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

    • #834700

      [indent]


      Can I define more than one td style?


      [/indent]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:

      DIV.highlight {color: yellow}

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

    Viewing 1 reply thread
    Reply To: CSS Styles – custom (2k)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: