Stylesheet default

Last post 03-11-2005, 2:18 PM by Anonymous. 3 replies.
Sort Posts: Previous Next
  •  03-01-2005, 2:53 AM 4350

    Stylesheet default

    When a user inserts a table into their CuteEditor, I would like all the "<td>" tags to default to "<td class='mystyle'>" so that my web application's table cell style is automatically applied. Can this be automated? Thanks in advance. Cheers, Kris.

  •  03-01-2005, 10:29 PM 4359 in reply to 4350

    Re: Stylesheet default

    Kris,
     
    Yes, but you need some custom work witth Insert_table.asp.
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  03-04-2005, 8:32 PM 4401 in reply to 4359

    Re: Stylesheet default

    Great. So how do I go about doing that? I tried by changing the items inside the style tags (see below), but that didn't seem to have any effect. Please advise. Thanks, Kris.

    <style>
      html, body, button, div, input, select, td, fieldset { font-family: arial; font-size: 11px; vertical-align: top;};
      .colorPreview{ height:16px; BACKGROUND: white; width:63px; margin:2px; border:1px solid black; cursor:hand; FONT-SIZE: 0.1em;}
    </style>
  •  03-11-2005, 2:18 PM 4544 in reply to 4401

    Re: Stylesheet default

    Resending.....
     
    Great. So how do I go about doing that? I tried by changing the items inside the style tags (see below), but that didn't seem to have any effect. Please advise. Thanks, Kris.

    <style>
      html, body, button, div, input, select, td, fieldset { font-family: arial; font-size: 11px; vertical-align: top;};
      .colorPreview{ height:16px; BACKGROUND: white; width:63px; margin:2px; border:1px solid black; cursor:hand; FONT-SIZE: 0.1em;}
    </style>
View as RSS news feed in XML