View Full Version : Change background/font color on Daily iframe II

08-20-2008, 06:23 PM
1) Script Title: Daily iframe content

2) Script URL (on DD): http://www.dynamicdrive.com/dynamici.../dowiframe.htm

3) Describe problem: This has got to be a super simple solution but it's really whooping me.

The iframe defaults to a white background, black font, and a 1px border. I am able to remove the border, but changing the background/font colors isn't as easy. It also aligns to the top left and I'd like it to be centered both vertically and horizontally.

Here is what I've tried, hopefully I'm not showing what an idiot I am...
var iframeprops='width=500 height=30 marginwidth="0" marginheight="0" hspace="center" vspace="middle" frameborder="0" scrolling="no" bgcolor="0E0E8F" color="FFFFFF"'

The page is an internal intranet so I can't provide a link to the page.

08-20-2008, 06:27 PM
Apparantly I AM an idiot. I needed to make the changes to the page I was linking to, and NOT the actual iframe itself.