Jump to content


Photo

Individual .php pages not showing correctly in index.php


  • Please log in to reply
1 reply to this topic

#1 reds_spain

reds_spain
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 27 May 2006 - 12:15 PM

Hello Please help me if you can.

I want to add redirect links to my images on [a href=\"http://www.realestatedirectoryspain.com/directory\" target=\"_blank\"]index.php[/a] Please scroll to Andalucia Inland.

I have added the [a href=\"http://www.realestatedirectoryspain.com/directory/andaluciainland.php\" target=\"_blank\"]andaluciainland.php[/a] as well as the others to the "middle" area of the index.php for insertion

Everything was fine until I went to change the links from "#" to the required redirect link, as you can see on the index.php "Andalucia Inland" the spacing has changed once I have added the redirect links.

If you look at the [a href=\"http://www.realestatedirectoryspain.com/directory/andaluciainland.php\" target=\"_blank\"]andaluciainland.php[/a] everything looks fine and in order (5px spacings) between all images.

My question is how do or can I fix this so everything is aligned and spaced correct?

If you need any further information please post any required info.

Thanks in advance,

James

#2 AndyB

AndyB
  • Staff Alumni
  • Advanced Member
  • 5,465 posts
  • LocationToronto

Posted 27 May 2006 - 12:29 PM

Viewed with Firefox, there's no problem that appears like anything you describe.

Best guess is that you're seeing the problem with IE and this is the likely reason. The first code below is like yours. IE 'sees' the line breaks. The second code has no line breaks and will work with all browsers.
// inserts unwanted line breaks with IE only
<a href="whatever">
<img src="....">
</a>

// works with all browsers
<a href="whatever"><img src="..."></a>
If that's nothing to do with the problem, describe it in more detail and if it's a visual problem give a section of a screenshot to illustrate it.

By the way, this is an html question not a php question.
Legend has it that reading the manual never killed anyone.
My site




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users