HTML - Detecting The Browser
I want to make a mobile phone version of my website.
Does anybody know how I can get my index page to ind out what type of browser/device the visitor is using? i.e. if the visitor is browsing using a mobile phone I want them to be redirected to mysite.com/mobileversion/index.htm Can this be done? Leroy Similar TutorialsHi Just wondering if there is a non -java way of detecting a user's browser width and then redirecting to the appropriate version of my site? Cheers Shaun Hi, is possible to differentiate css code depending on the operating system of the customers ? for example fonts look different in Firefox using Windows and Firefox using Safari thanks I am coding a website at the moment and i need a way of detecting for flash, if they have it, then i want them to stay on index.html and if they don't then i want them to go to indexnf.html and anyone help me at all.... this is out of my depth!!! I've got a website under construction at www.banffridgeestates.com. On the design plans page (www.banffridgeestates.com/design_plans.htm), I've got 9 thumbs for the user to click on and a PDF file opens in Adobe Reader. But just in case the user doesn't have Adobe Reader or some other PDF viewing application, is there a way for me to program the link so that it detects whether the user has such an application, and to open a JPEG if he doesn't have one? does anyone know a browser that will only parse and evaluate valid HTML/XHTML based on what the doctype is and ignore invalid HTML/XHTML or generate errors. So if I had a XHTML doctype and my code was: Code: this is a XHTML document <br> this should be a new line I don't want the <br> to parse because I want something to trigger that is it not a valid XHTML tag since it is not closed. Any browser won't really care and just show the new line. I would have to validate it on the w3c website to find my error. So I want a browser that would give me these results based on my example code: Code: this is a XHTML documentthis should be a new line and then some sort of error saying "<br>" on line x is invalid. Hey guys should I be worried about coding my site for the IE 5.x series or should I just concentrate on IE6 and IE7 Hi, I work on a Mac, and have Safari, Internet Explorer 5 and Firefox. 1. What do you think I should be building my sites to? What do you use? 2. Also why do some sites work in all browsers? CSS hacks? Microsoft are no longer letting you download Internet Explorer for the Mac, from microsoft.com. Therefore all new mac users from February last year will not be using Explorer. Please help! Thankyou Tom I created a simple table with 2 rows 2 columns. I minimize the browser window into smallest window and I noticed that It screwing up my tables and the contents of it. They get squeezed as I resize the IE windows. How can I make the tables and its contents not to resize with the windows? Please help. Hello, Wonder if you can help, i'm very new to coding, and i have an error in Dreamweaver showing as 'error parsing styles'. It effects IE 6. The code flagged is: body { background-color: #EED38D; background-image: url(images/background.gif); background-repeat: repeat-x; a img {border:0; font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; color: #333; color: #333; } } Hope you can help! Thanks, Joe How to display < > in browser using HTML ? Hey guys, haven't built a website for a while and when I did build them I didn't really have a clue. I've built this page which comes up great in safari but Firefox and Ie show jack. What could be the problem? Check: www.goldensparrowstudios.co.uk thanks so much. Ok I have developed the following website www.megacom-int.com. On firefox the scrolling of the latest projects on the left are displayed correctly. However when I use Internet Explorer the Latest Projects has blue background. Whats more interesting is that if you click on Methodology using Internet Explorer, its like viewing it on firefox! I dont understand why this is happenning, I have looked at the code and I see no difference! p.s.Methodology file is in the same folder as it is on Our Team and Partners. I hate everything microsoft, but I have no choice in the matter as it has to work on Internet Explorer as well. Any help in the matter would be great Best Regards K4L I just changed the logo for a site and now because the width and height dimensions are different from the old one the logo will look skewed to old customers coming to the site without refreshing their browsers. How do I solve this problem? Hey guys, today I look on my website on one of my school computers and found that the navigation bar is off alignment again. Please reply to this someone. My website is: northwindappaloosas.com I was wondering on the board's opinion. Basically, the ALTtext element used in image display, provides two things: 1. Replacement text if the image should be abscent so that you can easily reference which image is missing and replace it. 2. Mouseover text of the image so surfers can get short extra information about the image. Now, you may argue that a Browser should come set as default to ignore mouseover text. However, there is a reason why many web developers still use this in preference to an image title. The reason being that it is extra programming for the developer to type out additional code which merely plays the same role as the original Alt attribute. Some argue that the programmer shouldn't even give an Alt value! Sadly, in turn many browsers are unfortunately becoming designed without the Alt text attribute, making many Alt-text-specific sites hard to understand. If you honestly find a small bit of mouseover text which really only exists for a fraction of a second intrusive of your surfing time then you've got issues. Who agrees? I have studied my code and for the life of me can't figure out why the header is not showing up in IE7 (windows). It shows up in all other browsers just fine. Can someone help me and take a look at my code and tell my what I may have missed? http://www.kingcrabshack.com/ Thank you for your time. I have a small window that shows site logins by ip address. I open it with window.open and get exactly the proper display in the proper position. But, I'm stuck with the browser page that called window.open(). Is there a way to close that browser? I've tried things like window.opener.close() with no luck. Remember, I want t close the browser, not just a window. Thanks, Mac Hey HTML Forum!! So im gettingr really frustrated with this problem I'm having with this HTML issue. I did all of the coding in dream weaver(Yea by coding I mean drag and drop )Everything looks great opened up in dream weaver. Then when I open it in a browser (IE and Firefox) everything is all chopped up. check this out. First shot is in DW, second shot is opened in IE: What do you guys think? This is only the second website I have done and havnt had much formal training so im kind of flying by the seat of my pants. Thanks in advance!!! EDIT: You can actually go to the home page and see how bad it looks. www.miattconstruction.com the home page isnt AS bad but go to project or contacts and the pages get worse. Working on it now. Thanks. So I'm developing a kind of desktop that u use by any browser. The idea of this is that you can find files and go thru files easy and do other things at the same time. In a new design. So I have a test site that gives you an idea on how it going to look. I am a rookie when it comes to coding and such so it's a simple site. Please come with tips and stuff that I should add. here is the test website. http://jaegarn.webs.com/ It all started yesterday when internet was shut down for one hour and I was bored When im developing this now I'm making it in swedish but it's easy to translate it and if somone wants I could translate it for it's release to english. So ya come with suggestions on what I should add and tips Over N Out JaegarN |