Ask a Question related to Macromedia Dreamweaver, Design and Development.
-
JohnnyA webforumsuser@macromedia.com #1
Text wrapping on window resize?
When using tables to place images and text on the page, what is the key to getting text (text that is actual content, not an image) to re-wrap as the page is shrunk or increased in the user's browser window?
I can't seem to get my text to change its wrapping and the window shrinks. It just gets cut off as the width decreases.
johnny
JohnnyA webforumsuser@macromedia.com Guest
-
window resize
Hello, Is it possible to have a thumbnail in one cell of a table and the linked image open in another cell of the same or another table on the... -
Wrapping Text
How do you get text to wrap around images in Contribute draft pages? I don't see the option...or is this something that has to be done in... -
Resize window problem
thanks! -
Window blinks on resize
Hello, When I resize some windows in FMP 5/W98, there is a blinking effect something like the flashing of a portal but, instead of showing the... -
window resize?
Yes can use MX. The only issue that you may run into will be if PS has created sliced images to your original size. -- Regards Paul Whitham... -
Alexander Ross #2
Re: Text wrapping on window resize?
make sure your table (the one that contans the text and images) has a width
that is a percent value and not a pixel value.
i.e. <table width="80% ...
as opposed to
<table width="500" ...
"JohnnyA" <webforumsuser@macromedia.com> wrote in message
news:bel0mu$6r8$1@forums.macromedia.com...getting text (text that is actual content, not an image) to re-wrap as the> When using tables to place images and text on the page, what is the key to
page is shrunk or increased in the user's browser window?It just gets cut off as the width decreases.>
> I can't seem to get my text to change its wrapping and the window shrinks.>
> johnny
>
>
Alexander Ross Guest
-
JohnnyA webforumsuser@macromedia.com #3
Re: Text wrapping on window resize?
Alex, I noticed you refered to the cell the text and image was in. I had the text in a table in the td immediately to the right of the pic. When I put the text in the same td as the image, the word wrapping does automatically adjust as the browser window size is adjusted up and down.
I did not have pixel size on the td with the text by itself. I had 100% on it. I tried many combinations including putting the text directly into the td next to the image instead of into table that was in the td. It seems like text all by itself won't re-wrap.
Now that the text is the td with the image, I'm having trouble getting the text to align exactly where I want it. When I select the image and select alignment=left, the text aligns at the top of the image on the right. Selecting middle does nothing.
I really want the text aligned on the right at the middle of the pic. I can move the text down with carriage returns or with a transparent gif spacer image. However as the window is resized, what looked good in the maximized window doesn't look as good when the window is shrunk.
If there isn't a way to better align the text, I may have to settle for the spacer image method. That would be better than the carriage returns, I presume?
johnny
JohnnyA webforumsuser@macromedia.com Guest
-
Dan Vendel *GOF* #4
Re: Text wrapping on window resize?
"JohnnyA" [email]webforumsuser@macromedia.com[/email] wrote:
had the text in a table in the td immediately to the right of the pic.> Alex, I noticed you refered to the cell the text and image was in. I
When I put the text in the same td as the image, the word wrapping does
automatically adjust as the browser window size is adjusted up and down.100% on it. I tried many combinations including putting the text>
> I did not have pixel size on the td with the text by itself. I had
directly into the td next to the image instead of into table that was in
the td. It seems like text all by itself won't re-wrap.getting the text to align exactly where I want it. When I select the>
> Now that the text is the td with the image, I'm having trouble
image and select alignment=left, the text aligns at the top of the image
on the right. Selecting middle does nothing.I can move the text down with carriage returns or with a transparent>
> I really want the text aligned on the right at the middle of the pic.
gif spacer image. However as the window is resized, what looked good in
the maximized window doesn't look as good when the window is shrunk.for the spacer image method. That would be better than the carriage>
> If there isn't a way to better align the text, I may have to settle
returns, I presume?It doesn't matter whether you have pixels or percentage width. You could>
> johnny
>
>
>
>
have no width at all, and it should wrap anyway.
I tried to understand what you want to do, but a guess is that you want
an image to the left and text to the right in the same cell, and that
the text should align to the vertical center if the image. Is that so?
If correct, you can e.g. place a table with two columns in the cell,
image in the left cell, text in the right, vertically align "middle"
like this:
<table width="400" border="0" cellspacing="3" cellpadding="0">
<tr valign="middle">
<td><img src="images/image.jpg" width="96" height="74"
align="left"></td>
<td>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed
diam nonummy
nibh euismod tincidunt ut</td>
</tr>
</table>
--
Dan Vendel - *GOF*
[url]http://www.vendel.info[/url]
Contact me directly by clicking here:
[url]http://contact.vendel.info[/url]
Formmail tutorial:
[url]http://www.vendel.info/tut/formmail.html[/url]
Nested table demonstration:
[url]http://www.vendel.info/tabletut/[/url]
Dan Vendel *GOF* Guest
-
JohnnyA webforumsuser@macromedia.com #5
Re: Text wrapping on window resize?
Thanks, everyone, I got it working. I really aprreciate it.
johnny
JohnnyA webforumsuser@macromedia.com Guest
-
Lakshmi #6
Re: Text wrapping on window resize?
Hi ,
I have a scenario where the text should not wrap when the window is shrinked in size.This happens good in IE but not in firefox.I used <pre> tag which really dint help me.I have a given a width so that the text does not wrap.But i need a solution where my width of the <td> remains same.Please give me a suggestion.Lakshmi Guest



Reply With Quote

