PDA

View Full Version : Re-size the listing table


devashanti
12-13-2005, 05:20 AM
I changed the width value in the css class below in the essstyle.css file. But it did not change the width of the listing table. (The listings that display below the calendar.)

.mainTableTOC {
background-color: #FFFFFF;
border: 1px solid #BBBBBB;
width: 500px;
table-layout: fixed;
}

ve9gra
12-13-2005, 06:49 AM
It wouldn't. ".mainTableTOC" refers to the Text On Calendar size only. To change the listing module, you have to edit your listing template. It usually is either monthly.php or modern.php in /templates/

devashanti
12-13-2005, 03:14 PM
I edited the line:
<table border="0" class="tableListings" width="500">
in the monthly.php template (added width="500")

and the line:
<!--body-->
<table width="100%" border="0" cellpadding="1" cellspacing="0" bgcolor="#276983" class="tableListings">

by changing the width="100%" to width="500"

still it doesn't work

I can't find the class="tableListings" in the .css file so....

ve9gra
12-14-2005, 07:50 AM
The CSS that applies to the listing module is part of the template file, either monthly.php or modern.php. Just look right at the top... <!--head-->
<style type="text/css">
<!--
.tableListings {