Jump to content

snowboard01

Members
  • Posts

    317
  • Joined

  • Last visited

Posts posted by snowboard01

  1. sure you can!

    <html><head><title>somthing or other</title><style type="text/css">.scrolldiv{overflow:scroll;}</style></head><body><div class="scrolldiv">this div scrolls.<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />Thank you for scrolling so far!</body></html>

  2. no need to writrespan.linkbracketyou can only write the span's name :.linkbracket{CSS}
    Yes that works but it is completly optional. When I Have a specific case like that were the span is only applying to one place I like to be specific like:
    span.linkbracket

    Just to point it out.

  3. Well ya one thing I must point out is

    • The Style tag is depracated!
    • Span tags are not the only way! There are divs like this
      <html><head><title>Divs</title><style type="text/css".style{color:#FF0000;display:inline;}</style></head><body><div class="style">This works</div><b class="style">So does this</b><em class="style">So does this</em>There are even more but I won't go on.</body></html>

  4. Span is a line div is a box. you would use spans if you wanted to change text style like:

    <html><head><title>somthing</title </head><body>This is the default color!<span style="color:red">This is red</span>This is black again.<span style="color:green"> this is green</span>ect.</body></html>

    A div is for layouts like this.

    <html><head><style type="text/css">.div{position:absolute;top:100px;left:100px;}</style><body><div class="div>this text is 100px from the top&bottom</body></html>

  5. <textarea rows="somthing" cols="somthing">some text</textarea>

    or to set a default height

    <html><head><style type="text/css"textarea{height: somthing;}</style><title>somthing or other</title></head><body><textarea>some text</textarea></body></html>

    I just can't even consider using so many text areas are you making a questionaire? If so try these.

    <input type="text" value="what you want it to say" />

    If you aren't making a questionaire or somthing related just disregard thatIf you meen the browser default height just put a

    <textarea> </textarea>

    I hope i helped you out-snowboard01

  6. I have heard of flash files that can do it. or html dom like this.<img id="play" onclick="document.bgsound.src=somthing" /><img id="stop" onclick="document.bgsound=nothing" />PS dont try to run that thats just a basic idea thats kinda cheesy

×
×
  • Create New...