Question on code

Discussion in 'HTML' started by R. Place, Apr 29, 2004.

  1. R. Place

    R. Place Guest

    Okay, what I want to accomplish is to have my middle cell scroll instead of
    tiling the background image. What I have done is sliced a background image
    into thirds and want to maintain the image integrity. I want to have the
    image static and the text just scroll (if that is possible). I also want the
    middle cell to use a seperate .css, I have been messing with this for a few
    days and any help would be greatly appreciated. My question is how do i make
    my text scroll for the middle cell and not tile the background image no
    matter the amount of text. I want the cell to maintain its size.

    Also below the HTML code is my .css for my outer scroll and my cell scroll.


    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++

    html>

    <head>

    <title>Test</title>

    <meta name="description" content="Test">

    <meta name="keywords" content="Test">

    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

    <link rel="stylesheet" type="text/css" href="outerscroll.css">

    </head>

    <body text="#ffffff" bgcolor="#000000" topmargin="0" leftmargin="0"
    scroll="auto">

    <!-- start outer table -->

    <table width="100%" height="100%" border="0" cellpadding="0"
    cellspacing="0">

    <tr><td align="center">

    <!-- start border table -->

    <table width="770" height="578" border="0" cellpadding="0" cellspacing="0"
    bgcolor="#D9D8D5">

    <tr><td align="center">

    <!-- start inner table -->

    <table width="768" border="0" cellpadding="0" cellspacing="0">

    <tr>

    <td bgcolor="#534f44" height="137"><img border="0"
    src="images/header-title.jpg" width="768" height="137"></td>

    </tr>

    <tr>

    <td bgcolor="#d7d7d7" height="302" background="images/middle2.jpg"
    valign="top" align="left" class="scroll.css" scrolling="auto">

    </td>

    </tr>

    <tr>

    <td bgcolor="#534f44" height="137"><img border="0" src="images/Footer.jpg"
    width="768" height="137"></td>

    </tr>

    </table>

    <!-- end inner table -->

    </td></tr>

    </table>

    <!-- end border table -->

    </td></tr>

    </table>

    <!-- end outer table -->

    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    +++

    CSS info:

    Outerscroll;

    BODY {

    SCROLLBAR-FACE-COLOR: #000000; SCROLLBAR-HIGHLIGHT-COLOR: #000000;
    SCROLLBAR-SHADOW-COLOR: #808080; SCROLLBAR-3DLIGHT-COLOR: #808080;
    SCROLLBAR-ARROW-COLOR: #808080; SCROLLBAR-TRACK-COLOR: #000000;
    SCROLLBAR-DARKSHADOW-COLOR: #000000

    }

    ======================================


    Scroll;


    BODY {

    SCROLLBAR-FACE-COLOR: #f0f0f0; SCROLLBAR-HIGHLIGHT-COLOR: #bababa;
    SCROLLBAR-SHADOW-COLOR: #d3d2d4; SCROLLBAR-3DLIGHT-COLOR: #d3d2d4;
    SCROLLBAR-ARROW-COLOR: #808080; SCROLLBAR-TRACK-COLOR: #d9d8d5;
    SCROLLBAR-DARKSHADOW-COLOR: #bababa

    }

    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    ++++
     
    R. Place, Apr 29, 2004
    #1
    1. Advertising

  2. R. Place

    Whitecrest Guest

    In article <>, "R. Place" <mrplace01
    (at) nospam.comcast.net> says...
    > Okay, what I want to accomplish...

    <snip>

    Put a div in the cell and put the text in the div. Set the scroll bar
    appearance as needed.
    --
    Whitecrest Entertainment
    www.whitecrestent.com
     
    Whitecrest, Apr 29, 2004
    #2
    1. Advertising

  3. "R. Place" <mrplace01(at) nospam.comcast.net> wrote:

    > Okay, what I want to accomplish is to have my middle cell scroll
    > instead of tiling the background image.


    So why don't you even give a hint of that on the Subject line?

    > Also below the HTML code is my .css for my outer scroll and my cell
    > scroll.


    You haven't been reading this group long, have you? Posting large chunks
    of code is an almost sure way of getting just the wrong answers, if
    anything. Post the URL and use a descriptive Subject line. Before you
    start behaving that way, please do not fix your From line. TIA.

    > html>


    Oh, you have syntax errors at the very beginning. No wonder your page
    does not work. HTH.


    --
    Yucca, http://www.cs.tut.fi/~jkorpela/
    Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html
     
    Jukka K. Korpela, Apr 30, 2004
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ron
    Replies:
    1
    Views:
    2,713
    Showjumper
    Jun 24, 2003
  2. Ian
    Replies:
    0
    Views:
    1,395
  3. Ben Miller [msft]

    Re: Code Behind vs. no code behind: error

    Ben Miller [msft], Jun 27, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    620
    Alphonse Giambrone
    Jun 28, 2003
  4. =?Utf-8?B?Q2FybG8gTWFyY2hlc29uaQ==?=

    Fire Code behind code AND Javascript code associated to a Button Click Event

    =?Utf-8?B?Q2FybG8gTWFyY2hlc29uaQ==?=, Feb 10, 2004, in forum: ASP .Net
    Replies:
    4
    Views:
    21,293
    =?Utf-8?B?Q2FybG8gTWFyY2hlc29uaQ==?=
    Feb 11, 2004
  5. keithb
    Replies:
    1
    Views:
    939
    Bruce Barker
    Mar 29, 2006
Loading...

Share This Page