Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Can the DIV tag be STYLEd with only a vertical scroll bar?

Reply
Thread Tools

Can the DIV tag be STYLEd with only a vertical scroll bar?

 
 
Guy
Guest
Posts: n/a
 
      12-13-2003
I'd like a vertical scroll bar only in my DIV tag, I don't like the
horizontal scroll bar.

Here's my code now:

<STYLE TYPE='text/css'>
DIV{height: 10em;width: 400;overflow: scroll;border: solid gray 1px;padding:
0.2em 0.2em;}
</STYLE>

Guy


 
Reply With Quote
 
 
 
 
Guy
Guest
Posts: n/a
 
      12-13-2003
nevermind...
I found overflow:auto
Sorry for the post.

"Guy" <(E-Mail Removed)> wrote in message
news:k8wCb.10611$(E-Mail Removed)...
> I'd like a vertical scroll bar only in my DIV tag, I don't like the
> horizontal scroll bar.
>
> Here's my code now:
>
> <STYLE TYPE='text/css'>
> DIV{height: 10em;width: 400;overflow: scroll;border: solid gray

1px;padding:
> 0.2em 0.2em;}
> </STYLE>
>
> Guy
>
>


nevermind...
I found overflow:auto
Sorry for the post.


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Select text within a div tag by clicking on content of div tag or a button? visu Javascript 4 11-22-2006 06:25 AM
Using a div with scroll bars - can we get the scroll bars on the left instead of the right side? UJ ASP .Net 1 11-01-2006 09:32 PM
Monitoring of a vertical scroll within a <div style='overflow: auto height:300px;'> yellowtek Javascript 1 09-11-2006 07:29 PM
how do u invoke Tag b's Tag Handler from within Tag a's tag Handler? shruds Java 1 01-27-2006 03:00 AM
Select text within a div tag by clicking on content of div tag? M Wells Javascript 0 10-06-2004 11:04 AM



Advertisments