HTML - Launching A .exe From Ie And Firefox ...?
I know for security reasons its not easy to launch an EXE from a browser.
I tried coding a .HTA file but I got javascript errors etc when I tried to run it. All this stuff didnt work for me: Quote: var ws = new ActiveXObject("WScript.Shell"); ws.Exec("C:\\Program Files\\myprogram.exe"); In the end the best I could do was to have IE open a Windows Explorer window to my folder and put a file there saying "Double-Click-To-Install.exe" (I am shipping a DVD which autoruns index.html which has instructions etc on install options etc. I can't call directly my setup.exe from the autorun because there are many options the user can choose from.) ----- I forgot to mention that Firefox does not open a windows explorer window. How can I get this working as IE does ? This is what I use to open my window: (its attached to a button) Quote: onclick="parent.location='INSTALLER1'" Similar Tutorialsunfortunately it is PHP based - so has to be served I need to to launch a form from clicking on a button. How do I do that? I have a form working that emails the contents of the form. Also, is there anyway to pass the id or the name of the button that launched the form. Thanks!! I'm using a php video-sharing site script where you would make a purchase to view a video. The code below is from the html search results page, where a list of thumbnails appears when you search certain keywords. Currently when you select the thumbnail, to view the video, prior to paying, a page pops-up in a pop-up box(inner_purchase.htm page) showing a message. I asked someone (JG) to help me change it to just a pop-up message box to appear, rather than the inner_purchase page, and he added code below called Custom Message Block, but the inner_purchase page still appears, instead of the Custom Message Block. Can you help me figure out how I can make this so the Custom Message Block appears, rather than the inner_purchase page? Thanks. Any help or suggestions will be appreciated. Code: <!--Begin Left Column--> <div id="column-left-2"> <br /> <!--Begin Whats Showing Menu--> <div class="header-narrow"><h3>[var.get_type]</h3></div> <div class="whats-showing"> <ul> <li><!--<a href="[var.url_link]/load/featured">[var.lang_featured]</a>--></li> <li><!--<a href="[var.url_link]/load/viewed">[var.lang_most_viewed]</a>--></li> <li><!--<a href="[var.url_link]/load/recent">[var.lang_most_recent]</a>--></li> <li><!--<a href="[var.url_link]/load/comments">[var.lang_most_comments]</a>--></li> </ul> </div> <div class="container-narrow-bottom"></div><!--End Whats Showing Menu--> <br /> <!--Begin Popular Tag Cloud populate from search type ??--> <!--<div class="header-narrow"><h3>[var.lang_Tags_most_popular]</h3></div>--> <!--<div class="whats-showing"><!--[var.tag_cloud_block;htmlconv=no;comm]--></div>--> <!--<div class="container-narrow-bottom"></div>--><!--End Popular Tag Cloud--> <!--Begin Left Advert--> <!--<div class="container-narrow-top"></div>--> <!--<div id="advert-left"><!--[var.ads_left;htmlconv=no;comm]--></div>--> <!--<div class="container-narrow-bottom"></div>--><!--End Left Advert--> <!--<div style="height:120px;"> </div>--> </div><!--End Left Column--> <!--Begin Right Column--> <div id="column-right-2"> <!--Begin Video Search List--> <div style="height: 2px;"> </div> <span style="margin-bottom: 12px;" class="font5_15"> "[var.keyword]" [var.get_type_word] [var.lang_search] [var.results_show] - [var.results_of] of [var.total_records] [var.lang_results] <br /> <!-- Replace ambiguous text with clear button links below. -JG --> <!-- Please Select the Continue Button to Purchase Now - Or Search Again.<br />--> <form id="buyVideo" name="buyVideo" method="post" action="buy-video.php"> <!-- CONTINUE button replaced. -JG --> <!--input type="submit" name="purchase" value="Continue" style="margin:7px 0" rel="gb_page_center[600, 435] "--> <input type="submit" name="purchase" value="Use Credits Now" style="margin:7px 0" rel="gb_page_center[600, 435] "> <input type="button" name="search" value="Search Again" onclick="window.location.href='page.php?page=9';" style="margin:7px 0"> <input type="button" name="search" value="Purchase Credits" onclick="window.location.href='credits.php';" style="margin:7px 0"> <input type="hidden" name="keyword" value="[var.keywords2]"> <input type="hidden" name="submitted" value="yes"> <input type="hidden" name="ttl" value="[var.total_price]"> <input type="hidden" name="user_id" value="[var.user_id]"> <input type="hidden" name="credits" value="[var.member_credits]"> <input type="hidden" name="id[]" value="[blkfeatured2.indexer;block=input]"></input> </span> <br><!-- Check All Box --> <input type="checkbox" name="checkall" onclick='checkedAll()'> Select All<br> <!-- end checkbox mod --> <!-- ******************************** START OF CUSTOM MESSAGE BLOCK ******************************* -JG --> <script> function doCreditCheck() { // The custom message block only appears when the PAY/SEARCH buttons are present. // The presence of those buttons indicates that you need to pay before viewing the video. document.getElementById('popupBuyMsg').style.display = 'block'; // We return false so that the href associated with this object is ignored. return false; } </script> <style> .buymsg { display:none; position:absolute; top:300px; left:300px; width:350px; background-color:#eeeeff; border-style:solid; border-width:1px; padding:15px 20px 5px 20px; } .buymsgclose { text-decoration:none; font-size:0.9em; font-variant:small-caps; margin-top:10px; } </style> <!-- Hidden message block to replace inner_purchase.htm when only a GreyBox message is being displayed. --> <div id="popupBuyMsg" class="buymsg"> You must use "credits" to view this video.<br> You have <strong>[var.member_credits]</strong> credits in your account.<br> <br /> To view this video select "Use Credits".<br> To purchase credits select "Purchase Credits".<br> Or Search Again. <div style="width:100%; text-align:right;"> <a class="buymsgclose" href="#" onclick="document.getElementById('popupBuyMsg').style.display = 'none'; return false;">Close Window</a> </div> </div> <!-- ********************************** END OF CUSTOM MESSAGE BLOCK ********************************** --> <div id="content-list"> <ul class="content-list-thumb" style="margin-top: 13px;"> <span style="margin-left: 1px;"><input type="checkbox" name="checkedBoxs[]" value="[blkfeatured.indexer;block=div]"></span><br /> <br /> <!-- Add an onclick feature that first checks to see if you need to use purchase credits. -JG --> <li><a href="videos/[blkfeatured.indexer;block=div]/[blkfeatured.title_seo;block=div]" rel="gb_page_center[600, 435]"><img src="uploads/thumbs/[blkfeatured.thumb_string;block=div].jpg" alt="video pic" width="120" height="90" border="0" /></a></li> <!--li><a onclick="return doCreditCheck();" href="videos/[blkfeatured.indexer;block=div]/[blkfeatured.title_seo;block=div]"><img src="uploads/thumbs/[blkfeatured.thumb_string;block=div].jpg" alt="video pic" width="120" height="90" border="0" /></a></li--> </ul> <ul class="content-list-info"> <li><h4><span style="color: #000000;">[var.lang_title]:</span> <a href="videos/[blkfeatured.indexer;block=div]/[blkfeatured.title_seo;block=div]" rel="gb_page_center[600, 435] "><!--[blkfeatured.title;htmlconv=no;block=div;ope=max:70;comm]--></a></h4></li> <!--<li><b>[var.lang_description]: </b><!--[blkfeatured.description;htmlconv=no;block=div;ope=max:68;comm]--></li>--> <li><!--<span class="font4_12">[var.lang_rating]test </span>--> <!--<img border="0" src="themes/[var.user_theme]/images/[blkfeatured.star1;block=div]" width="18" height="18" alt="1 Star" />--> <!--<img border="0" src="themes/[var.user_theme]/images/[blkfeatured.star2;block=div]" width="18" height="18" alt="1 Star" />--> <!--<img border="0" src="themes/[var.user_theme]/images/[blkfeatured.star3;block=div]" width="18" height="18" alt="1 Star" />--> <!--<img border="0" src="themes/[var.user_theme]/images/[blkfeatured.star4;block=div]" width="18" height="18" alt="1 Star" />--> <!--<img border="0" src="themes/[var.user_theme]/images/[blkfeatured.star5;block=div]" width="18" height="18" alt="1 Star" />--> <!--<span class="font4_12">[var.lang_views]: </span>--><!--(<!--[blkfeatured.number_of_views;block=div;comm]-->)--> <!--<span class="font4_12">[var.lang_duration]: </span>--><!--(<!--[blkfeatured.video_length;block=div;ope=max:45;comm]-->)--> <!--<span class="font4_12">[var.lang_uploaded]: </span>--> </li> <li><!--<span class="font4_12">[var.lang_tags]: </span>--></li> <li><!--<b>[var.lang_comments] - [var.lang_responses]: </b>--><!--(<!--[blkfeatured.comments;block=div;ope=max:80;comm]-->)--></li> </ul> [onload;block=div;when [var.type_videos]=1;] </div> <!--End Video Search--> <!-- Pagination start --> <div align="center"> <div id="pagination"> <li> </li> <ul>[var.show_pages;htmlconv=no]</ul> </div> </div> <!-- Pagination end --> </div><!--End Right Column--> </form> Hi all, I'm trying to create a web application module that allows users to bookmark links to favourite applications on their client PCs. One of these applications I want them to be able to access is Outlook. Any ideas how this can be done using Javascript? What I hope to be able to do is to launch Outlook from an "a href" link. Thanks in advance for any suggestions! Hello, I am pretty new to the whole html world so forgive me if this is a simple problem. I have look all over for a post explaing this problem but i haven't found anything. I am making a site for a friend using Dreamweaver. I know i know, i regret not coding it from scratch but its too late now. Anyways I have a pretty good page layout going now but I have ran into a problem with loading my images. On my home page an image in a table nested inside another table will load when viewing in safari but seems to disappear in firefox. What is going on? Its a pretty simple piece of code. I place; <img src="Pictures/RDV couplepalm.jpg" width="200" height="" style="float:right; padding: 8px; margin-left:10px; margin-bottom: 10px" / inside of a paragraph in a row of a table. I have rewritten the code for this image, copied it from a working image and screwed around with the table heights (although I wasn't too sure what i was doing). What else should I try? I have attached screen shots of the site in both browsers a copy of the problem jpeg aswell as a copy of the html. Any information anyone could givee me would be REALLY appreciated! Thank you. It has been brought to my attention by my customer, whos website I designed, looks different in FireFox. What I have noticed is his google adsence is shifted all the way to the right, which pushes everything below it down. I have it in the table set to align left, but firefox seems to ignore this... any ideas? the site is http://www.tegbs.com I have a page he http://www.bestsellersworld.com/contest-mothersday.htm In IE, it looks fine. In Firefox I cannot see the names of the five books at the right. This is done with a script but it shows on IE. What do I have to do to make everything show on Firefox? I am (slowly) moving away from tables for page lay-out and I have recently left frames and replaced recurring "pages" (like menus and headers) with asp includes (so that one menu can be used on multiple pages). I am using BonRouge's tutorial as well as others. Here is my question: What type of "browser" is the MSN browser and the AOL browser. Even if something renders well in ie6, ie7, and firefox at different screen sizes and resolutions there is still no guarantee that you will have that same consistency in MSN or AOL. Any help here? Hi, I am trying to get my site in IE look the same as it does in Firefox and Safari. What happens is one of the table rows jets off to the right side of the page, or at least that is what appears to be the problem. The site location is www.destinationservicesnw.com If you open in IE and then Firefox you will see what I mean. I've tried the validator and nothing useful came back. Any ideas? Thanks in Advance. Hey everyone, I'm having a problem with how text is being aligned inside a table, which is how I want in firefox, but of course it's different in IE. The site is http://www.mycomputerfox.com/new/aboutus.html. The problem is the text to the right of the slideshow should be aligned middle center, but it's not in IE. The html is: Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>ComputerFox</title> <link href="design/style.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="frame"> <div id="header"> <center> <img src="design/computerfoxbanner.jpg"> </center> </div> <div id="menu"> <center> <A HREF="index.html" onmouseover="document.home.src='design/buttons/home1.gif'" onmouseout="document.home.src='design/buttons/home.gif'"><img name="home" src="design/buttons/home.gif"></a><A HREF="aboutus.html" onmouseover="document.aboutus.src='design/buttons/aboutus1.gif'" onmouseout="document.aboutus.src='design/buttons/aboutus.gif'"><img name="aboutus" src="design/buttons/aboutus.gif"></a><A HREF="news.html" onmouseover="document.news.src='design/buttons/news1.gif'" onmouseout="document.news.src='design/buttons/news.gif'"><img name="news" src="design/buttons/news.gif"></a><A HREF="services.html" onmouseover="document.services.src='design/buttons/services1.gif'" onmouseout="document.services.src='design/buttons/services.gif'"><img name="services" src="design/buttons/services.gif"></a><A HREF="datarecovery.html" onmouseover="document.datarecovery.src='design/buttons/datarecovery1.gif'" onmouseout="document.datarecovery.src='design/buttons/datarecovery.gif'"><img name="datarecovery" src="design/buttons/datarecovery.gif"></a><A HREF="servicecontracts.html" onmouseover="document.servicecontracts.src='design/buttons/servicecontracts1.gif'" onmouseout="document.servicecontracts.src='design/buttons/servicecontracts.gif'"><img name="servicecontracts" src="design/buttons/servicecontracts.gif"></a><A HREF="locateastore.html" onmouseover="document.locatestore.src='design/buttons/locateastore1.gif'" onmouseout="document.locatestore.src='design/buttons/locateastore.gif'"><img name="locatestore" src="design/buttons/locateastore.gif"></a><A HREF="contactus.html" onmouseover="document.contactus.src='design/buttons/contactus1.gif'" onmouseout="document.contactus.src='design/buttons/contactus.gif'"><img name="contactus" src="design/buttons/contactus.gif"></a> </center> </div> <div id="content"> <table width="100%"> <tr> <td class="noh"><script language="JavaScript1.1"> <!-- //Pixelating Image slideshow //Copyright Dynamic Drive 2001 //Visit http://www.dynamicdrive.com for this script //specify interval between slide (in mili seconds) var slidespeed=5000 //specify images var slideimages=new Array("design/slide/photo1.jpg","design/slide/photo2.jpg","design/slide/photo3.jpg","design/slide/photo4.jpg","design/slide/photo5.jpg","design/slide/photo6.jpg","design/slide/photo7.jpg") //specify corresponding links var slidelinks=new Array("http://www.rfrank118.com/tv.htm","http://rfrank118.com/Kids.htm","http://www.rfrank118.com/agenda.htm","http://www.ronpaultv.blogspot.com","http://www.infowars.com/stream.pls","http://www.amann2010.com","http://www.rfrank118.com/Brochure.htm") var imageholder=new Array() var ie55=window.createPopup for (i=0;i<slideimages.length;i++){ imageholder[i]=new Image() imageholder[i].src=slideimages[i] } function gotoshow(){ window.location=slidelinks[whichlink] } //--> </script><a href="javascript:gotoshow()"><img src="photo1.jpg" name="slide" border="0" style="filter:progid:DXImageTransform.Microsoft.Pixelate(MaxSquare=15,Duration=1); text-align:left;" align="absbottom" width="450" height="200"></a> <script language="JavaScript1.1"> <!-- var whichlink=0 var whichimage=0 var pixeldelay=(ie55)? document.images.slide.filters[0].duration*1000 : 0 function slideit(){ if (!document.images) return if (ie55) document.images.slide.filters[0].apply() document.images.slide.src=imageholder[whichimage].src if (ie55) document.images.slide.filters[0].play() whichlink=whichimage whichimage=(whichimage<slideimages.length-1)? whichimage+1 : 0 setTimeout("slideit()",slidespeed+pixeldelay) } slideit() //--> </script></td> <td align="center" valign="middle" class="noh" width="345px"><h3>About Us</h3></td> </tr> <tr> <td class="noh" colspan="2"><p style="color: #000000;">The Computerfox has two locations that service all of Fairfield County and one location that services the Milford New Haven Area. Unlike many of our competitors we have three separate commercial locations.<br><br> We make no qualms about working late, starting early, and providing you with an emergency Cell phone number. Our ultimate goal is to make every customer feel like our service is the best there is.<br><br> Our employees are not "Nerds" or "Geeks" but rather professionally trained people who will set aside their personal agenda to help a customer in a crisis. The ComputerFox also provides a customer service line to resolve any potential concerns you may have. Click on the "contact us" link for a phone number.<br><br> We realize there is a lot of competition in our field and customers can be afraid of trying a new company. For this reason we would like like to thank you in advance for considering us as your provider, and as token of our sincerity you may print or mention the coupon below for a "no obligation" "Risk Free" visit.</p> <br> <center><img style="border-style:dotted;" src="design/tagcoupon.jpg"></center></td> </tr> </table> </div> <div id="footer"> <center> <img src="design/buttons/filler.gif"><A HREF="preowned.html" onmouseover="document.preowned.src='design/buttons/preowned1.gif'" onmouseout="document.preowned.src='design/buttons/preowned.gif'"><img name="preowned" src="design/buttons/preowned.gif"></a><img src="design/buttons/seperator.gif"><A HREF="aboutus.html" onmouseover="document.homemovies.src='design/buttons/homemovies1.gif'" onmouseout="document.homemovies.src='design/buttons/homemovies.gif'"><img name="homemovies" src="design/buttons/homemovies.gif"></a><img src="design/buttons/filler.gif"> </center> </div> </div> </body> </html> The css is: Code: @charset "utf-8"; /* CSS Document */ body { font-family: Arial, Helvetica, sans-serif; color: #000000; background-color: #E97F19; } #frame { width: 800px; height: auto; margin-left: auto; margin-right: auto; border: thin double #000000; } #header { width: 800px; height: auto; padding-top: 5px; } #menu { width: 800px; height: auto; margin-top: 10px; } #content { width: 780px; height: auto; margin-top: 10px; padding-bottom: 10px; padding-left: 10px; padding-right: 10px; background-color: #FF9933; } #footer { width: 800px; height: auto; padding-bottom: 10px; padding-top: 10px; } p { padding: 0px 0px 0px 0px; margin: 0px 0px 0px 0px; } h1, h2, h3, h4, h5 { color: #FFFFFF; padding: 5px 0px 5px 0px; margin: 0px 0px 0px 0px; } img { border: none; } a:link { color: #FFFFFF; } a:visited { color: #FFFFFF; } a:active { color: #FF6600; } a:hover { color: #FF0000; font-weight: bold; } .noh { padding-top: 5px; } li.down { padding-bottom: 5px; } h4.table { padding: 0px 0px 0px 0px; } Any help would be great. Thanks! I am new to design but can already tell that a majority of my time is spent on tinkering with my pages to make them appear correctly in the very picky and buggy IE7 while my pages appear just fine in Firefox. I am wondering if anyone knows of a good resource site that lays out tips on how to get around the tricky parts of how IE7 displays pages. I have recently designed a website on Google Chrome...And after finishing it and opening it on Firefox and IE, I was surprised by the strange look of my site...The widths and tops and everything of CSS of boxes I did look completely different...I tried to add DOCTYPE and stuff like that and still it makes no sense but makes the same issue with Google Chrome too and when erasing it..The site runs on google chrome properly but not in IE and Firefox...Please help me fixing this problem... My site: http://islamdiaa.selfip.com/ I don't know what should I do. Google doesn't help me. When I try to embed wmv video to document it's not shown in Firefox but is shown in other browsers (Chrome, IE7/8, Opera). Why? Code he HTML Code: <object ID="Player" width="330" height="310" CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"> <param name="autoStart" value="True"> <param name="uiMode" value="full"> <param name="volume" value="100"> <param name="mute" value="false"> <param name="URL" value="video.wmv"> <embed src="video.wmv" width="330" height="310" autoStart="True" uiMode="full" volume="100" mute="false"></embed> </object> Please help me... hi to all members. i have this code Code: <div id="header_menu"><img alt="" src="images/m_left.jpg" /><a href="http://www.ghesi.com/despre-noi.php"><img alt="" src="images/23232m4.jpg" /></a><a href="http://www.ghesi.com/check.php"><img alt="" src="images/m2.jpg" /></a><img src="images/linia.jpg"><a href="http://www.ghesi.com/hosting.php?spt=1"><img alt="" src="images/m3.jpg" /></a><img src="images/linia.jpg"><a href="http://www.ghesi.com/hosting.php?pt=r"><img alt="" src="images/m4.jpg" /></a><img src="images/linia.jpg"><a href="http://www.ghesi.com/contact.php"><img alt="" src="images/contact.jpg" /></a><img src="images/m_right.jpg" alt="" width="8" /><img src="images/rohelp.jpg"><img src="images/aw.jpg"></div> <!-- content --> <div class="top_indent bgr"></div> <div class="bgr site_width"> <!--left_box--> <div class="separate"><img alt="" src="images/spacer.gif" width="1" height="540" /></div> <a href="images/legal.jpg"><img src="images/legal1.jpg" alt="Legal" align="right" style="margin-right:10px" border="0"></a> Ghesi.com este un serviciu oferit de Total Domination S.R.L.<br> <br>Total Domination S.R.L are sediul in Alba-Iulia, Bulevardul Republici Nr. 26 si este inregistrata la Registrul Comertului cu numarul J01/986/2007 si codul fiscal 22198660 din 01/08/2007 avand activitatea incadrata in clasa CAEM 7230 Prelucrarea informatica a datelor.<br><br> Serviciile oferite de Ghesi.com sunt specializate in acordarea de asistenta pentru partenerii si clientii sai, prin identificarea de noi oportunitati de piata si prin cresterea valorii produse de activitatile conexe, ajutandu-i sa se concentreze asupra activitatii de baza. <br><br> Dezvoltam 3 tipuri de activitati interconectate: servicii gazduire pentru clienti si reselleri pentru parteneri, inregistrari domenii pentru clinerti si reseller de domenii pentru parteneri, servere dedicate. Suntem furnizori de servicii de gazduire web pentru mediile Internet si IT. <br><br><strong>Date legale:</strong><br><br>Total Domination SRL<br><br>Cod Unic de Inregistra 22198660<br><br>Nr de Inregistrare la Registrul Comertului: J01/986/2007<br><br>Sediu Administrativ: B-dul Republicii Nr. 26 <br><br>Sediu Social: B-dul Republicii Nr. 26, 510199 Alba-Iulia <br><br><strong>Informatii Bancare :</strong><br><br><u>Banca: Banca Transilvania - Sucursala Alba-Iulia (str. Motilor nr.2-4)</u><br><br>Cont RON: RO75BTRL00101202F13299XX<br><br>Cont EUR: RO50BTRL00104202F13299XX<br><br>Cod SWIFT: BTRLRO22ABA<br><br><u>Banca: BRD-Groupe Societe Generale, Alba-Iulia</u><br><br> Cont RON: RO03BRDE010SV13090310100</td></tr> <div class="separate_1"><img alt="" src="images/spacer.gif" width="1" height="1" /></div> <div class="clear"></div> </div> <div class="button_indent bgr"></div> and the output in firefox is this, this is what i'm locking for but in Internet Explorer the output is this i want the site in IE to have the same look as in firefox. this is the image <img src="images/legal1.jpg" alt="Legal" align="right" style="margin-right:10px" border="0"> who can tell me what is my mistake, in not a guru in html Hey Everyone, Brand new to the website and need a little bit of help. I have been working on designing a page for my company through a template which is linked to a cyberstore. I was viewing and testing it in IE...but when we switched to Mozilla firefox it is extremely messed up. The logo has shifted completely. Is there any code that will format the logo to stay in the same place when viewed in both browsers? I am also having a hard time with Mozilla firefox reconizing the roll over states that IE is recongnizing(Thats in the CSS). Any help would be appreciated. -Amanda ive been building a site with internet explorer, looks good. once i open in firefox everything is out of place and scattered everywhere. why would this be. also ive noticed with most sites you can change the size of the window and the website wont change, only the window. but with the site im building, once i change window size everything gets out of place and ordered. why? This code works fine in IE, but in Firefox only the first style is honored, and only the first JavaScript function will run (the other doesn't do anything in Firefox). I've tried the code both with and without semicolons after the }'s and it makes no difference. The idea of the code is to expand and collapse various sections of a document. The "Expand All" and "Collapse All' links call a script to expand/collapse every section at once. The section names are correct. Again, this code works in IE but I can't figure out why Firefox doesn't like it, and why Firefox ignores the styles I've set, such as red for the word "hide". Thanks The font-family style is honored, the rest is not. The sizeTbl function works, the ExpandCollapse function does not (in Firefox, both work in IE) <style> body {font-family:Arial, Helvetica, sans-serif}; a:hover {text-decoration:underline}; .hide {color:#FF0000; text-indent:40px}; .collapse {color:#0000FF}; </style> <!-- Script takes two parameters, h (how to display) and n (element to display --> <script type="text/javascript"> function sizeTbl(h,n) { var tbl = document.getElementById(n); tbl.style.display = h; }; function ExpandCollapse(x) { accts.style.display = x; charity.style.display = x; bargaining.style.display = x; hr.style.display = x; media.style.display = x; payroll.style.display = x; safety.style.display = x; security.style.display = x; }; </script> <img src="images/heading.png" alt="Section Forms"/> <p>Click on a category to show forms in that category.<br /> <a href="javascript:ExpandCollapse('block')"><span class="collapse">Expand All</span></a> <a href="javascript:ExpandCollapse('none')"><span class="collapse">Collapse All</span></a> </p> Usually when Firefox and IE differ, firefox is correct. It may still be the case here as well, but I think I prefer how it looks in IE. I have a header next to an image, and the header appears next to the image in IE and under it in Firefox. Code below, any help would be great! <div id="content"><div class="img-shadow"><div id="logo"><a href="index.html"><img src="images/about.jpg" alt="Logo" width="180" height="226" border="0" /></a></div> </div> <div class="tagline"> <h1> </h1> <h1>About the Collection</h1> </div> <br class="clearboth" /> <p class="style1"> and the CSS: #content p { margin: 1em 2em 2em 0; line-height: 1.5em; Hello, im pretty much a newbie and ive been asked to create a website for my friend's small company, anywho, i've been using dreamweaver, the site is as follows. http://www.spire-guild.com/pw/index2.html Perfectly aligned on firefox but has some huge cap on the right side where you open it on I.E Can anyone help me as i really don't know what im doing. Cheers. |