Announcement

Collapse
No announcement yet.

Actinic ignoring bold?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Actinic ignoring bold?

    I have come across an extremely frustrating and also quite bizarre problem that I cannot seem to resolve.

    I had designed a new Act_Primary with a set of buttons down the left hand side which are text on a table with the background of an image. This allowed them to be dynamically generated based on the section names. The text is generated through a simple javascript function that simply loops through the section_tree and returns a string. The text is formatted within the function as such that:

    Code:
    '<table width="100%"  border="0" cellspacing="0" cellpadding="0"><tr><td><table border="0" cellpadding="0" cellspacing="0" class="buttonTable"><tr><td width="1"><img src="invis.gif" width="1" height="30"></td><td align="right"><a class="buttons" href="' + ar[i].sURL + '">' + ar[i].sName + '</a></td></tr></table></td></tr><tr><td><img src="invis.gif" width="1" height="15"></td></tr></table>'
    The two relevant classes in actinic.css being:

    Code:
    .buttons{
    text-decoration:none;
    color:#FFFFFF;
    font-size:10px;
    font-weight:bold;
    padding-right:10px;
    }
    
    a.buttons:link{
    text-decoration:none;
    color:#FF00FF;
    font-size:10px;
    font-weight:bold;
    padding-right:10px;
    }
    And also:

    Code:
    .buttonTable{
    background-image:url(button.gif);
    width:150px;
    }
    This all worked fine on the default database I was using. The database consisted of Actinic's several default products (boots, calculators and so on). Under these settings, the text in the buttons was formatted fine. It was white, not underlined, 10 pixels big, had 10 pixels padding to the right, and most importantly, the text appeared BOLD.

    Unfortunately, when I came to import the new database, the text lost its bold formatting. Furthermore, nothing that I do can restore this. I've tried manually adding <b> and <strong> and fiddling with the CSS to no end, but nothing has resulted in bold text.

    I'm at a loss to understand why this would happen and how it might be fixed. It's as though Actinic has somehow imposed a ban on me using bold on text. I've tried viewing the page source post-render, and everything seems to be fine. There's nothing in the <head> overwriting the tags, and there's nothing in the CSS conflicting with the property.

    If you'd like to view the site (in its current unfinished state), it should be uploaded onto http://www.printinginks.net/acatalog/ right now. You can see how the text down the left is pointedly unbold, as are the links across the top of the page.

    Any help with this would be greatly appreciated. This problem is giving me a serious headache, and preventing me from finishing getting this site working.

    Many thanks,

    -Rob Sollars.

    #2
    The only thing I saw in the source was that Act_Sections.js is called twice, once before and once immediately after the ACTINIC:COOKIECHECK. Don't see how that would cause your problem though.

    Have you checked for case differences like actinic.css versus Actinic.css?
    Bill
    www.egyptianwonders.co.uk
    Text directoryWorldwide Actinic(TM) shops
    BC Ness Solutions Support services, custom software
    Registered Microsoft™ Partner (ISV)
    VoIP UK: 0131 208 0605
    Located: Alexandria, EGYPT

    Comment


      #3
      All other CSS attributes function fine, it's just bold that refuses to show up. Also, it's only on the template that it refuses to include bold lettering, as in product descriptions, bold shows up fine.

      Comment


        #4
        Try changing the order of your setup.
        i.e. <a href= class= - in a previous reply Norman pointed out the anchor type needs to be specified before the style.
        Bill
        www.egyptianwonders.co.uk
        Text directoryWorldwide Actinic(TM) shops
        BC Ness Solutions Support services, custom software
        Registered Microsoft™ Partner (ISV)
        VoIP UK: 0131 208 0605
        Located: Alexandria, EGYPT

        Comment


          #5
          wjcampbe, thankyou very much for your responses. Unfortunately, the line previously read <a href="..." class="...", but I had switched them around whilst trying to force the thing to display the text correctly.

          I think I might have narrowed the problem down, but it still does not seem to make any sense. I created a new, blank site, and overwrote the defualt Act_Primary with the new one that I had created and previewed that. The fonts all worked as expected. I then exported this blank, default database as a CSV and then proceeded to import the database from the other site.

          As before, this caused the text to lose its bold formatting. Having imported the old, default database once more, the text works fine.

          Could there be something in the database that is somehow invalidating any attempts at using bold? I've looked through design | text but cannot locate anything that might be the cause of this. It has to be some setting internal to Actinic, but I have no idea what it might be or how it is causing this.

          If anyone has any ideas, I'd really be very grateful for them.

          Comment


            #6
            After repeatedly smashing my head into my desk, I appear to have resolved this problem.

            Apparently, somebody (not me!) had broken any references to bold tags on the page by including this atrocity in a header variable:

            Code:
            !!<<b>whatever</b????>!!
            This, apparently, was not working out so well. Unfortunately for me, the only way to locate this issue was a laborious process of checking every single text box in the design settings until I found something amiss.

            It's a huge relief to finally have diagnosed what was wrong with this, for both my head and my desk.

            Comment


              #7
              Looks like the sort of thing stuck in by some of the favourite WYSIWYG html editors.

              Glad you got it sorted, I had just finished adding your posted code into my backup site and was about to as for the javascript from your header... All cleaned out again.
              Bill
              www.egyptianwonders.co.uk
              Text directoryWorldwide Actinic(TM) shops
              BC Ness Solutions Support services, custom software
              Registered Microsoft™ Partner (ISV)
              VoIP UK: 0131 208 0605
              Located: Alexandria, EGYPT

              Comment

              Working...
              X