newbie html scolling text Q

Sorry with the newbie question!… I’m trying to puzzle out how to place a layer that contains text which might be scrolled with those people little up/down scrollers. I’m very green still on the subject of code and are doing well up to this point and not jump in the deep end. I’m in the dreamweaver mx. Is there code that we can just message in and fine-tune the x/y placement and dimensions or would it be more involved I’ve truly really got simply no idea how to get this done, yet it’s used usually in websites…. support

Code:
... < head>
< type type=" text/css" media=" screen" >

#scroll

bigger: 400px;
height: 600px;

/* discretionary */

position: utter;
left: (x)px;
major: (y)px;

/* finish */

overflow: crash;
border: 1px sound black;



< /style>
< /head>...

< div id=" scroll" >
Once this text overflows the dimentions scollbars will become active.
Once this text overflows the dimentions scollbars will become active.
Once this text overflows the dimentions scollbars will become active.
etc
< /div>

You could basicly insert your < div> block from a table cell, then you definitely could delete the actual lines encircled together with /* optional */; otherwise you’d probably define your individual x/y pixel ideals to position it around the page… The CSS can be added between that < head> < /head> within your html document.

that is quick!! thanks heaps with the it worked nicely. Is there a method to stop the horizontal scroller appearing

The horizontal scrollbar can be being caused through whatever content you place included in the scrollable region, if something offers an x value that is definitely bigger than 400px for example a horizontal scrollbar will probably appear. Normal text itself shouldn’t repeat this because it has the capacity to wrap onto a fresh line.

If you give sample code or maybe post a url it would easier to support troubleshoot your challenge.

Also on anther please note, I think messed up while using example I placed before (sorry however it was 3: 00am)… I’ve edited it now so it should be good.

This entry was posted in Web Design and tagged , , , , , , , , , , , , , . Bookmark the permalink.

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *