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.

CSS Forum


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



Reply
iFrame Scrolling="no" CSS equivalent?
Old 01-31-2011, 04:37 PM iFrame Scrolling="no" CSS equivalent?
Skilled Talker

Posts: 78
Trades: 0
For iFrame's, is there a Scrolling="no" CSS equivalent?

I do not have access to modify the actual iframe code - I can only do it by CSS. I have tried:

Overflow: hidden;
border: 0 none;

Nothing works like scrolling=no! Any ideas?
Boar is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-31-2011, 05:02 PM Re: iFrame Scrolling="no" CSS equivalent?
vangogh's Avatar
Post Impressionist

Latest Blog Post:
Why Responsive Design?
Posts: 10,815
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
I would think you do want overflow hidden. It's possible the specificity rules of css weren't letting you change anything the way you attempted to change the css.

Try adding something simple like giving the iframe a colored border or changing the width and/or height to test whether any of your css is taking effect. If it does take then overflow: hidden isn't working for some reason. If it doesn't take then you probably need to be more specific when attempting to change the css. You might need to style iframe#id or iframe.class or it might be div.class iframe.

If you can't get it to work feel free to post a link to the page online so one of use can take a look and see if we can figure out the specific code you need.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 01-31-2011, 07:37 PM Re: iFrame Scrolling="no" CSS equivalent?
Skilled Talker

Posts: 78
Trades: 0
Quote:
Originally Posted by vangogh View Post
I would think you do want overflow hidden. It's possible the specificity rules of css weren't letting you change anything the way you attempted to change the css.

Try adding something simple like giving the iframe a colored border or changing the width and/or height to test whether any of your css is taking effect. If it does take then overflow: hidden isn't working for some reason. If it doesn't take then you probably need to be more specific when attempting to change the css. You might need to style iframe#id or iframe.class or it might be div.class iframe.

If you can't get it to work feel free to post a link to the page online so one of use can take a look and see if we can figure out the specific code you need.
Hi thanks for the help, I just cannot get anything to work like scrolling="no" which worked perfect and is not an option; I finally gave up on this idea as I had too many display errors.

I took the much harder route of building this item using DIV's (instead of iframe) that contain background images and linkable areas inside each div. by some act of god it seems to be working - I may post separately on this route, but thanks for the help!
Boar is offline
Reply With Quote
View Public Profile
 
Old 02-01-2011, 12:26 PM Re: iFrame Scrolling="no" CSS equivalent?
Gilligan's Avatar
Website Designer

Posts: 1,670
Name: Stefan
Location: London, UK
Trades: 0
Quote:
Originally Posted by Boar View Post
Hi thanks for the help, I just cannot get anything to work like scrolling="no" which worked perfect and is not an option; I finally gave up on this idea as I had too many display errors.

I took the much harder route of building this item using DIV's (instead of iframe) that contain background images and linkable areas inside each div. by some act of god it seems to be working - I may post separately on this route, but thanks for the help!
I'm not sure what you're trying to achieve, but using html and css instead of iframes is pretty much always a good idea.
__________________

Please login or register to view this content. Registration is FREE
Gilligan is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to iFrame Scrolling="no" CSS equivalent?
 

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 1.87872 seconds with 12 queries