HTML - Force A Scrollbar?
I have a website where some pages have no scrollbar, and some do.
For pages with the scrollbar, it looks fine. Because that's expected. For pages without the scollbar, it bumps the divs to the right by ~15 pixels (because there is no more scrollbar). Is there some type of script, or a way to setup a DIV, to force a scrollbar? Even if there is no overflow of content for the page? As long as I can force a scrollbar on the page, it should be consistent. Similar TutorialsI have a pdf file that is the catalog for my business. Is there a way to make it so that i can create a link that says "view" and if people click on it, then the standard "FILE DOWNLOAD" box does not come up... and it just opens the file in a separate window.... and have a "download" link where if they click that... then it just downloads the file. I know that i am weird... but i think it would be something that not everybody has... and something that would be kinda cool. Thanks in advance.... Mark My IE is configured to automatically find the most rexent page, so when I address a website I see the current page. However, Safari and Firefox do not seem to have this optiion. So, when users address my website with those browsers they have to push the refresh button to be sure they are seeing my site's latest page. Yet when I use those browsers to access websites other than my own, I seem to get the latest page. This suggests that there may be a way to include in a page file a code that forces refresh. I know that there is a code ("no archive") that does the job where a search engine is involved, but how do I handle this problems where my URL is being directly addressed? Hello, I have the majority of the content of my site on pages that load within an iframe within the main page. I was wondering if there was a script that I could use on the content pages that, when loaded outside the frame would redirect to the main site, with the appropriate page loaded in the iFrame. Thanks in advance! Craig J. Ward Hi You would think if you did a basic DW rollover that it should work in IE Oh no!!!!!! Can anyone shed the light on this: Problem site Basically the language selection and the menus should have a change of colour, which is basically a rollover image made in dreamweaver. Menu seems to work here! This is the same menu code used to make the menu and a PC friend says that the rollover affect does work. i.e: There are peppers in the background of the words. Same code, two different affects. Any light? please??? Oh, both use PNG and both sites have the same IE PNG fix code. Did I state, its only IE that has the issue. Thanks in advance Long live Mac!!! Hi all, How do I force a single web page to update to its most recent content? This file is being loaded from a frameset and when I load it in IE it doesn't update, I have to wipe all the temporary IE files in order to see the updated content. Thanks in advanced. I'm creating a webpage with multiple right-aligned images. Each chunk of text has an image associated with it to the right. I'm having a problem keeping these images stacked on top of each other. If the chunk of text isn't taller than the associated image, the next paragraph and associated image sits to the left of the first image. I want both of these to sit below the first image. Currently, I'm using <br> tags to push the next paragraph down, but I'd like to avoid that. I hope I'm being clear. Here's an image to illustrate what I mean: The example above the blue line is what I'm experiencing. Below the blue line is what I want. I'd like to do this without tables. Hi, I am trying to figure out how to restrict users (guests) from browsing straight to a page within my site. I would like to ensure that all users must access the site via www.mysite.com Example: User- browses to www.mysite.com/pages/interestingpage.php (or .htm) I would prefer to force the "User" to click their manually via the links on my main page. I imagine some sort of session would be required for this. However I do not wish to require users to log in. I've heard that .htaccess or Apache's config file can be used but so far I have not been successful. I do have full access to the server/configuration. Hoping someone can assist. Examples would be most ideal. Thanks! I have a form that contains a drop down list; <select name="list" id="list" multiple="multiple"> When the user clicks the form's submit button I want to run a function that returns true if an <option> from that <select> object was selected and false if they forgot to make a selection. What is a simple way of doing this? I was thinking that maybe there was an object method like; if(document.form.select.optionSelected()==true) {do something; return true}; else {do something else; return false;} force download via server side scripting e.g. php <------ DOES ANYONE KNOW HOW TO DO THIS??? I want to have downloads on my site, but dont want to use zip files or the "right click, save as" garbage.... Hi all, I'm currently using the script below to resize a user's browser window when the site is opened: Code: <script language="JavaScript"> <!-- window.resizeTo(850,630) --> </script> Is there a piece of code I can add to this so that the browser window cannot be resized? This isn't a popup window, just the standard window. Thanks in advance, Baskervillain. Hi everyone, I'm new to this form and html I have a login portal, I want users to accept and click on the terms and conditions tick-box before he/she can click on the "Login" button. Any tips would be greatly appreciated. Cheers Tony I searched all over the internet and I can't come up with anything. The problem I have is in my form I have: HTML Code: <table> <tr> <td> <div style="position: relative; border-width: 1px; border-style: solid; border-color: #000000; overflow: auto; overflow-x:hidden; scrollbar-base-color: #98B0C7; scrollbar-arrow-color: #FFFFFF; width: 100%; height: 300px;">data</div> </td> </tr> </table> With this, I use the div to be at 300px height so the overflow creates a scrollbar within the form to allow a user to scroll the data without scrolling the entire page.. hence no scrollbar on the browser right side.. Well, in some cases I still do have the right side browser scrollbar because the entire form will sometimes be large. (not the div data) This is ok and what's normally suppose to happen. In those scenarios, the scrollbar is there on the right side of the browser for ie7 but in ie6, it's not there. Again, not talking about my div data content scrollbar within the form, but the right hand side of the browser scrollbar. If someone could enlighten me about exactly what is going on here I would greatly appreciate it. s-one check this page out..the vertical scrollbar http://www.progressoft.com/?option=c...&iscon&dir=ASC EDIT: i mean the vertical scrollbar of the clients area in the middle..& to see it check it in IE I need an HTML scrollbar that can display HTML of a picture without showing the picture. Any help would be appreciated. Im not sure if this is in the right area of this forum but heres the question I have a div scrollbar exampe: <DIV style='position: absolute; left: 30; top: 10; color: #000000; background-color: #FFFFFF; border: solid 10px; border-color: #FFFFFF; width: 690px; height: 1300px; overflow: auto; '> I have a picture blog. I keep adding pictures to it, and when i get too many , it just creates a scroll. I dont want a scroll, but I dont wanna have to keep changing the "height" everytime i put more pictures in. I am kinda lost in how to word this question... maybe somebody can help me. thank you if you do. Hi all, I need help with scrollbars: Is it possible to use an image instead of the standard scrollbar (see http://www.esaurome.com/bikini%20IT.html, the 2 fishes and the wave). Please HELP ME!!! Hi, i was made web, but have a problem. I attach foto and you can see problem. How insert a scrollbar? sorry for my english language Ok i want just a plain html not php or css code but an html code for a scrollbar. I cant find one that works. Please and thank you Hello all! I am messing around with some website ideas in my head, trying to work out what is possible and what is not, and I was wondering if it is possible to create interactions between html and the website's vertical scrollbar. For example to make an image appear when the up or down scroll button is pressed...etc. Or to make a flash animation play when the scrollbar buttons are pressed. I am not too sure what I am going to use this for yet, but I have looked around online and have yet to find anything about scrollbar interaction... Any information or further reading would be helpful and very much appreciated!! Thank you!! I have had a look at this previous thread - but i still have an unwanted and unnecessary vertical scrollbar when using IE7. Can anyone help me get rid of it - please Even with a no-brain - one line page the scrollbar is displayed Heres my page Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>Title Page</title> </head> <body style="overflow:hidden"> <p>One line of text</p> </body> </html> I've had a browse through the forums and done a bit of googling - but I haven't found a solution |