Jump to content

Layouts in IE and Firefox


private_guy

Recommended Posts

Hi there,

 

I wanted to make buttons for my menu but I didn't want to use a lot of bandwidth so I decided to use Layouts and use the same image button over and over again! I made it in FrontPage with a great success but at the end I found out that the layout doesn't work in FireFox, the writing is all over the place in FireFox.

 

Here is the code:

<div id="logo" style="position:absolute; left:-1px; top:20px; width: 171px; height: 45px;">

<p align="center"><font face="Tahoma" size="2">TEST LAYOUT</font></div>
<p>
<img border="0" id="img1" src="../button22.jpg" height="30" width="150" alt=""></p>

 

If you apply it in IE it works, but if you apply it in Firefox it doesn't work.

 

Thanks in advance for your help and support.

 

Best Regards,

John

Link to comment
Share on other sites

<p align="center"> why is that there?

 

You have it like this:

<div><p><font></font></div><p><img></p>

 

Where is the 2nd </p>, it should be before the div bolded above? :)

 

You don't need to close the <P> tag. In xhtml you do, but for html you don't have to... It would be a good idea to fix it since it would create better code and valid xhtml.

 

It would be also a good idea to try getting deramweaver. There isn't anything wrong with "frontpage", but dreamweaver creates more valid code as well as codes it in such a way tha ti works almost every single time.

 

- My two cents.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.