Trouble getting Media Query script to work in IE8 - css3-mediaqueries.js
This script (css3-mediaqueries.js) apparently works in IE8 based on people raving about it. But, I cant get it to work for the life of me. I included the reference tag (<script type="text/javascript" src="../js/css3-mediaqueries.js"></script>) as stated by the documentation site, but to no avail it still wont fire my media queries and scale my image at all in IE8.
I currently have my media queries set in em increments as I want native browser support to render my text accordingly. However, I read about this being an issue with the respond.js script, but I'm not sure if the same is true for the css3-mediaqueries.js script. I have experienced IE8 crashing when both scripts were implemented (separately, of course), so something in my code is conflicting obviously, but I cant identify it.
With that said, I included my code in a JS Fiddle here. Any help would be greatly appreciated, Thanks!
Hi Jon,
Although it is a good practice, validation is the least of my concerns. Google and Microsoft.com don't even validate. And infact have a ton of errors: http://www.codinghorror.com/blog/2009/03/html-validation-does-it-matter.html. Most if not all modern browsers are equipped to handle even the worst code. I am more concerned with getting the scripts to work and validation will not fix this (I will validate later). I have validate many sites in the past with no reward, just headaches. And being that we live in a deadline driven world it is generally not good from a productivity stand point.
With that said, could it be the ordering of my scripts and stylesheets? I am new to responsive design so I havent tested yet. I will test when I get to the office.
Similar Messages
-
Media query does not work on my iPad (Was: media query question)
I am coding a site for mobile/tablet/desktop and while my desktop and iphone respond to the CSS, my ipad does not. The changes I make to the tablet in dreamweaver take, but when they go live the ipad does not respond. Obviously my media query must be incorrect but I cannot figure out the issue. Any help is much appreciated.
http://gbetza.mydomain.com/webservice2/test/KathrynFee/2014/profile.html
Thank you.Yes. That's inevitable because smart phones are getting bigger while tablets are getting smaller & bigger. There is always going to be some crossover. Think of it this way, when a tablet behaves like a mobile device, it takes on the mobile layout. When tablet behaves more like a desktop, it takes the desktop layout.
Similarly, a wide smartphone in landscape mode is apt to look like your tablet layout.
See FluidGrid Example below:
http://alt-web.com/FluidGrid/Fluid2.html
Desktop = 4-col layout
Tablet = 2-col layout
Mobile = 1-col layout
For illustration purposes, I added a thick gold border to the Tablet layout only.
/* Tablet Layout: 481px to 768px. Inherits styles from: Mobile Layout. */
@media only screen and (min-width: 481px) and (max-width:768px) {
.gridContainer {width: 92%; border: 16px solid gold}
Nancy O. -
Media Query does not work from GoDaddy redirect?
Website is set up and all looks good, except when the page is loaded from the redirect host name setup in Godaddy, the mobile media queries don't work. I'm not sure why?? The page loads ok, but will not apply the phone.css on a mobile device. However, if I use the local host url all works great. Thank you if you have any recommendations!
Thank you again for taking time to look at this. I failed to mention I had adjusted the media query to 360px. Although, both urls above call up the same web page it seems the first url is wrapping the source into a frame.
Source code from Firefox:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>O'Krent </title>
</head>
<frameset rows="100%,*" border="0">
<frame src="http://www.accu-print.org/okrentgolf" frameborder="0" />
<frame frameborder="0" noresize />
</frameset>
<!-- pageok -->
<!-- 02 -->
<!-- -->
</html> -
Having trouble getting ipad 2 email to work
Having trouble getting ipad 2 email to work
Dave, you're not bothering us. I was just messing with you. No harm intended. I apologize. However, you do need to provide more information with regards to how you're having issues setting up your email. You may also want to check out the iPad manual: http://manuals.info.apple.com/en_US/ipad_user_guide.pdf
-
Trouble getting the socket object to work
I'm trying to pull an external XML file into InDesign, so I know I need to use the Socket object. I went to the documentation and copied/pasted the code from there:
reply = "";
conn = new Socket;
// access Adobe’s home page
if (conn.open ("www.adobe.com:80")) {
// send a HTTP GET request
conn.write ("GET /index.html HTTP/1.0\n\n");
// and read the server’s reply
reply = conn.read(999999);
conn.close();
When I ran it, I received this error message:
So, I'm stuck! Either Adobe's code sample has an error, or, more likely, there's something wrong on my end. If I had to guess, I'd guess that it's some kind of proxy problem, but I don't know for sure and don't know how to find out.
Can anyone help? The principles of the Socket object make sense to me, but if I can't get even the sample to work, I don't really have anywhere to go with this.i know that's not the swf object. But I tried to use that
little tutorial and it isn't like one size fits all. The previous
code i used had a bunch of parameters that are not present in this
swf object thing.
Any advice would be great. -
How to get Adobe Flash 10 to work on IE8 on Windows Vista?
I've tried downloading the newest Adobe Flash Player 10 on IE8
on my Windows Vista and it's not working. It downloads but when I go back to hulu.com it says I still have to download the latest version. I've tried unistalling and installing it (several times)... I've made sure that Shockwave is enabled under Internet settings... I've also tried unistalling IE8 and reinstalling without the updates... and still nothing. I even tried installing Flash 10 on IE7, still nothing worked.
I have Windows Vista 32 bit and not terribly computer savvy. Hulu works fine when I use Firefox, but it's not working on IE8. I need it to work on IE8 in order to stream video from hulu on our Wii through PlayOn TV. Any help with this would be much appreciated. Thanks!using ie, navigate to
http://www.adobe.com/software/flash/about/
does it show you have fp installed? -
Can't get this one site to work in IE8
I'm convinced I have the current version of Flash working properly - IE8 reports Flash Shockwave Object 10.2.153.1 , Shockwave ActiveX Control 11.5.9.620 and the Adobe test page seems to confirms this. All seems fine with all other sites, but there seems something wrong with the following link - it reports "Flash Player 9 needed - you don't have it installed"
http://www.slideshare.net/iaea/summary-of-reactor-unit-status-12-april-2011-1430-utc
Yet this same page works in Firefox 4.0..(and I have viewed previous versions of the page successfully with IE8)!
Is it just an error on the site?
Thanks for any advice..Hi, I know some websites don't have information that's needed. I don't know if that site had a contact us or not.
Flash Player this last time had some new Technology in addition to Security updates so maybe that website hasn't updated yet. That does happen.
Hopefully you'll be able to find another site that's comparable.
Thanks for marking your thread answered, which there would have been a better answer:-)
Regards,
eidnolb -
Cannot get Java Query API to work
I am trying to use the ultrasearch java api and am having no luck. I get this error:
Exception in thread "main" oracle.ultrasearch.query.SearchException: WKG17005: connection failure: Closed Connection
at oracle.ultrasearch.query.Instance.connect(Instance.java:383)
at oracle.ultrasearch.query.Instance.getResult(Instance.java:561)
at oracle.ultrasearch.query.Instance.getResult(Instance.java:725)
at oracle.ultrasearch.query.Instance.getResult(Instance.java:677)
at Test.search(Test.java:77)
at Test.main(Test.java:92)
Here is my code:
oracle.ultrasearch.query.Instance searcher=new oracle.ultrasearch.query.Instance();
Connection conn=getConnection();
try {
searcher.setConnection(conn);
searcher.setInstanceName("ULTRASEARCH_DOTORG");
oracle.ultrasearch.query.Request searchRequest=new oracle.ultrasearch.query.Request();
oracle.ultrasearch.query.Query searchQuery=new oracle.ultrasearch.query.Contains("water", searcher.getMetaData());
searchRequest.setQuery(searchQuery);
oracle.ultrasearch.query.Result searchResults=searcher.getResult(searchRequest);
} finally {
conn.close();
Note that "getConnection()" is using the standard OracleDataSource class supplied with the current 10g driver; I've used it to connect to other oracle databases without trouble. I am working within a standard Windows JDK 1.5 (also tried 1.4.2) environment.
I've also tried using QueryInstance instead of Instance - exception and code follow:
Exception in thread "main" oracle.ultrasearch.query.SearchException: WKG17005: connection failure: User credentials doesn't match the existi
ng ones
at oracle.ultrasearch.query.Instance.connect(Instance.java:383)
at oracle.ultrasearch.query.Instance.getMetaData(Instance.java:432)
at Test.search2(Test.java:89)
at Test.main(Test.java:94)
oracle.ultrasearch.query.QueryInstance searcher=new oracle.ultrasearch.query.QueryInstance();
searcher.setConnectionString(jdbcURL);
searcher.setUser(jdbcUserName);
searcher.setPassword(jdbcUserPass);
searcher.setInstanceName("ULTRASEARCH_DOTORG");
oracle.ultrasearch.query.Request searchRequest=new oracle.ultrasearch.query.Request();
oracle.ultrasearch.query.Query searchQuery=new oracle.ultrasearch.query.Contains("water", searcher.getMetaData());
searchRequest.setQuery(searchQuery);
oracle.ultrasearch.query.Result searchResults=searcher.getResult(searchRequest);
Any ideas?As always I find the answer right after I post a question....
This post explained it pretty well:
Connection Pooling and QueryInstance
My first example will work as long as I call Instance.setCloseConnection(false). Apparently the second example can only work in OC4J, although I haven't verified such.
It would be a really good idea for Oracle to get it together and add this information to their JavaDocs. -
To those perhaps having trouble getting the phone continuity to work...
Check on iPhone and Mac you have signed into iCloud and FaceTime with the exact same account - log out of them and back in to confirm. It wasn't working for me till I did this and it is now working a charm!
Have you used any plug-in type headsets on your Centro?
Do you hear any sound out of the speaker when you play an MP3 file?
There is a microswitch in the headset jack that can get stuck and make the Centro "think" it has a headset plugged in and this can cause the problems you are describing. You can try the following procedure to see if the headset jack is causing the problem.
Click on the following link for the forum post regarding this issue. Thanks to Super Contributer, DTfromBH.
http://forums.palm.com/palm/board/message?board.id=hardware&message.id=31143&query.id=113582#M31143
Post relates to: Palm i705 -
Can't get my java script to work
I'm really not good at this but I need this script to validate input. I want a user to be able to input information but if the amount they input is over 2% of Wages1 I'd like an alert to say it can't be greater than 2% of wages. I'm attaching a pic to help explain what i need. Please help me!
A picture is not very helpful. Either post the file, or at least the code, plus an explanation of what is going wrong, including any error messages you're getting.
-
Having trouble getting multi camera edit to work in cs5
I have been follow Premiere pro cs5 classroom in a book trying to get a mutlicam to work. I nest the clips and never get the multi camera screen it shows the multi cam is enabled but only has one camera checked. I have tried highlight all or only one or none before nesting still no edit screen. What am I doing wrong? any ideas
Hi Dano,
See if this video assists you:
Thanks,
Kevin -
Trouble getting the swf object to work
the html housing my flash site, has the internet explorer
bug, the active content thing. I'd like to get rid of it.
The code i was using to embed my flash movie was this..
<object
classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="
http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
width="100%" height="1400px" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="shell2.swf" /><param
name="quality" value="high" /><param name="scale"
value="exactfit" /><param name="bgcolor" value="#ffffff"
/><embed src="shell2.swf" quality="high" scale="exactfit"
bgcolor="#ffffff" width="100%" height="100%" align="middle"
allowScriptAccess="sameDomain" type="application/x-shockwave-flash"
pluginspage="
http://www.macromedia.com/go/getflashplayer"
/>
</object>
I don't know how to keep my parameters from here, while using
the swf object embed code. Can someone help me to do this? Why is
this not working?
Thanks.i know that's not the swf object. But I tried to use that
little tutorial and it isn't like one size fits all. The previous
code i used had a bunch of parameters that are not present in this
swf object thing.
Any advice would be great. -
Having trouble getting my Service Applications to work
Hello,
I am currently trying to set up my SharePoint 2013, but Excel Services and SQL Server Reporting Services are still not working properly. I have installed the applications and started them in services on server but still no luck. I have been stuck on this
for the past week. Need help!Is secure store service started and configured?
https://technet.microsoft.com/en-us/library/ee806866(v=office.15).aspx
Did you configure an unattended excel services account and make sure has correct permissions?
https://technet.microsoft.com/en-us/library/jj219698.aspx
If no please do both and try the steps at the technet's
helpful info on SSRS
https://msdn.microsoft.com/en-us/library/jj219068.aspx
http://rajeshagadi.blogspot.com/2013/07/installing-reporting-services-in.html
Stacy Simpkins | MCSE SharePoint | www.sharepointpapa.com -
Trouble getting java install wizard to work with 3rd party software
Hi,
I just installed Java 2 SDK version 1.4.2 under Solaris 8. The installation appears to be fine. I changed
the links and PATH to make sure I'm pointing to the correct version. I am trying to install a 3rd party software called Powerchute Network Shutdown by APC, to be able to shut down our servers remotely, that are attached to our APC UPS. I get these error messages from the software:
starting the wizard
Exception in main calss "JExpressLoader"
java wizard not started properly
unable to start the install wizard
Tech support at APC has been unable to help me. I am wondering if someone can tell me how to verify my java wizard is installed correctly. (I don't even know what a java wizard is by the way, so hopefully
this question makes some sense to someone).
Thanks.
-TrishYou need Xwindow System in your sun.
-
Cannot get RDS Query Viewer to work
This appears to be the same or similar problem with RDS Query Viewer that showed up in Ver 2.0.
Right clicking on a table and selecting RDS Query Viewer gives the following error:
Resource '/mydir/.rdsTempFiles/RDS Query Viewer does not exist.
The .rdsTempFiles directory with RDS Query Viewer file are created in mydir. The file is 0 bytes.
Anyone else seeing this?
DougAck, can't edit my message.
Forgot to say I'm running:
Windows 7 Home Prof. 32 bit
Apache Server
CF 9.01
CFBuilder 2.0.1beta
Maybe you are looking for
-
I have downloaded icloud on my pc but it is telling me that my apple id is ok but is not valid as an icloud account, I have tried but can't set up an account any ideas what to do?
-
Data Laoded successfully, giving error while activating the ODS
Hi, Process Chain is running daily for loading and activating the data into the ODS. Today the data loaded successfully but the data is not getting activation. I then tried to activate the data manually but still it not trying to get activated. I ch
-
Problem in Matrix Functionality
Hi, Need some help on Matrix Functionality. 1. I m using std SAP Article Reposttory and have performed all basic steps to enable Matrix functionality in MDM as per following link. Matrix in MDM 2. Basic setting like assigning the URL's, making fields
-
SharePoint 2010 designer workflow assoicated tasklist not showing columns added by collect data
Hi, We had a SharePoint designer workflow in production. This is a reusable workflow, and this workflow uses collect data action to get some of data from users. Through collect data action, we added 7 columns(default task list), which have been used
-
How to insert a new customized user status in an existing business transaction?
Hi Gurus: We have a service request where we need a new user status, but I have in a productive system service requests created already. We customized the new user status for the transaction type that we are using, but how to retrieve in the old busi