PC Review


Reply
Thread Tools Rate Thread

Controlling Column Heights

 
 
toddcarew@gmail.com
Guest
Posts: n/a
 
      13th Feb 2007
I have a database with 10 to 15 "stories" in it per "issue" of a
newsletter. I need the newsletter formated so that when it is printed
(from an online browser) it is presented in 2 columns on the page
approximatly 3.5" wide each.

I can set up the page so that there is the 2 columns with out
difficulty. The problem I am runnign into is wrapping the stories so
that they go down one column until the hit "the bottom of the page"
and then continue to the next column.

I also need to figure out if a story is longer then the column space
left on the second column. If so then I need to pring it on the next
page instead.


so, somehow I need to determine how :high" each story will be, word
wrapped, if I place it with a certain font and size into a 3.5 "
column.

Please feel fre to contact me or post code here if you know how this
is accomplished on an aspx page using C#

 
Reply With Quote
 
 
 
 
Chan Ming Man
Guest
Posts: n/a
 
      14th Feb 2007
Your database mean SQL 2005?

From what you describe probably it is better to do it in Microsoft
Publisher.

chanmm

<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I have a database with 10 to 15 "stories" in it per "issue" of a
> newsletter. I need the newsletter formated so that when it is printed
> (from an online browser) it is presented in 2 columns on the page
> approximatly 3.5" wide each.
>
> I can set up the page so that there is the 2 columns with out
> difficulty. The problem I am runnign into is wrapping the stories so
> that they go down one column until the hit "the bottom of the page"
> and then continue to the next column.
>
> I also need to figure out if a story is longer then the column space
> left on the second column. If so then I need to pring it on the next
> page instead.
>
>
> so, somehow I need to determine how :high" each story will be, word
> wrapped, if I place it with a certain font and size into a 3.5 "
> column.
>
> Please feel fre to contact me or post code here if you know how this
> is accomplished on an aspx page using C#
>


 
Reply With Quote
 
toddcarew@gmail.com
Guest
Posts: n/a
 
      14th Feb 2007
On Feb 14, 1:35 am, "Chan Ming Man" <chan...@hotmail.com> wrote:
> Your database mean SQL 2005?
>
> From what you describe probably it is better to do it in Microsoft
> Publisher.
>
> chanmm
>
> <toddca...@gmail.com> wrote in message
>
> news:(E-Mail Removed)...
>
>
>
> >I have a database with 10 to 15 "stories" in it per "issue" of a
> > newsletter. I need the newsletter formated so that when it is printed
> > (from an online browser) it is presented in 2 columns on the page
> > approximatly 3.5" wide each.

>
> > I can set up the page so that there is the 2 columns with out
> > difficulty. The problem I am runnign into is wrapping the stories so
> > that they go down one column until the hit "the bottom of the page"
> > and then continue to the next column.

>
> > I also need to figure out if a story is longer then the column space
> > left on the second column. If so then I need to pring it on the next
> > page instead.

>
> > so, somehow I need to determine how :high" each story will be, word
> > wrapped, if I place it with a certain font and size into a 3.5 "
> > column.

>
> > Please feel fre to contact me or post code here if you know how this
> > is accomplished on an aspx page using C#- Hide quoted text -

>
> - Show quoted text -


sorry it needs to be on the web dynamically

 
Reply With Quote
 
Chan Ming Man
Guest
Posts: n/a
 
      15th Feb 2007
You can actually try to render the table with 2 column dynamically like:

Response.Write("<span style=" & """font-size: 24pt; color: #0000cc""" &
"><Strong>Movie Lists</Strong></span>")
Response.Write("<Table Border=" & """1""" & ">")
Response.Write("<tr>")
Response.Write("<td align=" & """center""" & ">")
Response.Write("<font color=" & """#008000""" & ">")
Response.Write("Some text")
Response.Write("</font>")
Response.Write("</td>")

Think about it

chanmm

<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> On Feb 14, 1:35 am, "Chan Ming Man" <chan...@hotmail.com> wrote:
>> Your database mean SQL 2005?
>>
>> From what you describe probably it is better to do it in Microsoft
>> Publisher.
>>
>> chanmm
>>
>> <toddca...@gmail.com> wrote in message
>>
>> news:(E-Mail Removed)...
>>
>>
>>
>> >I have a database with 10 to 15 "stories" in it per "issue" of a
>> > newsletter. I need the newsletter formated so that when it is printed
>> > (from an online browser) it is presented in 2 columns on the page
>> > approximatly 3.5" wide each.

>>
>> > I can set up the page so that there is the 2 columns with out
>> > difficulty. The problem I am runnign into is wrapping the stories so
>> > that they go down one column until the hit "the bottom of the page"
>> > and then continue to the next column.

>>
>> > I also need to figure out if a story is longer then the column space
>> > left on the second column. If so then I need to pring it on the next
>> > page instead.

>>
>> > so, somehow I need to determine how :high" each story will be, word
>> > wrapped, if I place it with a certain font and size into a 3.5 "
>> > column.

>>
>> > Please feel fre to contact me or post code here if you know how this
>> > is accomplished on an aspx page using C#- Hide quoted text -

>>
>> - Show quoted text -

>
> sorry it needs to be on the web dynamically
>


 
Reply With Quote
 
toddcarew@gmail.com
Guest
Posts: n/a
 
      15th Feb 2007
On Feb 14, 7:52 pm, "Chan Ming Man" <chan...@hotmail.com> wrote:
> You can actually try to render the table with 2 column dynamically like:
>
> Response.Write("<span style=" & """font-size: 24pt; color: #0000cc""" &
> "><Strong>Movie Lists</Strong></span>")
> Response.Write("<Table Border=" & """1""" & ">")
> Response.Write("<tr>")
> Response.Write("<td align=" & """center""" & ">")
> Response.Write("<font color=" & """#008000""" & ">")
> Response.Write("Some text")
> Response.Write("</font>")
> Response.Write("</td>")
>
> Think about it
>
> chanmm
>
> <toddca...@gmail.com> wrote in message
>
> news:(E-Mail Removed)...
>
>
>
> > On Feb 14, 1:35 am, "Chan Ming Man" <chan...@hotmail.com> wrote:
> >> Your database mean SQL 2005?

>
> >> From what you describe probably it is better to do it in Microsoft
> >> Publisher.

>
> >> chanmm

>
> >> <toddca...@gmail.com> wrote in message

>
> >>news:(E-Mail Removed)...

>
> >> >I have a database with 10 to 15 "stories" in it per "issue" of a
> >> > newsletter. I need the newsletter formated so that when it is printed
> >> > (from an online browser) it is presented in 2 columns on the page
> >> > approximatly 3.5" wide each.

>
> >> > I can set up the page so that there is the 2 columns with out
> >> > difficulty. The problem I am runnign into is wrapping the stories so
> >> > that they go down one column until the hit "the bottom of the page"
> >> > and then continue to the next column.

>
> >> > I also need to figure out if a story is longer then the column space
> >> > left on the second column. If so then I need to pring it on the next
> >> > page instead.

>
> >> > so, somehow I need to determine how :high" each story will be, word
> >> > wrapped, if I place it with a certain font and size into a 3.5 "
> >> > column.

>
> >> > Please feel fre to contact me or post code here if you know how this
> >> > is accomplished on an aspx page using C#- Hide quoted text -

>
> >> - Show quoted text -

>
> > sorry it needs to be on the web dynamically- Hide quoted text -

>
> - Show quoted text -


I knbow how to do that... this is a much more complicated
application. the first colum needs to print all the way down the
page.. when it reaches the bottom, it needs to then create a second
column on the page, perhaps continuing the storie, perhaps starting a
new one.

In the second conlumn, it needs to know how many "lines" are left and
decide if it should start the next story there or go onto the next page

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Access Column Heights Robert01 General Software 0 3rd Aug 2011 11:43 AM
column widths and row heights =?Utf-8?B?UGF0cmljaw==?= Microsoft Excel Discussion 5 9th Oct 2007 05:34 AM
Re: column widths and row heights =?Utf-8?B?UGF0cmljaw==?= Microsoft Excel Discussion 0 9th Oct 2007 05:04 AM
Row and Column heights =?Utf-8?B?R2FyeQ==?= Microsoft Excel Misc 2 27th Jul 2007 12:10 PM
Column widths & row heights =?Utf-8?B?VGlt?= Microsoft Excel Misc 2 24th Jan 2006 08:55 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:00 AM.