Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-03-2013, 07:37 PM   PM User | #1
charlyanderson
Regular Coder

 
Join Date: Dec 2012
Posts: 111
Thanks: 14
Thanked 1 Time in 1 Post
charlyanderson is an unknown quantity at this point
Possible to remove inset border on iFrames??

Only seems to be a problem in IE8 and below but it looks like an inset border has been applied to both my facebook plugin and another iframe for my contact form. Could someone advise me of a solution to remove this?

CSS is:-
Code:
#fblike{float:right; width:100px;}
.fbstyle{border:none; border-style:none; overflow:hidden; width:100px; height:21px;}
HTML is:-
Code:
<div id="fblike">
            	<iframe style="scrolling=no allowTransparency=true" class="fbstyle" src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com%2FCharlyAndersonFreelanceWebDesigner&amp;send=false&amp;layout=button_count&amp;width=100&amp;show_faces=false&amp;font=tahoma&amp;colorscheme=light&amp;action=like&amp;height=21" ></iframe>
	</div>
charlyanderson is offline   Reply With Quote
Old 01-04-2013, 12:20 AM   PM User | #2
AndrewGSW
Senior Coder

 
Join Date: Apr 2011
Location: London, England
Posts: 2,120
Thanks: 15
Thanked 354 Times in 353 Posts
AndrewGSW will become famous soon enough
Your style attribute is incorrect within the iframe: scrolling and allowTransparency are attributes of an iframe.

Code:
<iframe src="myURL" width="300" height="300" frameBorder="0" scrolling="no" allowTransparency="true"></iframe>
You can then tweak it a little with css.
__________________
"I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.
Validate your HTML and CSS
AndrewGSW is offline   Reply With Quote
Users who have thanked AndrewGSW for this post:
charlyanderson (01-04-2013)
Old 01-04-2013, 03:15 PM   PM User | #3
charlyanderson
Regular Coder

 
Join Date: Dec 2012
Posts: 111
Thanks: 14
Thanked 1 Time in 1 Post
charlyanderson is an unknown quantity at this point
Can anyone show me how to tweak it as Im not sure how to
charlyanderson is offline   Reply With Quote
Old 01-04-2013, 07:32 PM   PM User | #4
AndrewGSW
Senior Coder

 
Join Date: Apr 2011
Location: London, England
Posts: 2,120
Thanks: 15
Thanked 354 Times in 353 Posts
AndrewGSW will become famous soon enough
Quote:
Originally Posted by charlyanderson View Post
Can anyone show me how to tweak it as Im not sure how to
What do you want to tweak? It would help a lot if you could provide a link to the live page. Even a screenshot might give us a clue.
__________________
"I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.
Validate your HTML and CSS
AndrewGSW is offline   Reply With Quote
Old 01-05-2013, 01:34 PM   PM User | #5
charlyanderson
Regular Coder

 
Join Date: Dec 2012
Posts: 111
Thanks: 14
Thanked 1 Time in 1 Post
charlyanderson is an unknown quantity at this point
hi, thanks for your reply. My facebook plugin which is in an iFrame has a border, it looks like a bevel border and I dont know how to remove it
charlyanderson is offline   Reply With Quote
Old 01-05-2013, 02:30 PM   PM User | #6
AndrewGSW
Senior Coder

 
Join Date: Apr 2011
Location: London, England
Posts: 2,120
Thanks: 15
Thanked 354 Times in 353 Posts
AndrewGSW will become famous soon enough
Quote:
Originally Posted by charlyanderson View Post
hi, thanks for your reply. My facebook plugin which is in an iFrame has a border, it looks like a bevel border and I dont know how to remove it
Without more code or a link to a page....
__________________
"I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.
Validate your HTML and CSS
AndrewGSW is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

Forum Jump


All times are GMT +1. The time now is 02:00 PM.


Advertisement
Log in to turn off these ads.