Guest Posted May 4, 2006 Posted May 4, 2006 Which PHP file should I edit to put a border around my osCom template...or is that all CSS within the stylesheet, I might have to define a class or ID in the main file, right??? any help would be greatly appreciated, thanks in advance!!
Guest Posted May 4, 2006 Posted May 4, 2006 bump...anyone here?? Just trying to get a border around the main osC template, what file should I add a table to?? or is the table already there and all I gotta do is stylize it ?
spax Posted May 4, 2006 Posted May 4, 2006 If you open a table at the start in header.php and close it at the bottom of footer.php, that will effectively wrap everything. Declare a new rule in the stylesheet with a border and assign it to the wrapping table, all will be good. e.g. CSS table.wrapper { border-style: solid; border-width: 1px; border-color: #ff0000; } HTML >>>>> header.php Just after ?> <table class="wrapper" border="0" width="100%" cellspacing="0" cellpadding="0"> <tr><td> HTML >>>>> footer.php On the last line </td></tr></table> If you want a fixed width site, change the 100% for the correct width - 760 probably. If you do that, you'll need to center it.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.