Inserting a line break

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Joe Boy

    Inserting a line break

    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="chang e();">
    <optionvalue="p ictures/picture01.jpg">
    Text under the picture</option>
    <optionvalue="p ictures/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

    #2
    Re: Inserting a line break

    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="chang e();">
    <optionvalue="p ictures/picture01.jpg">
    Text under the picture</option>
    <optionvalue="p ictures/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=' ?

    Comment

    • Joe Boy

      #3
      Re: Inserting a line break

      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="chang e();">
      > <optionvalue="p ictures/picture01.jpg">
      > Text under the picture</option>
      > <optionvalue="p ictures/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

      Comment

      • RobG

        #4
        Re: Inserting a line break

        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="chang e();">
        <optionvalue="p ictures/picture01.jpg">
        Text under the picture</option>
        <optionvalue="p ictures/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.infos ystems.www.authoring.html

        or just read:

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

        --
        Rob

        Comment

        • Joe Boy

          #5
          Re: Inserting a line break

          On Tue, 13 May 2008 20:23:34 -0700 (PDT), RobG <rgqld@iinet.ne t.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="chang e();">
          > <optionvalue="p ictures/picture01.jpg">
          > Text under the picture</option>
          > <optionvalue="p ictures/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.infos ystems.www.authoring.html
          >
          >or just read:
          >
          ><URL:
          >http://groups.google.com.au/group/co...617b6a7580723b
          >>
          Thanks Rob - that seems to cover it.
          --
          Joe Boy

          Comment

          Working...