By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,940 Members | 1,250 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,940 IT Pros & Developers. It's quick & easy.

Inserting a line break

P: n/a
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
Jun 27 '08 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Joe Boy wrote:
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=' ?
Jun 27 '08 #2

P: n/a
On Tue, 13 May 2008 21:35:48 -0400, sheldonlg <sheldonlgwrote:
>Joe Boy wrote:
>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
Jun 27 '08 #3

P: n/a
On May 14, 11:25 am, Joe Boy <joe...@invalid.invalidwrote:
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
>

--
Rob
Jun 27 '08 #4

P: n/a
On Tue, 13 May 2008 20:23:34 -0700 (PDT), RobG <rg***@iinet.net.au>
wrote:
>On May 14, 11:25 am, Joe Boy <joe...@invalid.invalidwrote:
>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
>>
Thanks Rob - that seems to cover it.
--
Joe Boy
Jun 27 '08 #5

This discussion thread is closed

Replies have been disabled for this discussion.