How do you get your site to appear the same in all web browsers?

There are some things that show up differently in Safari than they do in IE and Firefox, how do I get everything to jive the same? I think it is in the code which I am not an expert on.  My website was a template that I purchased online and most of the code was already built in.  I have some of my links in Safari showing white when you rollover them but when I look in IE and Firefox they're not there.  Can anyone offer any suggestions on how to fix this?
Thanks

Actually what you are learning here is to create a stylesheet for all of your web pages. Including all of your styles inline in the page's code is very cumbersome.
Each of your pages needs code that refers to your stylesheet:
<style type="text/css" media="all">
@import url("../../css/content.css");
</style>
<style type="text/css" media="print">
@import url("../../css/content_print.css");
</style>
This assumes that your stylesheets (in my case, one for print, one for browsers) are located in a folder called /css which is a habit I have for neatness.
One thing that Dreamweaver does very well is keeps track of your styles and helps you edit styles to suit. I'm using CS3 which doesn't really allow you to look at the result of rollovers from within the application, but I keep Firefox handy for previewing. Problem is, once you create a style for a "visited" link, you can no longer see the result of the style for unvisited links in your browser unless you clear your browsers cache. Dreamweaver CS3 always shows links in their unvisited state.
There is other code I use to make Microsoft's non-compliant browsers do the right thing, though rollovers, visited, and such all tend to work the same in all browsers, save the most antediluvian.
<!--[if IE 5]>
<style type="text/css">
/* IE 5 does not use the standard box model, so the column widths are overidden to render the page correctly. */
#outerWrapper #contentWrapper #leftColumn1 {
  width: 185px;
</style>
<![endif]-->
<!--[if IE]>
<style type="text/css">
/* The proprietary zoom property gives IE the hasLayout property which addresses several bugs. */
#outerWrapper #contentWrapper, #outerWrapper #contentWrapper #content {
  zoom: 1;
</style>
<![endif]-->
The above code handles issues with Microsoft's intransigence pretty well, and my sites tend to look really uniform. But in the case of menus, I often have to write a completely different stylesheet to wrestle with Internet Exploder:
This is stylesheet reference for my menus:
<style type="text/css" media="all">
@import url("../css/menu/menu.css");
</style>
<!--[if lte IE 6]>
<style type="text/css" media="all">
@import url("../css/menu/menu_ie.css");
</style>
<![endif]-->
Then I craft the changes for Internet Exploiter 6 in a separate stylesheet.
This should give you an idea of how powerful an external stylesheet can be. You can use "if" statements to handle the differences between the Microsoft non-compliant browsers and the more modern and compliant browsers, like Safari, Firefox and Opera.
You can see the result in any browser at http://www.readingsbykaren.com

Similar Messages

  • How do you get your site removed from the reported attack sites list?

    Hi,
    Our site https://mail.ccgs.nsw.edu.au/owa appears to be on the 'reported attack sites' or reported web forgeries' lists and is getting blocked in Firefox. This is a mater of urgency as we use Firefox as our web browser in this organization and there is a site wide outage, none of our staff can use their webmail. How do we get removed from this list?
    When we have the site in the "Allowed Sites" list it still does not load.
    When we un-tick "Block reported attack sites" and "Block reported web forgeries" the site works. Though we do not want to untick these for our users for security purposes.
    Regards

    I am not seeing this problem currently with that URL. Firefox refreshes the site list from Google quite frequently. You can check for new files in the following folder and if they are not getting refreshed, I suppose you could try deleting them.
    C:\Users\''username''\AppData\Local\Mozilla\Firefox\Profiles\''profilename''\safebrowsing
    Note that this is under the Local branch (location of cache) and not the Roaming branch (location of preferences, extensions, etc.)

  • How do you get your iphone out of the connect to itunes screen?

    How do you get your iphone out of the connect to itunes screen?

    What error message is it displaying? Check this Apple support document for information on specific error messages when restoring the iPhone. http://support.apple.com/kb/ts1275

  • How do you get your I pad to the way it was before update

    How do you get I pad to the way it was before the new update. The new update *****.

    You don't. This is the new iOS that you are running, and it cannot be downgraded.
    Why don't you give it some time. Play around with the settings to see if you can get the look and feel more to your liking. Play with the new features. And don't forget, that with the enhanced security, if you are using iCloud and Find My iPhone, your device is far less attactive to would-be thieves. It cannot be reset to factory settings without turning off Find My iPhone, and only you know what the password required to do that is....
    If you have specific things that you would like to see changed or improved, send feedback to Apple:
    http://www.apple.com/feedback/
    Cheers,
    GB

  • How do you get your money back if the product/app you bought didn't download?

    I tried to buy an iBook yesterday. I had enough money on my card to buy it. When I clicked the buy book tab, it said that my card was declined. So I checked my balance and it took my money but the book isn't there. Either my money needs to be put back on my card or that book needs to appear in iBooks.

    Does the book show in the Purchased tab in the ibookstore in the iBooks for downloading, and the amount that's come off your card is the book's price, it's not a temporary store holding charge (which should disappear within a few days or so) ?
    If it doesn't show in Purchased then you could check to see if it shows in your Purchaes history so that you can use the 'report a problem' link from it : log into your account on your computer's iTunes via the Store > View Account menu option and you should then see a Purchase History section with a 'see all' link to the right of it ; click on that and you should see a list of your purchases ; find that song and use the 'Report a Problem' link and fill in details about the problem (iTunes support should reply within, I think, about 24 hours).
    If doesn't show there or the 'report a problem' link doesn't work (it's been taking some people to this site on a browser instead of showing a form in iTunes) then you can try contacting iTunes support via this page : http://www.apple.com/support/itunes/contact/- click on Contact iTunes Store Support on the right-hand side of the page.
    For the card being declined, if it's a debit card then I don't think that they are still accepted as a valid payment method - they are not listed on this page and there have been a number of posts recently about them being declined
    If it's a credit card then is it registered to exactly the same name and address (including format and spacing etc) that you have on your iTunes account, it was issued by a bank in your country and you are currently in that country ? If it is then you could check with the card issuer to see if it's them that are declining it, and if not then try contacting iTunes support as above and see if they know why it's being declined.

  • How do you get your personal downloads from the itunes to a older ipod touch

    I am trying to download all the apps and music that I have on my iphone 4s and ipod touch (4th generation). I did sign up for the icloud but not able to get it to work with the older ipod touch. I am very new to the itunes website and products.
    Any help will be greatly appreciated.

    I am not seeing this problem currently with that URL. Firefox refreshes the site list from Google quite frequently. You can check for new files in the following folder and if they are not getting refreshed, I suppose you could try deleting them.
    C:\Users\''username''\AppData\Local\Mozilla\Firefox\Profiles\''profilename''\safebrowsing
    Note that this is under the Local branch (location of cache) and not the Roaming branch (location of preferences, extensions, etc.)

  • How do you get your dock to appear on the Thunderbolt display?

    When I connect my MacBook Air to the Thunderbolt, the dock remains on my laptop.
    My husband's MacBook Pro automatically puts the dock at the bottom of the Thunderbolt screen.
    Also, when I open any application or a new window in an open application, the new window appears on my laptop
    and I have to drag it to the Thunderbolt display.
    Is there any way to get the dock and windows to appear on the Thunderbolt automatically so I can work only on the
    Thunderbolt?

    Thank you, mende1!
    So, if I want to use the Thunderbolt as an extended display and not as a second display mirroring what is on my computer's screen, what would I need to do?
    Malcolm's answer has me mirroring my laptop which is better than I had. 
    But, I used to be able to have my Apple Mail on my laptop, while working on other applications on the Thunderbolt. 
    I think that is what you are referring to..... would love help!   Thanks!

  • How can you get your number back on the iphne

    I'm tryna get my number to my phne instead of my icloud email

    Sync is only oneway, from PC to your device. Unless you have the music on your PC, iTunes is going to wipe out what you have on your device if you are syncing to a new library.
    You can only transfer Purchased music over to Itunes on your PC.
    iTunes Store: Transferring purchases from your iOS device or iPod to a computer
    http://support.apple.com/kb/HT1848
    As for you own music, you may have to use a third party software. A good Free one is called Sharepod which you can download from Download.com here:
    http://download.cnet.com/SharePod/3000-2141_4-10794489.html?tag=mncol;2

  • How Do You Get Your DVD's onto the iPod Video?

    Is there a way to transfer my movies onto the iPod video? Will I need to buy the Quick Time Pro and then convert the video to mp4? Will that even work?
    Anyone put their movies on the iPod and can share?
    Thanks.
    Patrice
    www.HollywoodCharityAuction.com

    yall are all going the wrong way.
    there's 2 pieces of software you'll need (they're free!!!):
    nero recode 2 CE
    DVD decrypter (probably hard to find on the internet now)
    use DVD decrypter to rip the DVD (here's a link for instructions but forget about the videora part, videora is slow http://www.duke.edu/~ds53/ipodguide.htm)
    after u get the VOB files from DVD decrypter, use nero recode to convert (it says burn in the program) the video to an mpeg-4 video. you'll need to tweak the settings a bit:
    set the size: select video thent he resize tab and enter 320 for the width and 240 for the height and hit OK. make sure that "Fit to target is not checked. press next
    under burn options, choose where u want to save the video file. under nero digital settings, check the expert mode box and look for the encoding method setting. choose 2-pass. next, under advanced, ensure that the "simple Profile" box is checked.
    press burn and just add it to ur itunes library like it'a a song.
    whew.
    i got these steps from a book btw. if you want to know the name and the details of the book, send me an email ([email protected])
    hope this helped (probably will, i have 7 full-length movies on my ipod right now) in case your wondering, the movies are: the fast and the furious, 2 fast 2 furious, fantastic 4, school of rock, spiderman, spiderman 2 and, finally, I,Robot

  • How do you get your money back from the app store

    I bought madden 12 from the app store on my iPad 1 and I pick the teams then it crashes

    You don't.
    Per terms of the store all sales are final.
    What troubleshooting steps have you performed?

  • How do you sink your firefox info in the same device?

    due to certain circumstances i had to set up another admin account. now i am trying to sinc or transfer my firefox set up and bookmarks to the new account... yes i still have access to my other account....

    Treat that new user account as an additional device. <br />
    https://support.mozilla.org/en-US/kb/how-do-i-set-up-firefox-sync#w_part-3-connect-your-other-device-to-your-sync-account

  • How can you get your submit buttons to be a single click instead of the default double click?  (The

    How can you get your submit buttons on the quiz template to be a single click instead of the default double click?  (The option to choose double click or not is not showing in properties for this).

    Hmmm... Submit button doesn't need a double click at all. Maybe you are talking about the two-step process? When you click on Submit, the feedback appears with the message to click anywhere or press Y. Is that what you are talking about? If you are talking about a real double-click, something must be wrong in your file. And which version are you using?
    http://blog.lilybiri.com/question-question-slides-in-captivate
    Lilybiri

  • HT201303 how do you get your password back if you forget it?

    How do you get your password back for the ipod? I need to know!  I forgot my password.  Is their a a way i can get it back by by my apple account? ! Please someone answer my question

    Locked Out, Forgot Lock or Restrictions Passcode, or Need to Restore Your Device: Several Alternative Solutions
    A
    1. iOS- Forgotten passcode or device disabled after entering wrong passcode
    2. iPhone, iPad, iPod touch: Wrong passcode results in red disabled screen
    3. Restoring iPod touch after forgotten passcode
    4. What to Do If You've Forgotten Your iPhone's Passcode
    5. iOS- Understanding passcodes
    6. iTunes 10 for Mac- Update and restore software on iPod, iPhone, or iPad
    7. iOS - Unable to update or restore
    Forgotten Restrictions Passcode Help
                iPad,iPod,iPod Touch Recovery Mode
    You will need to restore your device as New to remove a Restrictions passcode. Go through the normal process to restore your device, but when you see the options to restore as New or from a backup, be sure to choose New.
    You can restore from a backup if you have one from BEFORE you set the restrictions passcode.
    Also, see iTunes- Restoring iOS software.

  • How do you get your email content to display?  Mine shows in preview but not when I open the email, How do you get your email content to display?  Mine shows in preview but not when I open the email

    How do you get your email content to display?  Yesterday, I suddenly could only see the content in preview.

    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.org/kb/Safe+Mode

  • TS3212 how do you get your itunes back if you uninstall in on your computer

    how do you get your itunes back if you uninstall in on your computer

    Does the book show in the Purchased tab in the ibookstore in the iBooks for downloading, and the amount that's come off your card is the book's price, it's not a temporary store holding charge (which should disappear within a few days or so) ?
    If it doesn't show in Purchased then you could check to see if it shows in your Purchaes history so that you can use the 'report a problem' link from it : log into your account on your computer's iTunes via the Store > View Account menu option and you should then see a Purchase History section with a 'see all' link to the right of it ; click on that and you should see a list of your purchases ; find that song and use the 'Report a Problem' link and fill in details about the problem (iTunes support should reply within, I think, about 24 hours).
    If doesn't show there or the 'report a problem' link doesn't work (it's been taking some people to this site on a browser instead of showing a form in iTunes) then you can try contacting iTunes support via this page : http://www.apple.com/support/itunes/contact/- click on Contact iTunes Store Support on the right-hand side of the page.
    For the card being declined, if it's a debit card then I don't think that they are still accepted as a valid payment method - they are not listed on this page and there have been a number of posts recently about them being declined
    If it's a credit card then is it registered to exactly the same name and address (including format and spacing etc) that you have on your iTunes account, it was issued by a bank in your country and you are currently in that country ? If it is then you could check with the card issuer to see if it's them that are declining it, and if not then try contacting iTunes support as above and see if they know why it's being declined.

Maybe you are looking for

  • Hi i am trying to install a printer to my iMac desktop pc but i am getting an error message no drivers.

    Hi just bought my first Imac computer and i love it i am a 63 year old so getting used to it is not the same as windows but i can lear. My question is i have a codak printer less than one yeat old but it will not install to my Mac, no drivers i am to

  • Regarding pushbutton operation in alv report

    hi, I have a requiement in which i will get list display which contains certain no of records(let us say 10  records)...now the issue is *if i selet one record and if it is correct record* and if i hit the insert pushbutton it should go and insert in

  • I CAN;T OPEN FILES IN MICROSOFT OFFICE Excel 2007

    Every time i try to open up files, i get an error massege saying "there was a problem sending the command to the program" Any idea's please, Thanks in advance,

  • Creating J2EE adapter module problem

    Hi All, when i am creating a J2EE customer-specific adapter module in SAP Netweaver Developer Studio, then in the java class when i write these statements: <u>import com.sap.aii.af.mp.module.*; import com.sap.aii.af.ra.ms.api.*;</u> public class Cust

  • Hi...Im A [edited by host] !

    Hello my name is Brian, pleased to meet you guys. Im starting a small home based business. So far every step has been a struggle but Im making forward progress so thats good. My bro in law designed business cards for me. He sent them as an attachment