Ok. I'm trying to use FPDF to fill out an existing forms. I'm positioning my element with X,Y coords as well as giving each Width and Height attributes. Ideally, the text should align bottom left, and if it wraps, then it should push the text up, unless it can't fit inside the height of the MultiCell, then it just simply hides what can't fit. I would like this behavior in most places, but i would also want it to behave where it simply wraps as normal (which i believe is the default value.). So I would like to know if these 2 features are possible:

- overflow hidden when text flows outside the specified height/width dimensions of the cell/multicell- optionally align bottom, so upon wrap, the first line text moves up, rather than staying fixed and pushing the 2nd line down.

I'm using FPDF/FPDI to import a pdf and add a header to the page. Everything is working perfectly except a margin is being placed at the bottom of the page that I can't seem to get rid of. I think what happens is that fpdi imports the pdf page (which already has a footer margin at the bottom) and then fpdf adds an additional margin below the imported pdf page. The problem is that instead of having 11'' tall pdfs they are 11.69'' tall (to tall for printing). think of any tricks to remove this margin? I've looked through the fpdf documentation and have tried a couple things but nothing seems to be working.

I am trying to get a multi-page report to print correctly on all printers regardless of the manufacturer. I am having lots of issues with this task though and also having problems with getting the correct spacing. I want to divide the document into 3 partitions per page where it shows the exact same thing (aside from the number in the top right) for each partition. I need everything to fit on the page and i need the most printing area possible available to me. Here is what I have so far...

I have printed this to 2 printers here without problems but the third is proving difficult. It cuts off the left edge. Does anyone know the issue I am having? The page setup also seems to be the exact same for both computers (Fit to printable area, Choose paper source by pdf page size, auto rotate and center)

I have a page that has 10 rows appear on it, but I also want 4 columns (not just 1). I was wondering if someone could tell me how I can go about and get 4 columns and 10 rows to appear on each page. Code:

however it doesn't have the deisred results. I think this may be because of the sizes of the characters, I attatch an image of what I want to acheive, and it includes at the bottom the output of the code above.

Table with names of Artists (m)Table with Product iformations, in this case Picture addresses (p)Table that has id of Artists and id of Products. (pmx)

I'm trying to Join them together so I get 1 row for each Artists. There are several images in p table for 1 Artists. I added a column called mf_prior where are the numbers of images (user assigns the numbers hiself and select those 3 images that he wants to be displayd on the front-end). I'm searching Artists (manufacturers) by Letters for ex. "M" I'd like to get

This is my problem:I want to get from my database the last 3 id columns and then present them separately in the page. I want to be able to tell my page to show the last id entered to the table someplace, and the one before that someplace else, and the one before that here and so on... I don't want a list, I want to be able to decide where the record is presented in my HTML design.

include 'c:usrapachehttpdhtmlmyavi.php'include 'c:usrapachehttpdhtmlmyindex.php'

?>

thats my current code, the problem is that the first include line needsto be align in a specific area. the navi.php is my navigation page andim tring to align it to a specific area. the index is the regular pageand doesn't need anything done.anyone of your pro's know what im lacking?

I have modified a captcha plugin. I use imagestring, imagettftext and imagefttext to display text in an image. The problem is that the text is like a sin wave and the angle is set to 0.0. Wolud Postscript work?

I've got a very complex pre-printed form, A4 size. Onto this form I want to print out some dynamic content from my mysql db.

The problem:

Aligning the dynamic content on a html page with css (using css pagebreak) is not easy. And also I find it a bit "off" when the new page is going to print. (might be just me or the printer)

The Solution:Generate a pdf on-the-fly with php.

So far so good. I prayed.

Now, the trouble is that I still need to align the variables right. So generating a pdf from scratch will still give me a lot of work. So, I think this might be the plan?

1) Scan the pre-printed form to pdf.2) Fill in with php variables where needed in the scanned pdf file.3) Stripp the "form" layout from my new pdf (so that any new dynamic pdf only contain the variables for printout)4) Genereate on-the-fly pdf (silly looking, with only words here and there, but ok on paper since it will be put inside the pre-printed form)

Problem:

How to open the scanned form (now a pdf file) with php and to further work with it? It seems that it's only possible to "generate" a pdf with php, not "edit" an existing pdf file?

According to "Roger Ramjet" (user on this forum, in post 4 in reply to this thread: ....

I know I havent been using css, thats going to be fixed asap although As seen below the text Player and Date/Time is aligned left and right, I would like to have $raden[0] to go left and [2] to right to match the above text.

I have a loop which generates tables according to a database content.In other words, the content is changed all the timeCurrently all tables are aligned beneath eachother. This makes one huge vertical scroll, I would save alot of space if the tables could be aligned next to eachother.How can I do so?Here is the table code:

I have used dreamweaver to create a master details page with links to the details page successfully, but I would like to display the master details page results in 3 columns rather than the 1 column that dreamweaver defaults. As the site becomes richer the content will increase yielding many results, therfore the content displayed in a single column will require the users to scroll way down the page.

So, as it is now the results display as follows:

Plant1Plant2Plant3Plant4Plant5

[Code].....

I have been unsuccessful maintaining the links. I have been able get the results to display in the columsn as I would like, but I haven't been able to figure it out while maintaining the links!

I would like to display my master details page links to the details pages in three columns rather than a single column. Below is the do-while code I have thus far, and I am stuck. mock up this code quick, because I know it is a simple syntax error somewhere.

I have a webpage that I am making on linux using PHP5. I have created a small calendar showing one month on the left top of the page. I want 4 one line images to be beside the calendar on the page at the right. Like this:

I am setting up dynamic forum signature images for my users and I want to be able to put their username on the image. I am able to do this just fine, but since usernames are different lengths and I want to right align the username, how can I go about doing this when I have to set x & y coordinates.

I'm very successfully using CKEditor in my app that allows clients to build and send HTML Emails. There's just one hitch--CK uses style="float:left" for images, while Outlook refuses to accept that as valid (way to go, Microsoft..) FCKEditor used to use aligns instead of floats to position images. Is there a way to hack CKEditor to behave as FCK used to with regards to image alignment?

i would like to align my following code so that it sets it to the left side of the ;page. ive tried a few things but didnt work. also i would like to have it so that it only searches for picture and movie files. how would this be accomplished? Code:

I am trying to get a series of image in cells a table row to all align at the bottom of the table cells..... I have tried both the img align top, botom and abstop and absbottom, but they always end up aligned in the vertical center of the cell.

The images are nothing more than one image that has been resized vertically based on a data array. Code:

I have been asked to come up with a solution which would allow our users to create their own custom javascript dialog text. However we need it to be centered.

At the moment, we have a textarea, which the user pads using spaces and tests with a preview button. I would like to change this to allow for the text to be center aligned automatically. I think this would mean just adding the spaces myself line by line in the backend, and also adding in the correct line breaks.

The only way I can think of doing it, is getting the longest line as int, and then subtracting subsequent lines from it, and diving the result by two, and tacking that many spaces on front and back.

Is there a cleaner more elegant way to approach this problem? Are there ways of aligning text actually inside the dialog?

I had considered something like TinyMCE, but I think it's a little overkill, for what is essentially a 150 character, 4-5 line string.

Can I carry this data to a new page without having to call from the database again.The reason is that I want to sort ALL the columns (which I can do already) but then transfer that sorted table to a new page for printing.

I don't know if this is even possible with PHP, but I figured if it is, someone here will know how. I'm currently working on a project where users can customize a full body main avatar to be used throughout the site. There are a bunch of different face, hair, etc transparent png images that can be selected to make their custom avatar. I have this working great, but here is the hard part. I want to be able to use the face, hair, and beard (if male), and automatically create an 80x80 image that will be used as their small avatar for forum posts, etc.There are a few obstacles with this. First, all of the images are 187x404 (big amounts of the image are transparent, the character body image is achieved by stacking the images, so a face image isn't actually that big). For this to work, the images would effectively have to be automatically cropped so that all of the extra space was removed and the actual face, hair, or beard part showed in the 80x80 spot.The second issue is that some of the hair or beards (when placed on the full-size face image) would extend past the 80x80 and be chopped off. So the image would have to be pieced together at full size, and then resized to fit in 80x80.I know the basic way of combining the 3 images into one [URL].....transparent-png-images-on-top-of-each-other-with-php), but that is as far as I've gotten. If I'm crazy and this isn't possible then tell me. I'm probably way overcomplicating this, so if you see and obviously easier way to achieving this, I would love to hear it.