473,546 Members | 2,279 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

firefox vs explorer iframes

15 New Member
I added an Iframe to one of the websites i created but the iframe looks weird in firefox. I want the title WELCOME to be at the top left of the iframe but for some reason it creates a space in firefox. here's my website www.escamillala w.com .

Ramon



<html>
<head>
<style type="text/css">
<!--
.title {font-size:49px; color:red}
-->
</style>
</head>
<body>
<DIV style="position : absolute; top:1px; left:1px; width:328px; height:15px; border:0px solid black;">
<span class="title">< p align="justify" > Welcome
</span></p>
</DIV
</body>
</html>
Aug 14 '07 #1
3 2504
drhowarddrfine
7,435 Recognized Expert Expert
The problem, as always, is IE. It's not applying margins properly (margin collapse). It's best to control your margins by applying zero to everything, *{margin:0} and then setting it manually.

To avoid further problems with IE, you need a proper doctype. See the article about doctypes above. Also, validate your markup. You have 53 html errors and one CSS error.

When you have problems comparing IE and FF again, you should use FF as your reference because IE will be the problem in almost all cases.
Aug 14 '07 #2
tequilamala
15 New Member
Thanks...

I know its the wrong discussion but I also have a problem with the PHP coding with a form.

default.htm
<html>
<body>
<form method="post" action="thanks. php">
Name:<br> <input name="nombre" type="text" frameborder=0 STYLE="backgrou nd: white; border: 1px blue solid;"/><br />
Phone:<br><inpu t name="phone" type="text" frameborder=0 STYLE="backgrou nd: white; border: 1px blue solid;"/><br />
Email: <br><input name="email" type="text" frameborder=0 STYLE="backgrou nd: white; border: 1px blue solid;"/><br />
Describe Case or Situation:<br />
<textarea name="comments" rows="7" cols="20" frameborder=0 STYLE="backgrou nd: white; border: 1px blue solid;"></textarea><br />
<input type="submit" value="send"/>
</form>

</body>
</html>




thanks.php

<html>
<body>

<?php
$name = $_REQUEST['nombre'];
$phone = $_REQUEST['phone'];
$email = $_REQUEST['email'];
$comments = $_REQUEST['comments'];
$msg = " Name: $name\n";
$msg .= " Phone: $phone\n";
$msg .= " Email: $email\n";
$msg .= "Case Description:

$comments\n";
$recipient = "Myemailaddress @mydomain.com";
$subject = "Quick Contact";
mail($recipient , $subject, $msg);
?>

<font size="7">Thank You</font>

</body>

</html>



The email is sent when i use it on explorer but when i test it on firefox it doesn't do anything. I'm not very experienced with PHP at all so I pretty much looked for an email code and adapted it for my page.
Aug 14 '07 #3
drhowarddrfine
7,435 Recognized Expert Expert
You are using xhtml end tags, the />, but haven't declared xhtml. In fact, without a doctype, you are telling everyone you are in 1998, but I don't think that's the problem.

Know nothing about PHP so you'll have to ask your question there.
Aug 14 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

6
6080
by: mike | last post by:
I have a page that uses a some javascript and it works fine in IE but fails to work in Firefox. Basically what I'm trying to do is have 3 iframes on a page but only displaying one of them at a time. A button is displayed for the two iframes that are not displayed and when the button is clicked, the corresponding iframe is shown and the other...
1
1444
by: doug s | last post by:
i have a code snippet i pasted below, which works in IE, but not in firefox. any help would be really appreciated. thanks. <script language="JavaScript"> var url = external.menuArguments.document.URL; // iterate over all iframes in given document and apply functions. function visitFrames(doc, func) {
0
1268
by: William LaMartin | last post by:
I have recently started checking how accessible my web sites are to the Pocket PC using Pocket Internet Explorer (PIE). The main trouble I have discovered is with aspx pages in which I use an iframe having as source a htm page or another aspx page. PIE does not render iframes, so those embedded pages do not display. Is there a method,...
19
10524
by: k.karthikit | last post by:
Hello all, In some hidden variable (<input type="hidden" name="hiddenId" value="test" /> ,i stored some value.I accessed the value "test" using var id = document.getElementById( 'hiddenId' ); It is working fine in IE. But in Mozilla Firefox , null value is returned.Is there any way to use hidden variables compatible to browsers......?
6
15000
by: Valued Customer | last post by:
Hello, I'm really at a loss here. I have the following index.html: <div align="center"> <iframe src="left.htm" width="15%" height="100%" frameborder="0" name="left" target="contents"> <iframe src="main.htm" width="85%" height="100%" frameborder="0" name="main" scrolling = "no"> </iframe>
1
10372
by: Dave | last post by:
Usual apologies if this is old territory. I'm resizing a bunch of iframes on a page to the height of their contained documents. Some of the contained documents contain IMG tags. On IE this doesn't cause a problem and the resize works correctly. On Firefox, if an image extends below the last line of text in the document, that bit gets...
4
2466
by: srivaths | last post by:
hi all. i am new to this site and this is my first post. though the question i am gonna ask is discussed earlier i need some help in this. i have been doing a internal site for my company and am using iframes to load all the content files into the main html file..keeping the navigation in the main file.its a liquid iframe where its height...
0
1198
by: kvi | last post by:
Does anybody knows if firefox works properly with iframes? My interface consists of two nested iframes. It shows perfectly in IE. The same interface looks like a double ( duplicated) external iframe in firefox. Any suggestions? All help will be greatly appreciated. Thanks. kvi
0
7507
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7947
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7461
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7794
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5361
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3492
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3472
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1922
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
747
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.