Re: have problems with div's



I have a table split into 4 equal parts.
I am printing to one place in one of the tables, but if lets say

you have the letter a to z and only every 5 letter of the alphabet is
printed vertically down the table box, and it would look like this

e
j
o
t
y


but it has all the carriage returns in between the letters. how do I remove
them? or stop them being printed in the first place.

thank you

Jason



"Murray" <forums@xxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:ucTNtCuWFHA.3828@xxxxxxxxxxxxxxxxxxxxxxx
>> but it shows a carriage return when they are empty.
>
> Of course. That's because <div> is a block tag. All block tags start on
> a new line, and force subsequent markup to start on a new line too.
>
>> how do I get only the div's that have content to print.
>> and the ones that are empty prints nothing.
>
> Say more about this. You have multiple pages, each having the same array
> of divs, some of which are loaded with content, and some of which are not?
> And you want those that are 'empty' to not affect the screen position of
> the others? I can't think of a way to do that automatically. Is there a
> reason why you wouldn't just delete them?
>
> --
> Murray
> ============
>
> <cheers> wrote in message news:uM5TentWFHA.1384@xxxxxxxxxxxxxxxxxxxxxxx
>>I have the following within one of my pages created with FrontPage.
>>
>> <div id="bAvocado"></div>
>> <div id="bButterSquash"></div>
>> <div id="bCauliflower"></div>
>> <div id="bCornOnCob"></div>
>> <div id="bCucumber"></div>
>> <div id="bGarlic"></div>
>>
>> and it works.
>>
>> but it shows a carriage return when they are empty.
>>
>> not what I need.
>>
>> how do I get only the div's that have content to print.
>> and the ones that are empty prints nothing.
>>
>>
>> thank you.
>>
>>
>>
>>
>>
>>
>>
>
>


.


Loading