Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Compatibilty Issues Across Browsers

Featured Replies

Hi,

I am currently designing a website. I'm having a small problem. When I tested my site in Firfox it adds borders around all my tables, even though they are set to 0 or white.

 

Also, in IE just above the navigation buttons at the top it adds a white space that should not be there.

 

I have attached two screenshots showing the difference between IE and FF.

 

I know this may seem like a simple problem, but I can't seem to fix it.

post-15751-125736615223_thumb.jpg

post-15751-125736649577_thumb.jpg

Hi Seb, there only seems to be one screenshot. And I can't see why you'd need tables here anyway?

 

sorry, the other screenshot just appeared.

  • Author

Yes, here is the 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=iso-8859-1" />
<title>Meikle Web Design</title>
<style type="text/css">
<!--
body,td,th {
font-size: small;
font-family: Tahoma;
color: #000000;
}
body {
background-color: #FFFFFF;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
a:visited {
color: #FFFFFF;
}
a:hover {
color: #FFFFFF;
}
a:active {
color: #FFFFFF;
}
a:link {
color: #FFFFFF;
}
.style5 {font-size: x-small}
.style10 {color: #FFFFFF; font-size: large; }
.style11 {font-size: small}
.style12 {font-size: small; color: #FFFFFF; }
.style14 {
font-size: x-large;
color: #FFFFFF;
}
.style4 {color: #FFFFFF}
.style19 {
font-size: large;
color: #FFFFFF;
font-weight: bold;
}

.loginbox {background:none;
border:none;
width:80px;
height:15px;
margin:0;
padding: 2px 7px 0px 7px;
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:11px;
}

.loginboxdiv {margin:0px;
height:21px;
width:80px;
background:url(../_images/textbox_bg_146px.png) no-repeat bottom;
}
-->
</style>
</head>

<body>
<div align="center">
 <table width="750" border="0" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF">
   <tr>
     <td height="25" align="center" valign="middle"><?php require_once('_php/links.html'); ?></td>
   </tr>
   <tr>
     <td height="15"> </td>
   </tr>
   <tr>
     <td height="15"><table width="750" border="1" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF">
       <tr>
         <td width="225" height="195" valign="top" bgcolor="#FFFFFF"><img src="_images/web_usb.png" alt="Welcome" width="225" height="174" align="left" /></td>
         <td width="525" height="195" valign="top" bordercolor="#000000" background="_images/homepage_info_bg.png" bgcolor="#0066B3"><div align="left"><span class="style19">Welcome</span><span class="style4"><br />
           Meikle Web Design provides a low cost web design solution for local business' in the Dorset area. If you're looking to have a web site for your business but find that many other web design companies are very expensive, then Meikle Web Design is ideal for you. I am a certified web designer and I work alone so I have very little expenses to out lay, this means I am able to keep my prices very low. Also, you don't pay a penny untill you're completely satisfied with your web site.<br />
           Below I have provided basic information about the cost of designing and setting up a web site. Before I start working on your web site I will take information about your business such as your company logo, prices, photos and contact details. You decide what information you want displayed.</span></div></td>
       </tr>
     </table></td>
   </tr>
   <tr>
     <td valign="top"><p align="left">Once I have finished your website payment is very simple and secure. I accept and recommened using PayPal, if you don't have a PayPal account it's easy & free to set one up. Otherwise I can accept personal cheques & bank transfer.</p>
       <div align="center">
         <table border="2" cellpadding="2" cellspacing="2" bordercolor="#FFFFFF">
           <tr bgcolor="#0066B3">
             <td width="225" height="25" bordercolor="#000000" background="_images/button.png" bgcolor="#0066B3"><div align="center" class="style10">Basic</div></td>
             <td width="225" height="25" bordercolor="#000000" background="_images/button.png"><div align="center" class="style10">Starter</div></td>
             <td width="225" height="25" bordercolor="#000000" background="_images/button.png"><div align="center" class="style10">Professional</div></td>
           </tr>
           <tr>
             <td width="225" height="144" valign="top" bordercolor="#000000" background="_images/package_bg.png"><br />
               <div align="left" class="style4">
                 <ul>
                   <li>Up to 5 Web Pages</li>
                   <li>Web Site Address</li>
                   <li>50 Mb Web Space</li>
                   <li>Email & Phone Updates <br />
                   </li>
                 </ul>
             </div></td>
             <td width="225" valign="top" bordercolor="#000000" background="_images/package_bg.png"><div align="left" class="style4">
               <ul><br />
                 <li>Up to 15 Web Pages</li>
                 <li>Web Site Address</li>
                 <li>200 Mb Web Space</li>
                 <li>Email & Phone Updates </li>
                 <li>1 Personalized Email Address <br />
                   <br />
                 </li>
               </ul>
             </div></td>
             <td width="225" valign="top" bordercolor="#000000" background="_images/package_bg.png"><div align="left" class="style4">
               <ul><br />
                 <li>Unlimited Web Pages </li>
                 <li>Web Site Address</li>
                 <li>500Mb Web Space</li>
                 <li>Instant Updates</li>
                 <li>Up to 3 Personalized Email Address'</li>
                 <li>Dynamic Content <br />
                   <br />
                 </li>
               </ul>
             </div></td>
           </tr>
           <tr>
             <td width="225" valign="top"><p align="left">This package is ideal if you simply want to provide information about your business including photos & contact details.</p>              </td>
             <td width="225" valign="top"><div align="left">This package is ideal for business' that require a lot of media such as photos, music, downloads and day-to-day price or information changes.</div></td>
             <td width="225" valign="top"><div align="left">This package is ideal if you want to sell items online, have an online guest book, have customers contact directly from your web site.</div></td>
           </tr>
           <tr bgcolor="#0066B3">
             <td width="225" height="45" bordercolor="#000000" background="_images/info_table_bottom.png"><div align="center" class="style10">£35<br />
                 <span class="style11"><a href="packages.php">More Information</a></span><br />
                     <span class="style12"><a href="#"></a></span></div></td>
             <td width="225" height="45" bordercolor="#000000" background="_images/info_table_bottom.png" bgcolor="#004E78"><div align="center" class="style10">£45<br />
                 <span class="style11"><a href="packages.php">More Information</a></span><br />
             <span class="style11"><a href="#"></a></span></div></td>
             <td width="225" height="45" bordercolor="#000000" background="_images/info_table_bottom.png"><div align="center" class="style10">£55<br />
                 <span class="style11"><a href="packages.php">More Information</a></span><br />
                     <span class="style11"><a href="#"></a></span></div></td>
           </tr>
         </table>
     </div>        
       <p align="left">If you're not sure which package would be suitable for you please contact me and I will be able to advise you on which one would be best for your website needs.<br />
         <br />
     </p>      </td>
   </tr>
   <tr>
     <td height="15"> </td>
   </tr>
   <tr>
     <td height="25" bordercolor="#000000" background="_images/button.png" bgcolor="#0066B3"><div align="center" class="style4">© <span class="style5">2009 Sebastian Meikle. All Rights Reserved.</span></div></td>
   </tr>
   <tr>
     <td height="72" align="center" valign="middle"><?php include ('_php/validations.html') ?></td>
   </tr>
 </table>
</div>
</body>
</html>

I think it's because the browser is using its default styles.

 

Sorry to criticise all your hard work, but if you're saying you're a web design company you need to rethink this entirely - you're using depreciated inline code for one thing (e.g <p align="left">) but the killer is that it's all tables. You just don't need them. The site's stuck in a late nineties time warp.

 

I'd check out htmldog.com, some css galleries and places like smashing magazine, and start again - it'll be worth it.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.