only 2 cosmetic firefox problems left, help! (Full Version)

All Forums >> [Web Development] >> Site Critiques



Message


loznoon -> only 2 cosmetic firefox problems left, help! (5/8/2006 17:39:16)

Hi all,

I've been attempting to make my website look okay in firefox and have sorted out most of the problems which were mainly cosmetic. I'm left with 2 which I'm hoping you can help with.

1) on the initial home page I have 2 pictures and they are not quite in line. I'm using a table so not sure why it's appearing as it does.

2) On my contact details within each of the sub-webs I'm getting a line between the pictures and the text, again not sure why.

Appreciate you get a lot of these kind of enquiries but I'm hoping these are simple ones and I've just run out of ideas!

Thanks,
Loz




loznoon -> RE: only 2 cosmetic firefox problems left, help! (5/8/2006 17:40:30)

oh helps if I put the web site name, www.killervillas.co.uk




Nicole -> RE: only 2 cosmetic firefox problems left, help! (5/8/2006 18:13:44)

Well I took a look at your code for both problems that you mentioned and couldn't see any code. So I don't know what the problem is.




caz -> RE: only 2 cosmetic firefox problems left, help! (5/8/2006 19:08:34)

I see that your page is a redirect to isp web space which is why the code is not immediately accessible ( except with the Firefox Web Developer Toolbar [;)] ).

As you have used an MS Theme it is extremely difficult to find out exactly what is needed, however despite the pages lacking an identifying doctype they render reasonably well on Firefox so I wouldn't get too concerned about small differences. ( Unless you want to learn html, css and all that stuff for standards compliant pages that is. [:D])




Kitka -> RE: only 2 cosmetic firefox problems left, help! (5/8/2006 19:33:40)

quote:

1) on the initial home page I have 2 pictures and they are not quite in line. I'm using a table so not sure why it's appearing as it does.


You have enclosed one picture in a paragraph, if you remove code for that, or enclose both in a para, they should be in line in all browsers.

 <tr>
    <td width="50%" height="223"><font face="trebuchet ms, Arial, Helvetica">
    <p style="TEXT-ALIGN: center">
    <a href="Lake%20Berkley%20Villa/index.htm">
    <img border="0" src="IMGP0410.JPG" width="330" height="250"></a></font></td>
    <td width="50%" height="223"><font face="trebuchet ms, Arial, Helvetica"> </font></td>
    <td width="50%" height="223"><font face="trebuchet ms, Arial, Helvetica"><a href="Chatham%20Park%20Villa/index.htm">
    <img border="0" src="pool.JPG" width="330" height="250"></a></font></td>
  </tr>


quote:

2) On my contact details within each of the sub-webs I'm getting a line between the pictures and the text, again not sure why.


You have a strange mix of html and CSS trying to control the table and cell borders. For example this table:

<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse; border-width: 0" width="100%" id="AutoNumber5" height="89" bordercolordark="#666666" bordercolorlight="#999999">
  <tr>
    <td width="39%" style="border-style: none; border-width: medium" height="87">
    <p align="center" style="margin-top: 0; margin-bottom: 0">
    <img border="0" src="images/Contact/letter.gif" width="70" height="70"></td>

    <td width="61%" style="border-style: none; border-width: medium" height="87">
    <p style="margin-top: 0; margin-bottom: 0" align="center"><font face="Verdana" size="2"><span lang="en-gb">Write to us at: 49 Cavalry Park Drive, Duddingston, Edinburgh, EH15 3QG, 
United Kingdom</span></font></td>
  </tr>
</table>


Cleaned and tidied up, it could look like this:

<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="39%">
<p align="center"><img border="0" src="images/Contact/letter.gif" width="70" height="70"></p>
</td>
<td width="61%">
<p style="margin: 0;" align="center"><font face="Verdana" size="2">Write 
to us at: 49 Cavalry Park Drive, Duddingston, Edinburgh, EH15 3QG, United Kingdom</font></p>
</td>
</tr>
</table>




loznoon -> RE: only 2 cosmetic firefox problems left, help! (5/10/2006 17:43:42)

Hi Kitka,

Thanks a lot, worked a treat, much appreciated ! [:D]

Loz




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.0625