List View – White space
-
Hi,
Is there a way to remove the white space between each Date entry on a list view?
Example: http://www.morpca.org/gce_feed/morpca-dos-view-calender/
I have had good success reformatting the list view with CCS table formatting, but do not see how to control the white space between each iterative date entry.
Cheers,
KH
-
You have a margin bottom set for your table element around line 384 and also around line 107. Removing/adjusting those will help with that.
I also saw that each of your tables has the same id attribute and just thought I would point out that the web browser will usually only render the styles/code for the first element with the id on the page. If you need multiples like that it is recommended to use class attributes instead. Just a friendly tip 🙂
Hope that helps!
Assuming this has been resolved since there has not been a response here. Let us know if you need any other help.
Thanks!
Nick,
Thanks for the replies. I have not resolved it yet.
Your references I assume are to the HTML source code (line numbers) of the page I linked to. I guess this is where I am struggling. I am building this thru WordPress as my CMS/WYISWIG editor, which in turn is creating the HTML code you reference.
So I am stumped as to how to fix this in WordPress editor to affect those changes you mention.
Here is the WordPress GCAL code I am using:
<table id=”DOS_Events”>
<tbody>
<tr>
<th width=”20%”>[start-custom format=”D M j”]</th>
<th width=”20%”>[if-not-all-day][start-time][/if-not-all-day]</th>
<th width=”60%”>[event-title]</th>
</tr>
<tr>
<td colspan=”3″>[location]</td>
</tr>
</tbody>
</table>How that makes it to HTML is the magic. I understand that I can “overwrite” certain behaviors of the GCal HTML code generation from WordPress using GCal shortcodes, but I am at a loss as to how to roll my own HTML to superseded all the WordPress autogen “features” via the GCAL edit window in WP.
I suspect my problem is I do not know enough to ask the proper question in the proper terminology.
Cheers,
KevinAre you able to edit you Cascading Stylesheet (CSS) files? That is where the problem is so if you are able to edit that then I can try to help you from there.
The topic ‘List View – White space’ is closed to new replies.