Mr. Shadow Posted December 31, 2005 Share Posted December 31, 2005 ok i want to know how i can do this:make one web page containing these three things plus a BG image, tha part that says "links here" i wanna have a scroll bar that only moves tha links down. is there anyway i can do that w/o creating multiple pages and putting tha same bg image tag like 3 times or what. if i dind't explaine good enough feel free to PM me or reply to what i got Link to comment Share on other sites More sharing options...
Jonas Posted December 31, 2005 Share Posted December 31, 2005 DIV's would be your best go I think, coupled with css... Link to comment Share on other sites More sharing options...
real_illusions Posted December 31, 2005 Share Posted December 31, 2005 for the scrollable links..you can use a scrollable div.and the backgrounds are transparent by default, so you can have just the one bg image. and without the use of frames. Link to comment Share on other sites More sharing options...
Mr. Shadow Posted December 31, 2005 Author Share Posted December 31, 2005 so not that i don't know or anything ...but what is a scrollable div and how do i use it? Link to comment Share on other sites More sharing options...
survivor Posted January 1, 2006 Share Posted January 1, 2006 you can use the frameset tags, but it will result in meny sites... but I think its the easiest way to do it... Link to comment Share on other sites More sharing options...
Jonas Posted January 2, 2006 Share Posted January 2, 2006 <html><head><style type="text/css"><!--div#id_name {width: 400px;height: 300px;overflow: auto;}--></style></head><body><div id="id_name">Text here</div></body></html>That will create a div that will get a scrollbar if the text takes up more space than the div. A scrollable div, if you like. If you don't know css, I heartily recommend you invest the time to learn it, as it is a really valuable addition to writing html. Link to comment Share on other sites More sharing options...
Mr. Shadow Posted January 3, 2006 Author Share Posted January 3, 2006 thanks my man when i get tha time to try it i'll tell ya how it goes, BTW that is an awesome avatar. also what is CSS i know it's cascading style sheets but what...is it i guess Link to comment Share on other sites More sharing options...
Jonas Posted January 3, 2006 Share Posted January 3, 2006 It's a way of moving all page formatting in a separate document, so you don't have to have <body bgcolor="somecolor" text="somecolor"> and stuff like that. In short, it makes your html files smaller and makes them load faster. You don't need as many attributes to your tags, messing up your code. Instead, you just link to a stylesheet that contains the code on how the html tags are formatted. You can give different formatting for each and every html elementbody {css_information_here}example:body {background-color: #ff0000;color: #ffffff;text-align: center;}table, tr, td {background-color: blue;color: rgb(255,255,255);margin: auto;padding: 0;border: 3px double #00aaff;width: 300px;height: 100px;}and that formatting will be applied to every html document where you load your stylesheet.http://www.w3schools.com/css/ Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now