Great Ideas. Always Flowing.

We are not happy until you are happy. Client satisfaction guaranteed. Whatever your needs and requirements, we have the skills and resources for the job!

Quick login...


Or... now make it easy with Facebook Integration
Connect via Facebook



Top Sellers

Frustrated over the lack of customization for your user's registration fields? Dynamically setup your DNN Portal with custom registration fields, layout, questions, and other core integration options......

Ultra Video Gallery is a brother product of Ultra Media Gallery, UVG allows you to upload videos in various format and automatically encode them to flv or H264 format, you also can add videos from internet or record live videos from your webcam.

Build high performance, completely customizable data-entry forms and views driven by your DNN and external databases. New built-in tools make it a snap to quickly create data entry forms, data views, and even database tables. Plus, add your own HTML, CSS, Javascript, SQL commands, stored procedures,

The most advanced DotNetNuke shopping cart on the planet. Easy to use e-Commerce, Secure Shopping Cart Software and SEO friendly. B2C / B2B Ecommerce Sites.

One stop solution for events calendar and events registration! FREE DOWNLOAD is available now!

Line spacing control
Last Post 04-24-2012 04:22 PM by Chad Nash. 14 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Franco PratiUser is Offline
Posts:26
Avatar

--
03-30-2008 11:26 AM

    Hello,

    I have setup a form here: http://www.medinvest.lu/Contact/tab...ault.aspx, but as you can see, there is excessive spacing between the lines. By checking the source, it looks to me that there are too many "br" tags inserted at each table row. How do I control that, please?

    Thank you in advance.

    Franco



    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    03-31-2008 11:28 AM
    Are you using any question headers or footers? If you go into each question I would check to see if there is any text in the question header/footers area (you might even switch it to HTML source or basic textbox to see if there is any text)... Maybe some spaces were added here when setting up the fields? Also, are you using a custom stylesheet properties or standard stylesheet classes?

    -Chad


    Franco PratiUser is Offline
    Posts:26
    Avatar

    --

    03-31-2008 12:39 PM

    Hi Chad,

    I made the checks you suggested and found no header or footer text for each field. The stylesheet is the standard DNN one.

    Where are all those break tags coming from? If you take the field example below you see a break before the input field, despite being in a new row, and another one at the end. Al that inside another table, which I guess adds up to the whole spacing.

    Franco

            


             
              

              


             
            
      

      

            


    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    03-31-2008 03:48 PM

    Hi. Well I have confirmed that there are adding < BR > tags when setting up each question footer. I am going to have to research why these are there though because these were necessary to prevent another bug that was happening... So, ill remove it temporarily on a test site with the 2.6 beta I am working off of and see what the reasoning is for why it was put there. Its possible it only needs to be there if you are actually using a form footer but its also possible that it was affecting other areas such as example text etc...



    Franco PratiUser is Offline
    Posts:26
    Avatar

    --
    04-08-2008 10:39 PM
    Hi Chad, any news on this? Any result from your tests?
    Thanks,
    Franco


    Tom LyczkoUser is Offline
    wading in the water
    wading in the water
    Posts:26
    Avatar

    --
    04-10-2008 06:00 AM

    I had the same problem with BR tags being inserted into the footer.

    For this reason I had to give up on having a captcha field, its footer would not display properly.

    My other fields which also get a BR tag, _do_ display properly, but these are text and textbox fields.

    Please improve the module such that the people using it can do all the styling and that the module does nothing but draw the tables...even the amount of tables could be reduced.

    This means not inserting any BR tags anywhere...

    Thank you, Tom



    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    04-10-2008 07:35 AM

    Hi guys... Well these were added as a bug fix previously so before removing them we are double checking to see if it affects the form at all. Previously I believe it was adding the question footer to the right (like example text) without the BR tag so again, maybe this isn't the case but we have to test before changing it back. Also, we have found that within the question header / footer and any other element using the standard Rich Text Editor it can sometimes (depending on the version and version of DNN) automatically add PARAGRAPH tags to your text. You can review this thread here.



    Hopefully this will be corrected in future versions of the editor.

    Ill see if I can follow up today after some additional testing on removing this for the 2.6 release.



    -Chad



    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    04-10-2008 11:05 AM

    Hi guys... I am attaching a screenshot of what happens when these BR tags are removed. Basically these are needed for it to be able to process header/field/footer properly (as you can see). The real problem here is that the standard Rich Text Editor being used in DNN keeps adding in their own paragraph tags. This has been discussed in several threads in the last few days. The only way around this that I know of is to switch from Rich Text Box to Basic Text Box and remove the starting P and ending P tags.

    Below is a screenshot that shows if we remove the BR tags (and why they are put there). This represents the first image in the screenshot.

    The other images in the screenshot shows what happens after I switched a question header/footer to basic textbox and removed the paragraph tags.

     

    -Chad

     

     


    spacingissue.JPG

    Franco PratiUser is Offline
    Posts:26
    Avatar

    --
    04-13-2008 02:53 AM
    Hi Chad,
    perhaps I do not quite understand your suggestion; I removed the p tags from the header and footer, but the interline spacing remains large.
    Besides, I do not see why removing those controls from the header and footer should affect the fields. It is the space between each line (composed by label and input field) of the form which I need to reduce.

    Thanks
    Franco


    saqib azharUser is Offline
    new to the springs
    new to the springs
    Posts:2
    Avatar

    --
    03-02-2009 03:07 AM
    i am having the same problem......Can any one please HELP ME...

    please see my page: http://friedheim.co.uk/OrderPackagi...fault.aspx

    Too much space between one row and second row...

    Any Help please ?

    Thanks
    Saqib


    David ToUser is Offline
    river guide
    river guide
    Posts:2719
    Avatar

    --
    03-02-2009 08:59 AM

    HI Saqib
    To decrease spacing between rows, it's a combination of stylesheet properties. For example, under the "Module Configuration", choose "Style Sheet" and click on "Use Custom Dynamic Registration Style Sheet", then use the following parameters:

    .DynamicForms_Maintable {

    width: 100%;
    padding: 0px;
    line-height:0%;
    }

    .DynamicForms_Maintable td {
    border-width: 0px;
    padding: 0px;
    line-height:0%;
    }
    Make sure to click on "Update Style Sheet" and then hit F5 in your browser to refresh.

    There are perhaps other combination / parameters that can be added to effect the look / fell of the form so it's a great idea to check out other websites stylesheet properties as well in order to obtain the effect you want. -- David



    Franco PratiUser is Offline
    Posts:26
    Avatar

    --
    03-02-2009 12:01 PM

    Thank you David for the hint.

    For me, however, it was not effective and it only started to work when I used:

    .DynamicForms_QuestionTable td {border-width: 0px; padding: 0px; line-height: 0%;}

    Best,

    Franco



    Dan C.User is Offline
    river guide
    river guide
    Posts:82
    Avatar

    --
    04-19-2012 07:46 AM
    When a question is positioned above a field, what is the stylesheet setting to adjust the distance between the field label and the field?


    Dan C.User is Offline
    river guide
    river guide
    Posts:82
    Avatar

    --
    04-19-2012 07:51 AM
    Let me answer my own question so I can search for it later and remind myself in the event I forget (again):
    DynamicForms_Label

    line-height:100%;


    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    04-24-2012 04:22 PM
    haha line-height CSS field label distance[

    There I helped us both out later!

    -Chad


    You are not authorized to post a reply.


     
     

    Join our mailing list...

    Get current news and events the easy way
    Subscribe Me

    Recent Blogs...

     
    Copyright 2005 - 2011 by Data Springs, Inc.
     
  • film izle
  • 720 izle
  • film
  • sinema izle
  • film makinesi
  • T�rk�e dublaj film
  • film izle
  • film izle
  • baglan film izle
  • sinema izle
  • 1080 film izle
  • film mercegi