Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Help with iframe border!
Old 08-17-2009, 05:31 PM Help with iframe border!
Junior Talker

Posts: 3
Name: Luke
Trades: 0
Hello, I am having trouble with an iframe border. My website has a picture of a mall with billboards over the top of it. I am using OpenX to rotate in banners in the position of billboards. Everything seems fine but it loads the banners in iframes and it seems to place some sort of padding or border which in return throws off the alignment of the billboards with the pictures below and to the sides. I have tried setting <frameborder="0"> as well as <frameborder="no"> with no luck.

Thank you.

If this doesnt make sense let me know and i will upload my test files.
lkpttrsn is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-17-2009, 05:46 PM Re: Help with iframe border!
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,380
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
frameborder is for frames NOT iframes, they just have a border property
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 08-17-2009, 06:45 PM Re: Help with iframe border!
Junior Talker

Posts: 3
Name: Luke
Trades: 0
ok, that could definitely be the problem. Would you know how to remove the border property then?
lkpttrsn is offline
Reply With Quote
View Public Profile
 
Old 08-17-2009, 07:01 PM Re: Help with iframe border!
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,380
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
set border:0; in your style sheet
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 08-17-2009, 07:15 PM Re: Help with iframe border!
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,987
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
Quote:
Originally Posted by chrishirst View Post
set border:0; in your style sheet
If I remember correctly, this will not work for prior versions of IE (< 8), which does in fact require frameborder="0".
__________________
I build web things. I work for the startup
Please login or register to view this content. Registration is FREE
.

Last edited by wayfarer07; 08-17-2009 at 07:18 PM..
wayfarer07 is offline
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Old 08-17-2009, 07:20 PM Re: Help with iframe border!
Junior Talker

Posts: 3
Name: Luke
Trades: 0
i switched the invocation code for the banner to javascript and it still seems to have this padding problem
lkpttrsn is offline
Reply With Quote
View Public Profile
 
Old 08-19-2009, 01:28 PM Re: Help with iframe border!
orionoreo's Avatar
Ultra Talker

Posts: 335
Name: Jerry
Trades: 0
Quote:
Originally Posted by lkpttrsn View Post
i switched the invocation code for the banner to javascript and it still seems to have this padding problem

are you having a border or padding problem? I haven't used iframes in ages but from what I recall the frame doesn't have any padding... it could be the margin from the page its loading
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
orionoreo is offline
Reply With Quote
View Public Profile
 
Old 08-19-2009, 01:31 PM Re: Help with iframe border!
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,987
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
By default, the BODY element has a small margin on it. This will add some extra space if it isn't reset.
__________________
I build web things. I work for the startup
Please login or register to view this content. Registration is FREE
.
wayfarer07 is offline
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Reply     « Reply to Help with iframe border!
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.29605 seconds with 12 queries