How to remove the border from <iframe>

26 views
Skip to first unread message

Stephen

unread,
Mar 20, 2010, 2:01:27 PM3/20/10
to Ajax Availability Calendar
Hello, I've searched through the css, but I can't figure out how to
remove the thick border. Does anyone know how this is done?

Here's what I'm looking at. <a href="http://s297.photobucket.com/
albums/mm219/YellerPuma/?action=view&current=border.png"
target="_blank"><img src="http://i297.photobucket.com/albums/mm219/
YellerPuma/border.png" border="0" alt="Photobucket"></a>

Stephen

unread,
Mar 20, 2010, 2:03:59 PM3/20/10
to Ajax Availability Calendar

Sorry that link didn't work too well. Here's a better one.
http://i297.photobucket.com/albums/mm219/YellerPuma/border.png

cbolson

unread,
Mar 20, 2010, 3:45:39 PM3/20/10
to Ajax Availability Calendar
Hi there,
the border can be defined (or hidden) with a simple bit of css like
this:

<iframe width="300" height="200" style="border:none;"
src="calendar.php"></iframe>

Chris

Stephen

unread,
Mar 20, 2010, 10:57:33 PM3/20/10
to Ajax Availability Calendar
Thank you. I didn't know if I could style the iframe because
style="margin: 0 auto;" didn't center it.

Cheers, Stephen

Reply all
Reply to author
Forward
0 new messages