Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS how do i add a scroll bar in my text box?

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #27896
    silvers
    Member

    Hi,

    i think this is an embarassinly simple thing do to but i don’t know how to do it.

    what i am looking for is to have some text in a box, and have a scroll bar so you can slide down and read the text.

    = the reason i need this is because on the site i am making, it needs to have a function to change the language, so when you change the language, the text spills out of the box. so i need to have a scroll bar so that it doesn’t do this…

    here is my site… http://www.silvermanwebdesign.co.uk/star – if you click the flags to change the language, you will see the problem.

    thanks loads for any help on this one! ;)

    #77805
    jonS7
    Member

    You can add overflow-y: scroll; to .header_main in your css

    #77809
    silvers
    Member

    dude that is exactly what i wanted! thank you so much for that. i really should know that technique by now, and thanks to you, i do now! :D

    i was begining to panic as the client is having a look at it soon and i didn’t want him seeing that mess! thanks again, you’re a life saver!

    xxx

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.