Squeeze Out Extra Spaces?
Last Post 01-05-2010 12:52 PM by Chad Nash. 3 Replies.
AddThis - Bookmarking and Sharing Button
Author Messages
Len QUser is Offline
wading in the water
wading in the water
Posts:17
Avatar

--
01-04-2010 10:38 AM

    If the content is laid out as a list:

     

    $(var1)
    $(var2)
    $(var3) and so on...

     

    What coding do you use so if some variables are NULL the others will take up the empty space?

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

    --
    01-05-2010 06:29 AM
    HI, I believe the way the program is written now, if a token is blank, it will display an empty space there so the way you have above, if $(var2) was blank, it will display an empty line and not be replaced by the value of $(var3). -- David
    Len QUser is Offline
    wading in the water
    wading in the water
    Posts:17
    Avatar

    --
    01-05-2010 07:36 AM
    That's exactly what I want to do. If $(var2) is blank then delete it's place.

    I took a look at the HTML Source and it seems that there is a space because it is in a P-tag.

    Does anyone know if there is some kind of HTML or a way to have CSS format empty rows so they colapse? I tried breaks but they are permanent too.
    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    01-05-2010 12:52 PM
    Sometimes the Rich Text Editor (default is FCK Editor but they all work a little differently) will add empty P tags etc... What I would do is choose basic textbox and then remove them all there...

    -Chad


    ---
  • 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