Home · Links · Contact Us
Home arrow Forums
Home
Features
FAQ
Screen Shots
Modules
Demos
Documentation
Forums
Contact Us
Download
Purchase
Quotes

" ... I want to tell you that your thyme product is functional and valuable beyond words. I cannot imagine why any portal would be without it. It is the cornerstone of our new project ..."

" ... Thanks for such a complete project, its making my job much easier. ..."

" ... I have now deployed 4 different calendars and our users love them ... "

" ... Easy to install and use and a great look/design. ..."

" ... This has to be the easiest to use program I think I've had to deal with at all this year. ..."


  FAQFAQ    SearchSearch  RegisterRegister   Log inLog in 
Eliminating Margin Width

 
Post new topic   Reply to topic     Forum Index -> Themes
View previous topic :: View next topic  
Author Message
Bryan



Joined: 10 Aug 2006
Posts: 31

PostPosted: Fri Aug 18, 2006 5:15 pm    Post subject: Eliminating Margin Width Reply with quote

What do I need to edit so that I can place the neccessary code at the -body- tag to eliminate the margin width? (leftMargin=0 topMargin=0 marginheight=0 marginwidth=0)
Back to top
View user's profile Send private message
esoft_ian



Joined: 12 Sep 2005
Posts: 5160

PostPosted: Fri Aug 18, 2006 5:52 pm    Post subject: Reply with quote

Hi,

You can use CSS. In Admin -> Site Settings -> Site Head (NOT Site Header) enter:

Code:
<style type='text/css'>
body { margin: 0px; }
</style>
Back to top
View user's profile Send private message Visit poster's website
squirrel



Joined: 24 Jul 2008
Posts: 9

PostPosted: Sun Jul 27, 2008 3:35 pm    Post subject: Reply with quote

I want to get rid of the margin between the cells in the tables for day, week, and monthview. Tried the suggestion above (with some variations to try and target the right elements) but without success. Does anyone have any suggestions to a solution? I just want thin, normal lines between the td but no matter how much I try, I still have the double lines...

Most grateful for any suggestions!
Back to top
View user's profile Send private message
esoft_ian



Joined: 12 Sep 2005
Posts: 5160

PostPosted: Wed Jul 30, 2008 5:15 pm    Post subject: Reply with quote

Hi,

Which theme are you using?
Back to top
View user's profile Send private message Visit poster's website
squirrel



Joined: 24 Jul 2008
Posts: 9

PostPosted: Wed Jul 30, 2008 7:35 pm    Post subject: Reply with quote

I am using the slate theme. Finally got it to work though, I took away all the styles and zero padding inside of Joomla studio and made some changes to the PHP-file in that template setting the cell-padding and cell-spacing to 0 in all tables. I also added the following in my css file:

div#daycal table, div#weekcal table, div#monthcal table, div#daycal table td, div#weekcal table td, div#monthcal table td {
margin:0;
border-spacing:0 !important;
overflow:hidden;
border-collapse:collapse !important;
}
div#cal td.cal_content, div#cal td.cal_disabled, div#cal td.cal_selected {
border:1px solid #BBBBBB;
margin:0;
padding:0;
border-spacing:0 !important;
}
div#cal td.cal_content td, div#cal td.cal_selected td {
border:0;
margin:0;
border-spacing:0 !important;
}

And now at last I have single-lines in my calendar - but it took quite a lot of work.

I think the single lines should be default. Maybe you could add a template in the future that is very minimalistic - more something like Apples or Googles calendars. I think that would be a great addition to an already great product.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Themes All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
© 2005 eXtrovert software unless otherwise noted. All rights reserved.
Portions © 2004 Ben Brown. All rights reserved.
Trademarks are property of their respective owners.