Unstoppable Domains

Text Boxes?

Spaceship Spaceship
Watch

Lyle Christine

Established Member
Impact
0
I'd like to also have a news section on my site as one of those text boxes. What's the HTML to set that up?

Sorry for the basic questions but thanks again for any help.
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
.US domains.US domains
Do you mean input field? or a box that contains news? I am not sure that your question is specific.
 
0
•••
Just a box that contains news and people can scroll down. It looks the same as in input field.
 
0
•••
Are you talking about the <textarea> tags?
 
0
•••
you don't want a textbox.

do this:

put this in the head part of your website:
Code:
<style>
#scroll {
width: somethingpx;
height: somethingpx;
overflow: auto;
}
</style>
and this where you want your news bit:
Code:
<div id="scroll">
HTML HERE
</div>

that will make a scrolling box when it overflows.

lovingly referenced from http://www.namepros.com/showthread.php?t=93809&highlight=scroll+div
 
0
•••
That's just the thing I was looking for, but when I'm designing and typing out the text in Dreamweaver all the text spills right down and over everything that's below it but when I preview it looks fine, scrolling bars containing the text.

Is there a way I can keep the text within the 'box' when I'm designing it in the dreamweaver page?

Thanks
 
0
•••
Lyle Christine said:
That's just the thing I was looking for, but when I'm designing and typing out the text in Dreamweaver all the text spills right down and over everything that's below it but when I preview it looks fine, scrolling bars containing the text.

Is there a way I can keep the text within the 'box' when I'm designing it in the dreamweaver page?

Thanks
You design for web browsers, not Dreamweaver, just type in code view if it bothers you that much.

Dreamweaver only renders a rough preview of the page, it's never perfect.
 
0
•••
instead of previewing in Dreamweaver, use code view then press F12 which previews it in iexplorer.
 
0
•••
are you talking about an iframe?
 
0
•••
Mike_Wiseman said:
are you talking about an iframe?
you should try and steer away from iframes as much as possible. Use a scrolling DIV with a php include
 
0
•••
If your new to coding why not use dreamweaver?

I use it, but it does has its setbacks, it helps you to learn though.
 
0
•••
DJ_Guvana said:
If your new to coding why not use dreamweaver?

I use it, but it does has its setbacks, it helps you to learn though.
meet
Lyle said:
That's just the thing I was looking for, but when I'm designing and typing out the text in Dreamweaver all the text spills right down and over everything that's below it but when I preview it looks fine, scrolling bars containing the text.

Is there a way I can keep the text within the 'box' when I'm designing it in the dreamweaver page?
 
0
•••
lol u must be a newbie. You need to be comfortable with HTML first. Understand all the HTML tag. After that you will be comfortable and switch to and fro Design View and Code View.
 
0
•••
Dynadot — .com Registration $8.99Dynadot — .com Registration $8.99
Appraise.net

We're social

Unstoppable Domains
Domain Recover
DomainEasy — Live Options
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back