473,657 Members | 2,521 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Wrap text around image?

Hi group.

I have a table with a dynamic image and dynamic text field. Whatever i
try, the text doesn't wrap around the image. Can someone please help me
out with this?

this is the code:

<td>
<img src="fotos/<?php echo $row_Recordset1['foto']; ?>" alt=""
name="fotoholde r" width="200" height="200">
<?php echo nl2br( htmlspecialchar s( $row_Recordset1['tekst'])); ?>
</td>

Dec 26 '05 #1
8 2734
Jazztastic said the following on 26/12/2005 14:43:
Hi group.

I have a table with a dynamic image and dynamic text field. Whatever i
try, the text doesn't wrap around the image. Can someone please help me
out with this?

this is the code:

<td>
<img src="fotos/<?php echo $row_Recordset1['foto']; ?>" alt=""
name="fotoholde r" width="200" height="200">
<?php echo nl2br( htmlspecialchar s( $row_Recordset1['tekst'])); ?>
</td>


This is an HTML/CSS question, please ask in alt.html or similar...

--
Oli
Dec 26 '05 #2
On 2005-12-26 15:48:04 +0100, Oli Filth <ca***@olifilth .co.uk> said:
Jazztastic said the following on 26/12/2005 14:43:
Hi group.

I have a table with a dynamic image and dynamic text field. Whatever i
try, the text doesn't wrap around the image. Can someone please help me
out with this?

this is the code:

<td>
<img src="fotos/<?php echo $row_Recordset1['foto']; ?>" alt=""
name="fotoholde r" width="200" height="200">
<?php echo nl2br( htmlspecialchar s( $row_Recordset1['tekst'])); ?>
</td>


This is an HTML/CSS question, please ask in alt.html or similar...


Well, i know a bit of HTMl/CSS and can't find the solution. I have
tried everything possible, both HTML and CSS, but what would normaly
work in normal html doesn't seem to work with two dynamic fields.
That is why i asked the question here.

Dec 26 '05 #3
"Jazztastic " <ja*****@hotmai l.com> kirjoitti
viestissä:20051 22616140416807% jazztoe@hotmail com...
On 2005-12-26 15:48:04 +0100, Oli Filth <ca***@olifilth .co.uk> said:
Jazztastic said the following on 26/12/2005 14:43:
Hi group.

I have a table with a dynamic image and dynamic text field. Whatever i
try, the text doesn't wrap around the image. Can someone please help me
out with this?

this is the code:

<td>
<img src="fotos/<?php echo $row_Recordset1['foto']; ?>" alt=""
name="fotoholde r" width="200" height="200">
<?php echo nl2br( htmlspecialchar s( $row_Recordset1['tekst'])); ?>
</td>

This is an HTML/CSS question, please ask in alt.html or similar...


Well, i know a bit of HTMl/CSS and can't find the solution. I have tried
everything possible, both HTML and CSS,


Have you tried to
* put align="left" or align="right" to the <img> tag.
* put style="float:le ft;" or style="float:ri ght;" to the <img> tag.
but what would normaly work in normal html doesn't seem to work with two
dynamic fields.
That is why i asked the question here.


The fact that you pull the values from a database doesn't make any
difference how the html is rendered, so feel free to ask this sort of
questions at html-related groups, it's not a php-issue.

--
SETI @ Home - Donate your cpu's idle time to science.
Further reading at <http://setiweb.ssl.ber keley.edu/>
Kimmo Laine <an************ *******@gmail.c om.NOSPAM.inval id>
Dec 26 '05 #4
Jazztastic wrote:
On 2005-12-26 15:48:04 +0100, Oli Filth <ca***@olifilth .co.uk> said:
Jazztastic said the following on 26/12/2005 14:43:
Hi group.

I have a table with a dynamic image and dynamic text field. Whatever
i try, the text doesn't wrap around the image. Can someone please
help me out with this?

this is the code:

<td>
<img src="fotos/<?php echo $row_Recordset1['foto']; ?>" alt=""
name="fotoholde r" width="200" height="200">
<?php echo nl2br( htmlspecialchar s( $row_Recordset1['tekst'])); ?>
</td>


This is an HTML/CSS question, please ask in alt.html or similar...

Well, i know a bit of HTMl/CSS and can't find the solution. I have tried
everything possible, both HTML and CSS, but what would normaly work in
normal html doesn't seem to work with two dynamic fields.
That is why i asked the question here.


So if it's an html/css question, why did you ask in a PHP group? Why
not ask in an html or css group?
--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attgl obal.net
=============== ===
Dec 26 '05 #5
Message-ID: <EL************ *************** ***@comcast.com > from Jerry
Stuckle contained the following:
So if it's an html/css question, why did you ask in a PHP group? Why
not ask in an html or css group?

Let's be generous huh? It is Christmas after all. And anyway, html is
a vital part of PHP since without it we would have no interface for most
projects.
--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/
Dec 26 '05 #6
Geoff Berrow wrote:
Message-ID: <EL************ *************** ***@comcast.com > from Jerry
Stuckle contained the following:

So if it's an html/css question, why did you ask in a PHP group? Why
not ask in an html or css group?


Let's be generous huh? It is Christmas after all. And anyway, html is
a vital part of PHP since without it we would have no interface for most
projects.


If we went by what you want, we could have one newsgroup for every
question. After all, everything's related.

You'll be much better off asking html questions in an html group - where
those experts hang out.

--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attgl obal.net
=============== ===
Dec 27 '05 #7
Message-ID: <kN************ ********@comcas t.com> from Jerry Stuckle
contained the following:
Let's be generous huh? It is Christmas after all. And anyway, html is
a vital part of PHP since without it we would have no interface for most
projects.
If we went by what you want, we could have one newsgroup for every
question. After all, everything's related.


That's simply hyperbole.
You'll be much better off asking html questions in an html group - where
those experts hang out.


I'm sure the OP would have done that had they realised. Like I said,
can we not be generous?

--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/
Dec 27 '05 #8
Geoff Berrow wrote:
Message-ID: <kN************ ********@comcas t.com> from Jerry Stuckle
contained the following:

Let's be generous huh? It is Christmas after all. And anyway, html is
a vital part of PHP since without it we would have no interface for most
projects.


If we went by what you want, we could have one newsgroup for every
question. After all, everything's related.

That's simply hyperbole.
You'll be much better off asking html questions in an html group - where
those experts hang out.

I'm sure the OP would have done that had they realised. Like I said,
can we not be generous?


I am being generous by directing him to the best newsgroup for the answer.

--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attgl obal.net
=============== ===
Dec 27 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
5259
by: Mark P | last post by:
My images are fixed in size and can't be redone. Many of them are tall and narrow. How can I wrap text so that the text starts on the right of the image at a level with the top of the image. So that resizing the browser window will cause the text to wrap below the image.
9
5002
by: steven | last post by:
Hi, I can float the image left or right so the text will float around it, but only if the top of the image is aligned with the start of the paragraph. I'd like the image be a little below that, so the text appears above, left and below the image. The text is a single paragraph. Thanks for any help. Steven
2
6173
by: mike | last post by:
Hello, What I would like is to float some text around the image where the text starts align on the left or right of the image aligned to the top of the image and then wrap around the image. I have tried using the .imgright {float: right;} or .imgleft {float: left;} in my draft css. I have looked at other suggestion on the net by using a span class but I am having problems adding it to my <div class="contpara" now such luck. Here is my...
4
11907
by: searider86 | last post by:
Does anyone know if there is a snippet of code that automatically removes the wrap text format in excel? I have an access form that displays data and allows the user to click on a cmdbutton to export the data to excel. However, every export defaults to a formatted wrap text. I am trying to remove this default if possible. Thanks in advance. Here is my code:
1
5765
by: Diego | last post by:
Hi, how do I set the wrap property to FALSE for a datagrid with autocolums enabled? I know there's a work around this bug when the columns are set up in design time but I need the autocolumns option checked. Thanks in advance. Diego.
9
3712
by: edski | last post by:
Using a technique I found here: http://www.vertexwerks.com/tests/sidebox/ I created these "dialogue" boxes: http://www.ebph.org/test.htm In IE6, the text does not wrap correctly around the image, which is floated right. Any ideas / suggestions?
3
2205
by: Coby Herd | last post by:
I 've built a site for a client using .asp and eveything is working fine except I cannot figure out how to wrap text around an image. Everything is pulled from the database using response.write. The code works correctly but I just can't seem to figure out how to do it? I've been searching for weeks about info on how to do this - to no avail. Can anybody offer any help? thanx cobyfrombrooklyn
15
11585
by: removeps-groups | last post by:
How to wrap text in <ptag if the text has no spaces and is very long? Here is an example: <p>VeryVeryLongVeryVeryLongVeryVeryLongVeryVeryLongVeryVeryLongVeryVeryLongVeryVeryLongVeryVeryLongVeryVeryLongVeryVeryLongVeryVeryLongVeryVeryLongVeryVeryLongVeryVeryLongVeryVeryLongVeryVeryLongVeryVeryLongVeryVeryLong</ p> The above line is so long that it ought to wrap. But because it has no spaces, it does not wrap. Instead the entire text...
3
5899
by: raamay | last post by:
I picked up the below code from some website and it is absolutely good working code except that the wrap text feature is not available. The value of field1 below do not go to a new line if the value is long instead it overlaps to the next column. Therefore, i would like to request if anybody could give me a piece of code to solve this issue. <?php require('fpdf.php'); class PDF extends FPDF { //Page header
0
8392
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8305
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8823
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8503
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7320
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6163
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5632
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4151
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4301
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.