SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Threaded View

  1. #1
    SitePoint Addict
    Join Date
    Dec 2009
    Posts
    321
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Problem with iFrame and CSS

    Please see attachment.

    I would like to use CSS to set the dimensions for the iFrame AND the border around it.

    I actually had it working four hours ago but have screwed it up and can't remember what I did!

    Ideas . . .


    Code:
    #outer 	{max-width:1200px;
    			 min-width:400px;
    			 width:100%;
    			 margin-right:8px;
    			 margin-left:8px;
    			 position:relative;
    			 margin-top:30px;
    }
    Code:
    <div id="srchframe"><iframe 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.51721118955668</NELat><NELong>-117.60555267333987</NELong><SWLat>33.43101155674051</SWLat><SWLong>-117.77137756347656</SWLong><LocationType>city</LocationType><MidLat>33.4741113731486</MidLat><MidLong>-117.688465118408</MidLong><Zoom>13</Zoom><SearchType>1</SearchType><PolygonType>city</PolygonType><LocationType>city</LocationType><Location>Dana%20Point,%20CA%20(City)</Location><MinPrice>$700,000</MinPrice><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,TWN,CTH,CON,TWN</RESPropertyType><Features></Features></Search></iframe></div>
    CSS

    Code:
    #srchframe{background-color:F000;
    			  float:right;
    			  width:880px;
    			  height:1100px;
    			  margin-top:30px;
    			  border:outset;
    			  border-width:6px;
    			  color: #666;
    }


    Thanks much . . . Rick
    Attached Images Attached Images


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •