mark27uk3 Posted January 4, 2005 Posted January 4, 2005 Hi Guys, I would like to change the background of the left column similar to this site here Is it possible to do it like this just using the stylesheet and then adding the classes to the column left file? If it is possible will someone please give me an example. Thanks Mark Lifes a bitch, then you marry one, then you die!
mark27uk3 Posted January 4, 2005 Author Posted January 4, 2005 Can this be done without using the sts or bts contribs? Mark Lifes a bitch, then you marry one, then you die!
juniorprg Posted January 4, 2005 Posted January 4, 2005 i think that site uses the contribution called Fixed Width Site Template if u search in contribution u should be able to find them.. l8ter
mark27uk3 Posted January 4, 2005 Author Posted January 4, 2005 I know how to center the site and give it a fixed width, what I dont know how to do is add a background to the left column using the stylesheet. If this is at all possible?? with Regards Mark Lifes a bitch, then you marry one, then you die!
Jack_mcs Posted January 4, 2005 Posted January 4, 2005 Can this be done without using the sts or bts contribs? Mark <{POST_SNAPBACK}> Yes. Just add a table to encompass the whole column_left file (probably best to do this in the file iteself) and then call the class you want to use with the background set to what you want.. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
mark27uk3 Posted January 4, 2005 Author Posted January 4, 2005 I tried doing that but could not get it right, as the table needs to be wider than the info boxes . Anychance of showing an example please Jack with Regards Mark Lifes a bitch, then you marry one, then you die!
Jack_mcs Posted January 4, 2005 Posted January 4, 2005 Place this code at the beginnig before the first infobox is called <tr> <td valign="top"> <table cellpadding="14" cellspacing="14" width="190" bgcolor="red" valign="top"> <tr> <td> <table border="0" cellpadding="0" cellspacing="0" valign="top"> <tr> <td align="center"> and this goes at the end of the file </td></tr></table> </td></tr></table> </td></tr> The above will probably need to be surrounded by <?php and ?> and you will should replace the above attributes with a class but it should get you started. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
mark27uk3 Posted January 4, 2005 Author Posted January 4, 2005 Thanks Jack, That has worked lovely :-" , now while you are glued to your pc. There is a white gap around the table, I have changed the cellpadding in the index.php to zero but still have a white space. Is there anyway to butt it right upto the edge? I think this is the right bit <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="0"> <!-- left_navigation //--> Regards Mark Lifes a bitch, then you marry one, then you die!
Jack_mcs Posted January 4, 2005 Posted January 4, 2005 You are probably right about it being the cellpadding. Sometimes it is the table before that causes the problem. Try setting the border to 1. It may help to see the problem. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
TCwho Posted January 4, 2005 Posted January 4, 2005 Hmm that is a nice effect... Drop_Shadow How Did You Hear About Us Email HTML Order Link ---- GMT -5:00
mark27uk3 Posted January 4, 2005 Author Posted January 4, 2005 Hi Jack, Did not show a thing m8! Any other waves of inspiration? Mark Lifes a bitch, then you marry one, then you die!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.