I new to java but how do you load different settings for different browers?

Let's say i want the page to be font size 6 on FF but size 8 on IE. I know there is a code like "if firefox" but i'm not sure how to set it up.

I agree with the previous posts. I think it would be better to learn the fundamentals rather than spend time tweeking a web page for different browsers.
A java web site is made up of several technologies in addition to java such as javascript, xhml, sql, tomcat, etc, etc in addition to java specialties such as JSP and Servlets that you should learn before tweeking a web page. I suggest reading whole books on these topics such as starting with 'Thinking in Java' (I wonder if I can get a commission from the authors for recommending their book so often in these posts?)

Similar Messages

  • How can you transfer "my settings" for track instruments from one computer to another?

    I am trying to transfer garage band recordings from laptop to desktop - the real instrument tracks have been adjusted manually and save as "my settings". How to I transfer those settings from my laptop to my desktop. The recordings show up but not with the settings.

    Your personnal software Instruments are stored in the Instruments Library in your User Library.
    For example, I have custom Choir settings stored in in a file:
         ~/Library/Application Support/GarageBand/Instrument Library/Track Settings/Software/Synth Textures/riffyrifftest.cst
    Copy the instruments in  ~/Library/Application Support/GarageBand/Instrument Library/Track Settings
    to the corresponding folders on your desktop computer and install them there,
    Regards
    Léonie
    P.S. is your profile signature current? Otherwise, if you are unsing Lion or Mt. Lion your user library may be hidden.

  • HT201493 How do you change the settings for find my friends to use my contacts. When I signed in I selected do not allow iPhone to use my contacts and now all the names are in e mail format.

    When I opened the app I selected do not allow, to use my contacts, but now realise I should have allowed it. I have uninstalled and reloaded it, but it will not ask me to use my contacts again. Any ideas as now I see e mail names and not just the persons name.

    If you go to Settings > Notes > Default Account you will see "On My iPhone" as the default account and the only choice if you have not enabled syncing Notes in Settings >iCloud or Settings > Mail, Contacts, Calendars. If you have enabled syncing you can still select "On My iPhone" as the default account. When you are in the Notes app you won't see any accounts listed if you have not enabled syncing because they are all in the On My iPhone account and that is the only place possible. It is not a folder that you create.

  • How do you change default settings for Pdf document viewing?

    Somehow the default setting for all my PDF documents and photos is now ColorSync. How do I change the main default setting, which I think should be Safari?

    The default is Preview, and you change it thus:
    Select a pdf file, rightclick and select 'Get Info', in the pane that opens scroll down to the section marked 'Open With', select Preview and check the box to 'Change All'

  • How do you load the firmware for a HP Designjet 800.

    I have a Designjet 800 that i think all that is wrong is the hard drive.  So far i have not been able to install the software. Keep getting 5:10 error

    This forum is focused on consumer level products.  For the Designjet you may have better results posting in the HP Enterprise Designjet forum here.
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • How do you change push notifications for different apps?

    I am trying to change my notification sounds for Etsy, Paypal, etc. so that I know when I have made a sale vs. gotten a text.  Very few App developers create customized sounds for the apps.  Any ideas?

    Developers have no way to provide this option at this time.
    http://www.apple.com/feedback/iphone.html

  • Firewall: can you have different settings for different network adapters?

    I've got a mac mini that is visible on the open internet via a SDSL line / fixed IP. I'd like to lock down the connection as much as possible - in particular limit the ports to just those needed by the servers that sit on that machine. But I use VNC to control the machine on a day-to-day basis (it runs without monitor or keyboard). I connect the VNC client via our internal Wireless network - but to open the port for the VNC system I have to open the port for both wireless and wired adapters.
    Is there any way I can set the OS X firewall to only open the VNC ports on the wireless adapter?
    Thanks in advance for your help.
    G.

    i don think you can bind a rule to an adapter but you could fairly easily say i only want adress like 192.168.. to be able to connect to VNC or something like that and that way you can limit it to machines on the local subnet - you could also use an "or" statement to add a couple remotoe addresses if you need to.
    http://www.hmug.org/man/8/ipfw.php

  • Hello, this might be a basic question, but how do you open QuickTime to record a new webinar? I have a new MacBook Pro with Yosemite and can only get QuickTime to appear in Finder but not actually open to allow me to record something new. Thx.

    Hello, this might be a basic question, but how do you open QuickTime to record a new webinar? I have a new MacBook Pro with Yosemite and can only get QuickTime to appear in Finder but not actually open to allow me to record something new. Thx.

    Hi Winterwilly,
    Welcome to Apple Support Communities. 
    The article linked below answers your question of how to use QuickTime to record something on your MacBook Pro’s screen.
    QuickTime Player 10.x: Record your computer’s screen
    Cheers,
    -Jason

  • New to JAVA, but old school to programming

    Objects & Classes & Methods, Oh my!
    I'm pretty new to java, but I've been programming in several languages over the years. I thought it was about time to update my skill set, especially with the job market as it is today. I wanted to go JAVA because it's not specific to any environment.
    I picked up a begining JAVA book and was a little confused. When I was learning programming a program was called a program. a peice of code in a program called by a statement was called a subroutine (it was performed then control returned to the calling line and continued).
    Now I'm trying to make sense of everything I have read so far and trying to relate it back to my old school of thinking. I was hoping it would make it easier to retain and I could expand it as I learn and possibly realize that it IS different. I know it's a new way of thinking, but stay with me for minute.
    What I used to call a program is now a CLASS in JAVA (this can be a collection of code or other objects). A sub-routine in a CLASS is a Method. I know that the language part will come as I use it since I understand if's then's and whatever you use to gosub or goto, but I want to make sure I have down the lingo before I go to deep.

    I have no idea how you can compare Java to Cobol.
    DataFlex? How about that! In about '84 I switched to
    DataFlex from dBaseII. In '91 DataFlex changed from
    procedural to OOP. It took most of us at least a year
    to adjust, and then some to write concrete code. It
    was tough. They had bugs and we were limited with DOS.
    BUT, it was a great OOP training experience. Anyhow,
    needless to day Java is miles ahead on all fronts.Small world. I was stuck in the old DataFlex Ver 2.3 at that time. The company I worked for had the newer OOP package. I did get to work with it some, but not enough to become totally familiar with it. We started to move out of DataFlex towards PowerBuilder towards the end of 1995. I did get some OOP from that experience, but again only enough to learn about global variables, instance variables, and a few other items. I hoping that I will be able to get the solid OOP background that I need from JAVA since I hear through the grapevine that it may be a new tool that we will be looking at to enhance our programming. I was looking at PERL but even the PERL programmers we have agree that JAVA is more scalable.

  • I have downloaded video to iPhotos but how do you get the video to iMovies

    I have downloaded video to iPhotos but how do you get the video to iMovies

    In iMovie look in the Event Library. You should see an Event named "iPhoto Videos" (assuming the videos are compatible with iMovie).
    Each time you open iMovie it will look for any new videos in iPhoto and place thumbnails in the iPhoto Videos Event. You will be given a choice as to whether you want the thumbnails generated now or later. The thumbnails will appear in chronological (date) order in the Event window. Note that the clips themselves are not actually imported to iMovie - they are simply referenced by iMovie (that is, iMovie points to the clips in iPhoto).
    Drag clips (or parts of clips) to a project. To start a new project, select File > New Project from iMovie's menu.
    Please ask if you need more advice. Otherwise, click on Help > iMovie Help in the menu. There you will find plenty of good information about how to use iMovie, including short video tutorials.
    John
    Message was edited by: John Cogdell

  • With the new io5 on safari how do you get back to top of the page quickly

    With the new io5 on safari how do you get back to top of the page quickly?

    Same way as before - click on the top. But the area to click seems to be slightly lower ... aim for the touch of the grey and black instead of the black.

  • I bought new apple tv but it only shows Computers and Settings. how can I bring up other options, specially Youtube?

    I bought new apple tv but it only shows Computers and Settings. how can I bring up other options, specially Youtube?

    Alright, I found the issue. This is how I have resolved my issue. I hope it will help you.
    1. This issue could happen, if your apple TV doesnt have internet, connectivity to iTunes servers, or you haven't logged in to iTunes account in your apple TV
    2. Test the network on apple tv - General - settings - network - test network, Try to aviod using wifi use LAN cable, since we are trying to fix the issue.
    3. Set your exact location manually - Which city you are in from settings-General - Time Zone- choose your City currently you are in.
    4. Login to iTunes account - settings- iTunes Store- set your default store - for example I am in Mongolia but using my New Zealand account on Apple TV, in our case my Apple TV iTunes account location is New Zeland.
    5. If you are facing any issues to login to your iTunes account, That explains you have an issue with connectivity back to iTune servers, or sometimes it could be apple iTune servers may have problems. To verify which is one is the problem login to your itunes on your laptop or desktop for testing purposes, make sure you are using the same internet connection as your home apple TV is using.
    6. if you are able to login you should able to see all the available channels and full list on Apple TV.
    All the best..I just saved USD 29.00 but spend 5 hours...LOL..Its ok..its my Holiday spend with Apple TV.

  • I am new to Mac.  How do you make an app available to all users so you only have to go through set up once?

    I am new to Mac.  How do you share an app with all users so you only have to install once?

    You only have to install applications once, after which are available to all users on your Mac.  But each user account will have its own individual preferences to set and may have some initialization to do the first time the application runs in each account.
    Also, most applications that require entry of a license code accept the code once and apply it to all user accounts on your Mac.  But there are some exceptions, some applications, that don't seem to do this (or don't do it well)  and you may have to enter your license code in each user account the first time you run those applications in each account.  For example, iTunes will ask you to accept the license the first time you run it in each user account.

  • No longer use this email account but how do you backup the email that is...

    No longer use this email account but how do you backup the email that is in the "example" folder, So that I can delete the account on my mail app?

    Not sure what you mean. Deleting a POP account only deletes the messages stored in the account’s mailboxes, not any messages stored in custom “On My Mac” mailboxes, if that’s what you mean. It’s not that Mail goes after your mail trying to delete as much as it can. It’s just that if a mail account is deleted, then its mailboxes cannot exist anymore...
    That said, instead of deleting the account right away, you can just disable it (i.e. turn OFF Preferences > Accounts > Advanced > Enable this account), leave it that way for some time, and delete it only after making sure you didn’t miss anything while the account was disabled.
    BTW, if you back up your data, and the ~/Library/Mail folder in particular, you won’t have to worry about accidentally losing anything as a result of doing something like that...
    Note: For those not familiarized with the ~/ notation, it refers to the user’s home folder. That is, ~/Library is the Library folder within the user’s home folder, i.e. /Users/username/Library.

  • My Mac was stolen and I've bought a new one. But how do I transfer my songs off my iPod over to my new Mac? Most are from CD's (not purchased from iTunes)

    My Mac was stolen and I've bought a new one. But how do I transfer my songs off my iPod over to my new Mac? Most are from CD's (not purchased from iTunes)
    i see that I can buy a $39 program but I want to avoid an extra cost.  Already bummed I had to shell out an unexpected $1,500
    thanks in advance

    Hello hayesh,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at:
    How to use your iPod to move your music to a new computer
    http://support.apple.com/kb/ht1329
    Best of luck,
    Mario

Maybe you are looking for