|
|
#1 |
|
Use css to position an iframe within a div?
OK, So I would like to use a google latitude badge on my website. The only problem is that it's ugly and doesn't fit with my color scheme, plus it puts a bunch of text on the bottom that I don't want. The entire badge is actually an iframe. I put that iframe inside of a div with a limited height and overflow hidden so that you don't see all the garbage text at the bottom, but I still have a white frame around the map. I want to only show the map, with no white padding. Is there a way to move that iframe left and up inside of my div and further limit the width\height of the div to hide all the white padding? Here's an image of the badge if you don't know what it looks like. Any help would be much appreciated.
|
|
|
|
0
|
|
|
#2 |
|
Yup, you make can make use of relative positioning to do so. I'd have to see the HTML involved to give specific ideas.
|
|
|
|
0
|
|
|
#3 | |
|
Quote:
|
||
|
|
0
|
![]() |
|
«
Previous Thread
|
Next Thread
»
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| thread | Thread Starter | Forum | Replies | Last Post |
| center an iframe with css? | Starhorsepax | Web Design and Development | 8 | Feb 22, 2013 03:51 PM |
| Using Javascript to Set the Height of a Div | iMasterWeb | Web Design and Development | 11 | Nov 14, 2009 08:43 PM |
| Using CSS to Replace Arial with Helvetica | aido2002 | Web Design and Development | 3 | Aug 3, 2009 09:23 PM |
| Use CSS to hide part of a frame? | kevindosi | Web Design and Development | 3 | May 19, 2009 01:41 PM |
| Help! Using CSS to make my first page and I'm stuck... | Littleodie914 | Web Design and Development (archive) | 7 | Dec 18, 2004 03:00 PM |
All times are GMT -5. The time now is 09:08 AM.







Linear Mode

