R
Rafal 'Raf256' Maj
Hi,
I want to have an image, overflowed by text (using XHTML,CSS) problem is
that when I use align="left", then the image was breaking out of <div> in
with it was (div is a border). AsciiArt example of what I want to achive :
1) I have a text in <div style="border: 1px">
---div------div------div----
| text text text text text |
| text text text text text |
| text text text text text |
| text text text text text |
| text text text text text |
---div------div------div----
2) Then I add an image to begin of it :
---div------div------div----
| ***** |
| *img* |
| ***** text text text text |
| text text text text text |
| text text text text text |
---div------div------div----
3) Then I add align="left" so that text will be all over image:
---div------div------div----
| ***** text text text text |
| *img* text text text text |
| ***** text text text text |
| text text text text text |
| text text text text text |
---div------div------div----
4) Problem is, that, when image is too long (height) then it's breaking out
of <div>, instead of making <div> longer (higher) - at leaste under Mozilla
1.5 the result looks like :
---div------div------div----
| ***** text text text text |
| * * text text text text |
| * * text text text text |
| * * text text text text |
| * * text text text text |
--* *-----div------div----
* *
*****
5) when what I want to have is :
---div------div------div----
| ***** text text text text |
| * * text text text text |
| * * text text text text |
| * * text text text text |
| * * text text text text |
| * * |
| * * |
| * * |
--*****-----div------div----
I want to have an image, overflowed by text (using XHTML,CSS) problem is
that when I use align="left", then the image was breaking out of <div> in
with it was (div is a border). AsciiArt example of what I want to achive :
1) I have a text in <div style="border: 1px">
---div------div------div----
| text text text text text |
| text text text text text |
| text text text text text |
| text text text text text |
| text text text text text |
---div------div------div----
2) Then I add an image to begin of it :
---div------div------div----
| ***** |
| *img* |
| ***** text text text text |
| text text text text text |
| text text text text text |
---div------div------div----
3) Then I add align="left" so that text will be all over image:
---div------div------div----
| ***** text text text text |
| *img* text text text text |
| ***** text text text text |
| text text text text text |
| text text text text text |
---div------div------div----
4) Problem is, that, when image is too long (height) then it's breaking out
of <div>, instead of making <div> longer (higher) - at leaste under Mozilla
1.5 the result looks like :
---div------div------div----
| ***** text text text text |
| * * text text text text |
| * * text text text text |
| * * text text text text |
| * * text text text text |
--* *-----div------div----
* *
*****
5) when what I want to have is :
---div------div------div----
| ***** text text text text |
| * * text text text text |
| * * text text text text |
| * * text text text text |
| * * text text text text |
| * * |
| * * |
| * * |
--*****-----div------div----