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:
The two relevant classes in actinic.css being:
And also:
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.
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>'
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; }
Code:
.buttonTable{ background-image:url(button.gif); width:150px; }
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.
Comment