RealEstateAdvertis
Wed 29 November 2006, 08:14 pm GMT +0100
I've got a script that displays items in a table type display and automatically breaks the display into the appropraite number of pages based on the number of records. It will display a link to the pages. The basic structure of the page is 1) an included page that brings in the header and left column, and then into the center page with titles, pics etc 2) the main page content and 3) another included page that includes an html menu and contact info as a footer and then the right hand column where I have Google search, and Google ads and banners etc.
Here's the problem. I added a second link to the pages that displays properly in Firefox but is displayed in a complete different location in Explorer. I had a buddy check it in Opera and it displayed the same as in explorer(bad). i don't understand how this is even possible. In a way it is acting like a browser and formatting problem but as I understand PHP, the html code is sent by the server after parsing the php. The html code coming to the browser then should be identical for every browser, correct? Which would tell me the problem is the way I formatted the html (within the php code) and not the php parsing.
BUT, the improperly displayed link is having its position moved among other displayed items. In Firefox, the second link is displayed above the bottom menu (this would be in the main body identified as section two above). In explorer and opera it is diplayed after the bottom menu, after a banner, and after a Google search box (in section 3). This means it is being inserted long AFTER the <include) tag for the footer (bottom menu) and right column. The code for the link, however is the last item in the code for section 2.
I don't know if this description of the problem makes sense, but the page is at http://realestate-synergy.com/usmenu.php/25/2/1/y/Prop_Pub/price/North_America/United_States/$state//$category/1/2/
The link will be a text link "Page: 1 2 ". In all browsers this first occurence of "Page: 1 2 " is fine along the top of the page. At the bottom of a Firefox displayed page, just above the bottom menu like I want it, there will be another "Page: 1 2 " (just for convenience so that users don't have to scroll all the way up to the top of the page to move to another page). In explorer it isn't even there but if you look at the top of the right hand colum BELOW the fish pic and BELOW the Google search block you will see that it displays part of the link as in "Page: " and the "1 2" is missing.
How and why is it being moved around in the display? Is it a php issue, an html in the php code issue, or a browser issue? I'm stumped! I can send the code but I figured this post is long enough already.
Thanks.
Here's the problem. I added a second link to the pages that displays properly in Firefox but is displayed in a complete different location in Explorer. I had a buddy check it in Opera and it displayed the same as in explorer(bad). i don't understand how this is even possible. In a way it is acting like a browser and formatting problem but as I understand PHP, the html code is sent by the server after parsing the php. The html code coming to the browser then should be identical for every browser, correct? Which would tell me the problem is the way I formatted the html (within the php code) and not the php parsing.
BUT, the improperly displayed link is having its position moved among other displayed items. In Firefox, the second link is displayed above the bottom menu (this would be in the main body identified as section two above). In explorer and opera it is diplayed after the bottom menu, after a banner, and after a Google search box (in section 3). This means it is being inserted long AFTER the <include) tag for the footer (bottom menu) and right column. The code for the link, however is the last item in the code for section 2.
I don't know if this description of the problem makes sense, but the page is at http://realestate-synergy.com/usmenu.php/25/2/1/y/Prop_Pub/price/North_America/United_States/$state//$category/1/2/
The link will be a text link "Page: 1 2 ". In all browsers this first occurence of "Page: 1 2 " is fine along the top of the page. At the bottom of a Firefox displayed page, just above the bottom menu like I want it, there will be another "Page: 1 2 " (just for convenience so that users don't have to scroll all the way up to the top of the page to move to another page). In explorer it isn't even there but if you look at the top of the right hand colum BELOW the fish pic and BELOW the Google search block you will see that it displays part of the link as in "Page: " and the "1 2" is missing.
How and why is it being moved around in the display? Is it a php issue, an html in the php code issue, or a browser issue? I'm stumped! I can send the code but I figured this post is long enough already.
Thanks.