r_schreiber — 2011-12-09T01:38:01-05:00 — #1
Here is my html code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="Content-Language" content="en"/>
<title>Search Corona del Mar Real Estate</title>
<link type="text/css" rel="stylesheet" href="css/mapsearch.css" media="screen,projection,tv"/>
<div class="txtright">This search engine echos the CRMLS (California Regional Multiple Listing Service) system which is the largest MLS in the United States. We display the latest listing information before it is <em>"pushed"</em> out to all of the vendors nationwide. Select a <em>price range, bedrooms, and property type.</em> This will display house icons on the screen. At the bottom of the map you will see "Expand Map." There is a <em>Map View, List View and Gallery View.</em> You can save searches or set up eMail alerts to be notified of new listings. This particular page is a custom map search set for <font color="#39FF68" font size="3%"><em>Corona del Mar in Newport Beach.</em></font>
<li><a href="http://www.propertieswithstyle.com" title="HOME PAGE">RETURN TO OUR HOME PAGE</a> <br />
MICRO COMMUNITY SEARCH
<li><a href="http://www." title="CAMEO SHORES">CAMEO SHORES</a></li>
<li><a href="http://www.com" title="EVENING CANYON">EVENING CANYON</a></li>
<li><a href="http://www." title="FLOWER STREETS">FLOWER STREETS</a></li>
<li><a href="http://www." title="HARBOR VIEW HOMES">HARBOR VIEW HOMES</a></li>
<li><a href="http://www." title="IRVINE TERRACE">IRVINE TERRACE</a></li>
<li><a href="http://www." title="PELICAN POINT">PELICAN POINT</a></li>
</div><!--eND of Nav-->
<iframe width="880" height="1200" background-color:#F999" src="http://www.searchpoint.net/Search/mapSearch.aspx?_account=idd&_new=1&org_id=carets&agent_public_id=SSCHRRIC_socal&sponsor_office_id=H631_SOCAL&master_uid=DDA3E921-85C2-488C-8B79-DA50DB9D19BA&criteria=<Search><OrgId>carets</OrgId><NELat>33.61304676018744</NELat><NELong>-117.8405570983887</NELong><SWLat>33.5843072580453</SWLat><SWLong>-117.88999557495118</SWLong><LocationType>zip%20code</LocationType><MidLat>33.5986770091164</MidLat><MidLong>-117.86527633667</MidLong><Zoom>14</Zoom><SearchType>1</SearchType><PolygonType>zip</PolygonType><LocationType>zip%20code</LocationType><Location>92625%20(Zip%20Code)</Location><MinPrice>500000</MinPrice><MinBeds>2</MinBeds><MinBaths>2</MinBaths><MinSqFt>1400</MinSqFt><Status>A,B</Status><oper_in_misearch_features_2>OR</oper_in_misearch_features_2><oper_in_misearch_features_3>OR</oper_in_misearch_features_3><RESPropertyType>SFR,CON</RESPropertyType><Features></Features></Search><p>Your browser does not support iframes.</p>
Properties With Style Inc., a Real Estate Corporation©. Data content displayed on this site is deemed reliable but is not guaranteed accurate by the MLS's or their Associations. Information of sellers and others have not been verified. Data maintained by the Associations or their MLS's may not reflect all real estate activity in the market. DRE License: 01408382.
CSS FOOTER CODE:
This happened once before but I can't remember how I fixed it.
chris_upjohn — 2011-12-09T07:35:20-05:00 — #2
Is there a demo of this page as it's very hard to determine the problem without been able to see the source in action.
r_schreiber — 2011-12-09T11:36:31-05:00 — #3
Unfortunately there is not.
The page on my site is different than this one - I think?
Maybe I'll go check . . . wait one . . . yep it's got junk code that I have since deleted.
I find if I add this at the END of the iframe code . . . </Search>"> then the foorter shows up and the search in the iframe still works???
What the heck is going on here . . ?
Thanks . . . Rick
davemaxwell — 2011-12-09T13:05:09-05:00 — #4
That would be correct. You've got that ugly a-- src= attribute on the iframe element open tag that doesn't get closed, and what you added closes it. My guess if the src attribute is incorrect (it should either go right after the criteria= or after the </p> before the </iframe>).
r_schreiber — 2011-12-09T13:14:57-05:00 — #5
Thanks Dave . . . I'll check it out.
r_schreiber — 2011-12-09T13:26:08-05:00 — #6
OK . . . I placed the closing like this . . .
</Search><p>Your browser does not support iframes.</p"> </iframe>
. . . and it words well.
Not sure what is really right but I'll leave it that way for now.
Thanks again . . . Rick
xhtmlcoder — 2011-12-09T15:24:22-05:00 — #7
I don't believe that would be correct; it is interfering with the closing P tag it probably actually goes before the P element and certainly NOT like: </p">
Forgetting the proprietary markup in the example above the generic hideous IFRAME element usually takes the form:
<iframe src="http://example.com/xyz"><p><!-- Cannot view iframe text --></p></iframe>
There are also other pretty "mixed up" errors on the page but they aren't to do with the footer disappearing.
r_schreiber — 2011-12-09T15:36:49-05:00 — #8
Robert - whats is the difference between framset and iframes? (I looked at your page)
And, what other "mixed up" errors can you identify for me?
I'm really trying to clean this html up before I use it to set new identical pages with different searches.
See www.propertieswithstyle.com and navigate to the CORONA DEL MAR MAP SEARCH PAGE
Thanks . . . Rick
xhtmlcoder — 2011-12-11T06:53:25-05:00 — #9
The Frameset is a seriously outdated design method; creating frames or panes that could have multiple views within a browser window; each frame is a separate page. Whereas the Frameset is the container page but you don't actually see the contents of the Frameset page assuming the browser supports frames, which all the big five mainstream browsers can.
Whereas the IFRAME was a poorly designed and unsecured concept created by Microsoft in the Browser Wars to create an inline frame 'subwindow' within the main document. The OBJECT usually is considered the correct method for 'embedding objects' with such content inside a page.
Getting back to the anomalies (on the demo posted here only) since you have chosen IFRAME the document should be Transitional not Strict and have the namespace upon the HTML element. Then there is an erroneous FONT and size unit. The UL is also malformed - I am not sure what you were after there.
The IFRAME (excluding those proprietary tags) and the faulty SRC string, which I showed corrected in #7, i.e. how the P element should have been placed, etc.
Also the IFRAME has an erroneous CSS value appearing for the background colour most likely a style attribute was missing.
r_schreiber — 2011-12-11T21:47:31-05:00 — #10
xhtmlcoder . . . you said . . .
"The OBJECT usually is considered the correct method for 'embedding objects' with such content inside a page."
I looked this up on W3c and then tried it in a blank.html page. (See below)
Here is what I did . . .
I do not know how to run this search like this.
I OBJECT can be used in lieu of iframe?
How does this work?
see www.propertieswithstyle.com/CORONA DEL MAR MAP SEARCH
can OBJECT be used on this page with it present content?
xhtmlcoder — 2011-12-13T15:26:03-05:00 — #11
I cannot tell actually you how that embed page itself functions but if it were just a case of embedding the independent page using OBJECT the above would basically use this format:
<object width="880" height="1200" style="float:right" data="http://www.searchpoint.net/[...]</Search>"><p>Fallback message.</p></object>
I've not added all that full search string to save space in the post but with OBJECT you use data NOT src and " is supposed to go after the string, and before the > in the opening OBJECT tag as I have here in the example above using the generic format: <object data="..."><p><!-- Fallback --></p></object>
r_schreiber — 2011-12-18T15:28:47-05:00 — #12
I couldn't get this to work until I discovered this:
<object type="text/html" frameborder="0" width="880" height="1200" style="float:right"
Once I placed the type="text/html" in the object statement it worked well.
Now my question to you all is this, should I use Object or iframe, and why?
Also - can I use CSS and ALL it's abilities to manipulate an Object?
Even though I have frameborder = "0" there is still a border around the object. I would rather not have a border.
The <object> seems easier to work with than the iFrame - true?
Looking forward to seeing your comments.
xhtmlcoder — 2011-12-18T17:31:14-05:00 — #13
Yes sometimes you may require the mime type with the OBJECT though it doesn't have the frameborder attribute. The OBJECT is a replaced element so you cannot really alter the content as that's the embedded object but you could apply a border value, so think of it a little like an IMG.
r_schreiber — 2011-12-19T20:06:11-05:00 — #14
When I use the iframe for a scr="http etc., the search loads much faster than when I use <object . . . data="etc.
At times the object remains blank and the data=" etc (my url) does not load at all.
I don't find an onLoad or any similar attribute for <object>.
Thanks . . . Rick
r_schreiber — 2011-12-20T12:33:49-05:00 — #15
What is mime type and do I need it for a successful url deployment within <object?
I looked it up on W3c but didn't quite understand it.
xhtmlcoder — 2011-12-20T14:50:08-05:00 — #16
The mime is only suggestive and since that page you were embedding was mainly a normal HTML text/html page rather than say a embedded Java or Flash object thus 'text/html' would be the most apt. If it's not loading occasionally you might still have a few syntax typos like before interfering.