Jump to content

Need Html Help


Phil

Recommended Posts

I'm trying to embed a Google map in a web page, but I'd like to modify the code to put a 2 pixel wide border around it in color #F87824. My problem is I don't know squat when it come to HTML. :P

 

Can anyone help? Thanks.

 

Here's the code:

 

<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps/ms?f=q&hl=en&geocode=&ie=UTF8&

s=AARTsJo0KVFl7sk6oQFTzCpjvBybH5R2qw&msa=0&

msid=103347098210005830562.00045665eb33f521bfaca&

ll=42.920009,-71.840866&spn=0.010999,0.018239&

z=15&output=embed"></iframe>

Share this post


Link to post
Share on other sites

OK, but I'm using an editor and have no idea how I'd do what you just said. :)

 

So I guess <iframe> doesn't support what I'm trying to do by itself then.

Edited by Phil

Share this post


Link to post
Share on other sites

What suchu is saying is basically this:

 

<div style="border:2px; border-color:#FF0000;"><iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps/ms?f=q&hl=en&geocode=&ie=UTF8&
s=AARTsJo0KVFl7sk6oQFTzCpjvBybH5R2qw&msa=0&
msid=103347098210005830562.00045665eb33f521bfaca&
ll=42.920009,-71.840866&spn=0.010999,0.018239&
z=15&output=embed"></iframe></div>

 

That will allow you to have the border without having to edit/access the css file

Share this post


Link to post
Share on other sites

"Code object" is just a term used by my WYSIWYG editor for a mechanism for inserting non editor generated code in a specific spot on the page.

Even a WYSIWYG should allow you to edit raw HTML.

 

Insert the code object as you normally would. Then switch to the raw HTML code and find the code object you just inserted...then just wrap it in the div code I supplied.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...