<iframe src="http://prophetsofdeath.hlstatsx.com/hlstats.php" class = "input" height="765" width="797"></iframe>
and i won't center is stays on the left.
all the help is appreaciated thanks
Sponsor Sponsor
jeffgreco13
Posted: Tue Jun 10, 2008 10:00 am Post subject: Re: CSS and Iframe
well if that's a direct copy and paste... maybe it has something to do with the semi-colon after right? its supposed to be a colon.
Aziz
Posted: Tue Jun 10, 2008 10:41 am Post subject: RE:CSS and Iframe
Yeah he's got it. Also, instead of left and right, try margin-left anf margin-right (seting them to auto, only works in Firefox and IE7). you may have to remove position: absolute
Richard Knop
Posted: Mon Jun 23, 2008 9:59 am Post subject: Re: CSS and Iframe
code:
IFRAME.input {
margin:0 auto;
}
^^
Gyonka
Posted: Sun Apr 24, 2011 3:54 pm Post subject: RE:CSS and Iframe
I agree with richard, margin: 0 auto; is for centering.
ProgrammingFun
Posted: Sun Apr 24, 2011 4:34 pm Post subject: Re: RE:CSS and Iframe
Aziz @ Tue Jun 10, 2008 10:41 am wrote:
(seting them to auto, only works in Firefox and IE7)