private_guy Posted August 1, 2007 Share Posted August 1, 2007 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 Quote Link to comment https://forums.phpfreaks.com/topic/62874-layouts-in-ie-and-firefox/ Share on other sites More sharing options...
Philip Posted August 1, 2007 Share Posted August 1, 2007 <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? Quote Link to comment https://forums.phpfreaks.com/topic/62874-layouts-in-ie-and-firefox/#findComment-313130 Share on other sites More sharing options...
TheFilmGod Posted August 2, 2007 Share Posted August 2, 2007 <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. Quote Link to comment https://forums.phpfreaks.com/topic/62874-layouts-in-ie-and-firefox/#findComment-313560 Share on other sites More sharing options...
mainewoods Posted August 4, 2007 Share Posted August 4, 2007 try the 'sliding door' hack: http://www.oscaralexander.com/tutorials/how-to-make-sexy-buttons-with-css.html Quote Link to comment https://forums.phpfreaks.com/topic/62874-layouts-in-ie-and-firefox/#findComment-315322 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.