HTML - Firefox Playing Up?
I've created a layout in css and it works in Safari, Chrome and IE but not Firefox. I thought IE was the odd one out. Anyway I seem to have narrowed it down. It's the logo in the top left, if it has a link on it it seems to move the margin a lot to the right. Try it out.
Code: body { margin: 0; padding: 0; text-align:left; color: black; font: medium Arial, Helvetica, Verdana,sans-serif; } ul, li { list-style-type: none; } #header { margin-right: 10px; margin-left: 10px; border: 2px solid black; position: relative; filter:alpha(opacity=80); opacity: 0.80; height: 62px; background-color: white; } #sidebarleft { float: left; margin-left: 10px; margin-top: 10px; height: 600px; border: 2px solid black; position: relative; filter:alpha(opacity=80); opacity: 0.80; width: 170px; background-color: white; } #sidebarleft b { position: absolute; left: 0px; right: 0px; background: #d9eaff; } #sidebarleft a:link { color: black; text-decoration: none; } #sidebarleft a:visited { color: black; text-decoration: none; } #sidebarleft a:hover { color: black; text-decoration: underline; } #sidebarleft a:active { color: black; text-decoration: underline; } #sidebarleft ul { margin: 0; padding: 0; border: 2px solid white; } HTML Code: <html> <link rel="stylesheet" type="text/css" href="style.css"> <!-- header start --> <div id = "header"> <a href="index.htm"><img src="images/logo.png" align="left" height="61" width="262"></a> </div> <!-- header end --> <!-- sidebarleft start --> <div id="sidebarleft"> <center><b><u>Navigation</b></u></center> <br/> <ul> <li><a href="index.htm">Home</a></li> <li><a href="link1.htm">link1</a></li> <li><a href="link2.htm">link2</a></li> <li><a href="/link3/">link3</a></li> <li><a href="link4.htm">link4</a></li> </ul> </div> <!-- sidebarleft end --> </html> How can I make it work in Firefox? Similar TutorialsHello, stuck again!!! Right well i have an swf file and it's playing fine in safari but not in firefox - the place where it's supposed to be is just blank. Any ideas? http://www.absolute-websites.com/portfolio#animation Here is the code: HTML Code: <object id="peepShow" type="application/x-shockwave-flash" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" data="video/peep_show.swf" width="550" height="400"> <param name="movie" value="video/peep_show.swf" /> <param name="quality" value="high"/> </object> what is the best way to play videos in an html page?? i need to play videos in my site... what is the fastest way to play videos in a normal speed (not slowly) Hi, I am a newbie to HTML. I am making this web page. I wan to place a link where people can click on it and listen to my music. So in the <body> I type in this : <a href="music/music_1.mp3" target="_blank">Song 1.</a>. It does play the music when the link was click, but it pops up a blank page with on the QT control bar in the middle. How can I make it not to pop up another page? or if it has to pop up something perhaps just a QT player rather the blank page. Thanks in advance. MacPC I have problem with playing wav file in mozilla. but working fine with internet explorer. I am using <embed> and <bgsound> . is there any way to play sound in mozilla urgent. please help hi. on my site i want to play a uploaded movie file. i'm searching a suitable player but not win media player. is any there? how i place that on my site. thanks in advance chel-1 Hello, Do you guys know any workaround or have any solution for my problem: I'm trying to embed a swf object into an IFrame element which has the designMode turned on. I successfully did that in Firefox, Safari, Opera, Chrome, but for IE8 and IE7 the swf is not autoplaying. To play it I have to double-click it and then if editing the IFrame the swf stops playing when losing focus. My code looks as follows: HTML Code: <html> <head> <script type="text/javascript"> function populateIframe() { var ifrm = document.getElementById('myIframe'); ifrm = (ifrm.contentWindow) ? ifrm.contentWindow : (ifrm.contentDocument.document) ? ifrm.contentDocument.document : ifrm.contentDocument; ifrm.document.open(); ifrm.document.write('sdasdasdasd <object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\"40\" height=\"40\"><param name=\"movie\" value=\"flash_heart01.swf\" /><param name=\"play\" value=\"true\" /><param name=\"loop\" value=\"true\" /><param name=\"flashvars\" value=\"playerMode=embedded\" /></object> asdasdasd'); ifrm.document.close(); ifrm.document.designMode = 'On'; } </script> </head> <body onload="populateIframe();" width="1000px" height="700px"> <iframe id="myIframe" width="1000" height="700"></iframe> </body> </html> You can try it with any swf. My swf is a simple flash with 3 frames in the main scene, nothing special. You can try that code with any swf in IE8 and shall see my problem. Please notice that current code(which I displayed above) doest work at all with FF, Opera, or others since it only targets the IE browser and its problem just to show the issue. Please advise or help Thanks I ahe to play a wav file. I am using <embed> and <bgsound> tag to play the wav file. it works fine in internet explore. But showing missing plug-in problem in mozilla. is there any ways to play sound in mozilla similar to <embed> tag works I have made a site for someone and now they want the music player to play throughout the site, it's s fully fledged turn off etc. one so that's not the problem. The problem is, I have no idea how to get it to work. I have never used frames and I am not sure if what I want it right for frames, and then there is the pop up idea, what happenes if they have a pop up blocker? I want to get it so that only the player is in a frame, like an insert or something...this is the link http://www.chrisjenningsmusic.com I have tried using an Iframe too, but then I realised that the whole site would have to be in one leaving the player outside and I really don't want to do that. This is how I wanted to frames to work... Hi, I'd really like to put an MP3 player on my website to play music mixes, but I'd like it so that even if someone goes to another part of the site, the music keeps on playing, Like Reverbnation have... http://www.reverbnation.com/ Can I take the code from their site or do I need to start from scratch? Given that Reverbnation supply the widget to put your music in, I'd just need the ability to have it keep playing even when someone links to another part of the site. Thanks! I ahe to play a wav file. I am using <embed> and <bgsound> tag to play the wav file. it works fine in internet explore. But showing missing plug-in problem in mozilla. is there any ways to play sound in mozilla similar to <embed> tag works I am very new to writing HTML and a friend wrote this code for me to upload videos to a webpage I am making. Unfortunately the videos load and play automatically when the page is opened. I cannot figure out what is going wrong and I cannot get in touch with the friend who wrote the code in the first place. Does anyone have any suggestions on how I can edit the code below so that the videos will only load when a person clicks the "play" button? <TABLE BORDER="0" CELLSPACING="15"> <TR> <TD> <object width="360" height="270"> <param id="video-param" name="movie" value="movies/ell.mp4"> <param name="controller" value="true"> <embed id="video-embed" src="movies/ell.mp4" controller="true" type="video/mp4" width="360" height="270"></embed> </object> </TD> <TD> <object width="360" height="270"> <param id="video-param" name="movie" value="movies/esl.mp4"> <param name="controller" value="true"> <embed id="video-embed" src="movies/esl.mp4" controller="true" type="video/mp4" width="360" height="270"></embed> </object> </TD> </TR> <TR> <TD><i><div style="text-align: center;"><big>Long</big></i></TD> <TD><i><div style="text-align: center;"><big>Short</big></i></TD> </TR> </TABLE> Thanks in advance for any advice you can offer! Hi there, well, the title basically says it all. I have a site that consists of like, 8 .php pages... and I need to play this ambient sound at the background. ( I know, but well.. orders from above) So I was wondering if there is a way to manage this, without having to hear the song all over again when you click on a link. Thanks Greetings. I have a basic html page, and want to embed audio. I am using: <BGSOUND SRC=myfile.mp3 LOOP=1> So that when my main index.html page loads, that file plays. Two things I want to do: 1) Let it continue playing when I click on another page within my site (it currently stops when I navigate away from index.html) 2) Assuming I can do #1, make it stop playing when I navigate to one page in particular. This possible? Doing a google search, and that's actually how I came up with that code, but cant seem to find anything in regards to making 1 & 2 work. I do not want to do frames, and definitely do not want to do a flash site, which I undertand may be the only way. Any ideas on how to make this work with html? Thanks in advance! I want to play streaming songs on my website. can anybody give me the html code so that I can play the songs randomly automatically.My two URL of asx files are http://www.playlist.com/playlist/17180213515/asx and http://www.playlist.com/playlist/17174690571/asx Each link is a playlist contains more than 200 mp3 songs. I want to play them such that songs in each link as well as links can shuffle automatically.please reply as soon as possible. Hello! I've got a form called 'register_form1' on my website and, at first, the submit button is disabled (whether with disabled="true" or with a short javascript mybutton.disabled='true'). After inputing text in a few input areas, I would like the button to enable. And that is done by a short javascript. But, when submiting, the POST array is empty... $name, $username, $date are null strings (I suppose). the php file ....: PHP Code: <?php $name = $_POST['inputname']; echo($name); .................. and so on ?> On the other hand, if the button is enabled and never disabled, the POST method works. I've also tried the following: I changed the type of the button to 'button', not to 'submit', and then, when it was enabled, at a given moment (onClick event), I called myForm.submit(). Same results, nothing happened. Any help is welcome. Thank you in advance. Andrei I want to keep home page music playing as linked images are viewed. When I post family photos on our site, I like to add background music. My posts consist of a home page containing a table of thumbnails, each linked to its larger image on a separate page. (You can then scroll directly from one larger image to another.) I can EMBED music into the home page, but it stops playing when a linked page/image is opened. I get around this be inserting the table of thumbnails as an OBJECT into a separate home page that contains the music. That works; the music then continues to play as I scroll through the table's links. But there are two problems. First, when the thumbnails table is larger than a single screen, the table develops its own vertical scroll bar, so there are now two scroll bars showing, which is confusing. Worse, the larger images from thumbnails lower in the table are no longer properly positioned when seen on their own pages; you have to scroll each one to get it back into view. Is there a better way to keep the home page music playing as linked images are viewed? I have a Mac Laptop with OSX 10.4, and use Netscape Composer to make my sites. (OK, I'm a dinosaur, but I fear I'm too ancient to be able to learn a different app.) 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. 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. 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/ |