Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About oyb

  • Rank
  1. oyb

    Change css for mobile devices

    Thanks, that sort of works. The problem is that it loads the original css and the mobile css. For example I've got background-image in my styles.css, so when I use a mobile device I still get the background image from styles.css along with the red background. is there a way to overwrite or remove the styles.css preferences when you get on mobile?
  2. Hi, I'm trying to get my webpage to use another CSS when you try to browse it with a mobile device. My problem is that none of the guides I can find really help me out. I've tried multiple, some easier than others. For example these two: http://www.seabreezecomputers.com/tips/mobile-css.htm and http://mobile.smashingmagazine.com/2010/11/03/how-to-build-a-mobile-website/ The problem is, that even though I do(at least I think I've done) what they tell me, my mobile device still reads from the original css. I thought that the problem was gonna be to get the mobile css to look good, but can't even get it to link.. Dreamweaver says both css's(5 in the other example) are linked to the html file, but mobile device refuses to read from the "media="handheld" " or "media= only screen(max-device-width:480px;)" Possible to get some help?
  3. Hi, Need some help with a command, Im trying to update table "Vare" with the the number last used in "Utleie", specifically i want the Utleie.utleie_id last used to be inserted into Vare.utleie_id. So far what I come up with is INSERT INTO Vare (kano_nr, sykkel_nr, ski_nr, redvest_id, utleie_id)VALUES('t004', 'c008','', '', LAST_INSERT_ID()) but that only gives me a "0", not the number that was used last.
  • Create New...