I want to design a forum for my website. I’m pretty good with PHP, and just Okay with CSS. I haven’t been using CSS for long.
I want to make comic book style balloons for the forum where the point of the balloon will point to the avatar that is posting.
I get that each post will be a table that has five columns and three rows.
First column will have the avatar and a fixed with.
Second column will be blank except one row will hold the png image of the balloon point that points to the avatar.
Third column will have a rounded upper left corner of the balloon and the bottom left rounded corner of the balloon (png image) and the left side image*.
The Fourth column will have the top image of the balloon, the text entry area and the bottom image of the balloon.
And lastly the Fifth column will have the upper right corner of the balloon and the bottom right rounded corner of the balloon and the right side image*.
The side images above that I marked with asterisks have to dynamically change size if the text area grows greater than the default height. I might have the default be 5 rows of text. I am pretty sure that since different browsers use different widths that I want to do most of my widths and heights in percentages therefore the top and bottom graphics will need to be dynamic as well.
I think there is a way to draw these graphics as 1 pixel in height or 1 pixel in width and using CSS tell them to dynamically change but I do not know the code for this. This is my question. Can you please post an example of the code for this?
I know it’s probably very simple and I get the whole concept, just need the snippet for the sides, top and bottom images and I can get the rest.
Thank you very much.