I've been creating a style based on the generic templates
for a new site. I could see the following in the html code of the web page:
This code was overriding my CSS templates. Looking further,Code:<ul style="margin: 0; padding: 0; list-style-type: none;">
I discovered the following templates have hard coded styles:
sideboxes/tpl_ezpages.php
sideboxes/tpl_information.php
sideboxes/tpl_manufacturer_info.php
sideboxes/tpl_more_information.php
You can find them simply by searching for the hard coded text
eg: <ul style="margin:0
The solution is to remove the hard coded style and replace
it with a suitable stylesheet class call.
EG, change the lines:
toCode:$content .= "\n" . '<ul style="margin: 0; padding: 0; list-style-type: none;">' . "\n";
In your stylesheet add:Code:$content .= "\n" . '<ul class="myclassname">' . "\n";
I suggest you change myclassname to something suitable.Code:.myclassname { list-style-type:none; margin:0; padding:0; }
If you want all side boxes to share the same layout then
you can use once style, otherwise a style for each box
may be neccessary.
I hope this helps saves someone some time and headscratching.
Steve Root
http://www.kinsbury.co.uk
http://www.steveroot.co.uk



