1. Welcome Guest! In order to create a new topic or reply to an existing one, you must register first. It is easy and free. Click here to sign up now!.
    Dismiss Notice

ASP.Net markup question

Discussion in 'Microsoft News' started by NewsBot, Apr 25, 2008.

  1. NewsBot

    NewsBot I Got News

    Joined:
    Feb 8, 2006
    Messages:
    1,813
    Operating System:
    Windows Vista Home Premium
    Hi,

    I have this markup in an Asp.Net 2.0 page:

    <div align='RIGHT'><!--sizeo:4--><span style="font-size:14pt;line-height:100% <!--/sizeo--><!--coloro:white--><span style="color:white <!--/coloro--><i>Finding your item: </i><!--colorc--><!--/colorc--><!--sizec--><!--/sizec-->
    <!--coloro:blue--><span style="color:blue <!--/coloro--><b>All</b> your items in one location.<!--colorc--><!--/colorc-->


    As you can see, there are two font sizes and colours within one paragraph and all the text is on one line.

    How do I do this with a CSS class?

    I am wanting to make this comply with XHTML 1.0 Strict.

    Also, is the use of permitted?

    Thanks,
    Darren







     

Share This Page