Re: have problems with div's



<scratching head>

There are no divs in either file's markup.

--
Murray
============

<cheers> wrote in message news:erV3nwxWFHA.3000@xxxxxxxxxxxxxxxxxxxxxxx
> below are two files i have done to show what i mean.
>
>
> <html>
>
> <head>
> <title>New Page 1</title>
> </head>
>
> <body>
>
> <table border="0" cellpadding="0" style="border-collapse: collapse"
> width="1013" id="table1" height="621">
> <tr>
> <td width="160">this side has the items the were selected<p>but it shows
> all the div's and puts a carriage return after them.</p>
> <p>i would like the carriage return not to show unless the div actually
> has some content.&nbsp; (more than &quot;&quot;)</td>
> <td><iframe name="I1" src="new_page_2.htm" width="776" height="581">
> Your browser does not support inline frames or is currently configured
> not to display inline frames.
> </iframe></td>
> </tr>
> </table>
>
> </body>
>
> </html>
>
>
>
>
>
> <html>
>
> <head>
> <meta http-equiv="Content-Language" content="en-gb">
> <meta name="GENERATOR" content="Microsoft FrontPage 6.0">
> <meta name="ProgId" content="FrontPage.Editor.Document">
> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
> <title>New Page 2</title>
> </head>
>
> <body>
>
> <p>this side has an inline frame and this is where the items are selected,
> and
> the div's are defined.</p>
> <p>&nbsp;</p>
> <p>i have not shown all of the script as it is very long.</p>
>
> </body>
>
> </html>
>
>
>
>
>
>
>
> "Murray" <forums@xxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:%23KMp4jxWFHA.2572@xxxxxxxxxxxxxxxxxxxxxxx
>>> I am printing to one place in one of the tables
>>
>> Huh? You are printing to a table?
>>
>>> 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.
>>
>> What does this have to do with divs? Sorry - I'm not tracking you at
>> all....
>>
>> --
>> Murray
>> ============
>>
>> <cheers> wrote in message news:O9ddEXxWFHA.3864@xxxxxxxxxxxxxxxxxxxxxxx
>>>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