Connecting Tech Pros Worldwide Forums | Help | Site Map

Inserting a line break

Joe Boy
Guest
 
Posts: n/a
#1: Jun 27 '08
I am using a javascript to display a slide show of images.

Each image is called with this in the body:-

<select name="slide" onchange="change();">
<optionvalue="pictures/picture01.jpg">
Text under the picture</option>
<optionvalue="pictures/picture02.jpg">
Text under the picture</option>
</select>


When I have a lot of text under the picture I want to spread it over
two lines but if I insert <brit is ignored

Is there any other way to force a line break within the <option...?

--
Joe Boy

sheldonlg
Guest
 
Posts: n/a
#2: Jun 27 '08

re: Inserting a line break


Joe Boy wrote:
Quote:
I am using a javascript to display a slide show of images.
>
Each image is called with this in the body:-
>
<select name="slide" onchange="change();">
<optionvalue="pictures/picture01.jpg">
Text under the picture</option>
<optionvalue="pictures/picture02.jpg">
Text under the picture</option>
</select>
>
>
When I have a lot of text under the picture I want to spread it over
two lines but if I insert <brit is ignored
>
Is there any other way to force a line break within the <option...?
>
'<optionvalue=' ?????? Do you mean '<option value=' ?
Joe Boy
Guest
 
Posts: n/a
#3: Jun 27 '08

re: Inserting a line break


On Tue, 13 May 2008 21:35:48 -0400, sheldonlg <sheldonlgwrote:
Quote:
>Joe Boy wrote:
Quote:
>I am using a javascript to display a slide show of images.
>>
>Each image is called with this in the body:-
>>
> <select name="slide" onchange="change();">
> <optionvalue="pictures/picture01.jpg">
> Text under the picture</option>
> <optionvalue="pictures/picture02.jpg">
> Text under the picture</option>
> </select>
>>
>>
>When I have a lot of text under the picture I want to spread it over
>two lines but if I insert <brit is ignored
>>
>Is there any other way to force a line break within the <option...?
>>
>
>'<optionvalue=' ?????? Do you mean '<option value=' ?
Ooopppps - yes <option value=

I copied and pasted from the source code in the web site which has the
space so I don't know where it vanished to :-(

--
Joe Boy
RobG
Guest
 
Posts: n/a
#4: Jun 27 '08

re: Inserting a line break


On May 14, 11:25 am, Joe Boy <joe...@invalid.invalidwrote:
Quote:
I am using a javascript to display a slide show of images.
>
Each image is called with this in the body:-
>
<select name="slide" onchange="change();">
<optionvalue="pictures/picture01.jpg">
Text under the picture</option>
<optionvalue="pictures/picture02.jpg">
Text under the picture</option>
</select>
>
When I have a lot of text under the picture I want to spread it over
two lines but if I insert <brit is ignored
>
Is there any other way to force a line break within the <option...?
No.

BTW, this is an HTML question, not javascript, so try:

news:comp.infosystems.www.authoring.html

or just read:

<URL:
http://groups.google.com.au/group/co...617b6a7580723b
Quote:
>

--
Rob
Joe Boy
Guest
 
Posts: n/a
#5: Jun 27 '08

re: Inserting a line break


On Tue, 13 May 2008 20:23:34 -0700 (PDT), RobG <rgqld@iinet.net.au>
wrote:
Quote:
>On May 14, 11:25 am, Joe Boy <joe...@invalid.invalidwrote:
Quote:
>I am using a javascript to display a slide show of images.
>>
>Each image is called with this in the body:-
>>
> <select name="slide" onchange="change();">
> <optionvalue="pictures/picture01.jpg">
> Text under the picture</option>
> <optionvalue="pictures/picture02.jpg">
> Text under the picture</option>
> </select>
>>
>When I have a lot of text under the picture I want to spread it over
>two lines but if I insert <brit is ignored
>>
>Is there any other way to force a line break within the <option...?
>
>No.
>
>BTW, this is an HTML question, not javascript, so try:
>
news:comp.infosystems.www.authoring.html
>
>or just read:
>
><URL:
>http://groups.google.com.au/group/co...617b6a7580723b
Quote:
>>
Thanks Rob - that seems to cover it.
--
Joe Boy
Closed Thread