IamHe
10-16-2009, 01:54 PM
Hi, just wondering, is there a way in which a script can count the lines of your scource code.
for example if i had a page
where i could put
<BEGIN COUNT>
blah blah blah
<END COUNT>
so for example that would tell me there is 1 line.
reason im asking is Ive made a layout with 2 collums , a main box on the left, and a right pannel.
but the problem im having , is if the content on each page of the right box isnt as long as the left, it ends up in diffrent places up and down the page, and i dont want to use frames or anything, so i dont know any other way of fixing this, other than matching the content on each side.
so my idea was if i could some how count the lines on the left and say like
if less than 40 add the diffrence.
in <br>'s
get what i mean?
hope i havent confused every one:)
thanks
LIAM
for example if i had a page
where i could put
<BEGIN COUNT>
blah blah blah
<END COUNT>
so for example that would tell me there is 1 line.
reason im asking is Ive made a layout with 2 collums , a main box on the left, and a right pannel.
but the problem im having , is if the content on each page of the right box isnt as long as the left, it ends up in diffrent places up and down the page, and i dont want to use frames or anything, so i dont know any other way of fixing this, other than matching the content on each side.
so my idea was if i could some how count the lines on the left and say like
if less than 40 add the diffrence.
in <br>'s
get what i mean?
hope i havent confused every one:)
thanks
LIAM