Hi, I finally got the template fixed to all be 800 centered, (they changed it for me) but then I made a change without realising I didn't have the new header.php file and it has gone back to how it was. www.flamingolandrentals.co.uk Can someone please take a look at the code and advise me what to change to center everything to 800. Thanks Dee
Yeah, in Firefox it looks perfect, but in IE7 not so much. The problem is your table widths try putting "800px" instead of just "800".
OR maybe try setting the width using DIV tags instead of table and use width="100%" for the tables. Example: This is what yo have: <div align="center"> <table width="779px" cellpadding="0" cellspacing="0" border="0" bgcolor="#F6F3DA"> Code (markup): Try this instead: <div width="779px" align="center"> <table width="100%" cellpadding="0" cellspacing="0" border="0" bgcolor="#F6F3DA"> Code (markup):
Hi thanks for looking, for me in FF the header doesn't align exactly with the rest of the page, it is a little wider, I have tried changing different parts of the code but it doesn't change?? Also have also tried changing it to 779px (was 800) but it doesn't make any difference in IE. I'm really stumped Dee
Hmm, Try changing the width to to a fixed pixel length instead of "100%" for each the Featured Listings, Property Type, Recent Listings, Location sections. For Example: <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td height="25" colspan="3" width="100%" background="http://www.flamingolandrentals.co.uk/templates/default/images/x.gif" alt="" height="25"> <span class="table_header_text"> Featured Listings</span> </td> Code (markup): Change 100% to 500px or whatever number matches up closest. If that doesn't work then I don't know either lol.
When it was dynamic it was 100%, but when it was changed to 800, it was changed to 800 the top part which used to be 100% were changed to 800. I'm so confused
Do you know which part in the code changes the width of the header, if I can figure that and reduce it a few px then at least I will have it correct in FF
<td width="100%" align="center" valign="top"> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td width="25%" align="left" valign="top"> <table width="25%" cellpadding="0" cellspacing="0" border="0"> <tr> <td width="25%" height="94" align="left" valign="top"> <img src="http://www.flamingolandrentals.co.uk/templates/default/images/house_1.jpg" alt=""><br> </td> </tr> <tr> <td width="25%" height="88" align="left" valign="top"> <img src="http://www.flamingolandrentals.co.uk/templates/default/images/house_2.jpg" alt=""><br> </td> </tr> </table> </td> <td width="55%" align="left" valign="top"> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td width="20%" align="left" valign="top"> <a href="http://www.flamingolandrentals.co.uk/"><img src="http://www.flamingolandrentals.co.uk/templates/default/images/home.gif" alt="" border="0"><br></a> </td> <td width="20%" align="left" valign="top"> <a href="http://www.flamingolandrentals.co.uk/login.php"><img src="http://www.flamingolandrentals.co.uk/templates/default/images/user.gif" alt="" border="0"><br></a> </td> <td width="20%" align="left" valign="top"> <a href="http://www.flamingolandrentals.co.uk/calculator.php"><img src="http://www.flamingolandrentals.co.uk/templates/default/images/calculator.gif" alt="" border="0"></a><br> </td> <td width="20%" align="left" valign="top"> <a href="http://www.flamingolandrentals.co.uk/alerts.php"><img src="http://www.flamingolandrentals.co.uk/templates/default/images/alerts.gif" alt="" border="0"></a><br> </td> <td width="20%" align="left" valign="top"> <a href="http://www.flamingolandrentals.co.uk/mail.php"><img src="http://www.flamingolandrentals.co.uk/templates/default/images/contact.gif" alt="" border="0"><br></a> </td> </tr> </table> Code (markup):
Hi, nope that did not make it 800 centered, I had it like that as I said until I made an update to the header.php file without remembering I didn't have the latest one. It was centered and aligned perfectly like in my design site in my sig. Please can anyone help, the company don't work weekends
I've seen this before on a site I designed. If one of you cells have a different setting, your whole page will be out. Sent me the page. I will have a look for you.
Hi a friend of mine has done a great job and managed to get it within a couple of pixels, I will upload the changes and post back shortly I've sent you a PM
Well I couldn't post the code all in one go for the one that looks right so I uploaded it, www.flamingolandrentals.co.uk, but as you can see if you click on any of the links whilst the url in the browser goes to the correct page, all the pages just show the same contents as the home page Cries
Hi, yes it looks right now, but the problem is all the links now take you to the same page, that being the home page. I don't understand why, when the urls are showing correct in the address bar??
Are you using css? It may be something to do with the encoding title at the top. try removing above and in the HTML tag and replacing with just 'HTML' Matt