HTML Help Forum HTML Help
Please Search for the answer to your question before asking it! Thanks.
 

iframe top & bottom border
Post a Reply to this Topic Ask a New Question
Click here to go to the original topic
       HTML Help Forum -> Introduce Yourself
View previous topic :: View next topic  
Author Message
Stigg07



Joined: 30 Sep 2009
Posts: 3

Posted: Wed Sep 30, 2009 1:47 pm     iframe top & bottom border  

Hi all,
I'm sure this is pretty simple for those in the know, all i'm after is code be it in (preferably) .css or in the iframe itself.
Some way of having a border at the top of an iframe and the bottom (not left or right).
PayneLess Designs



Joined: 28 Feb 2007
Posts: 4287
Location: MS

Posted: Wed Sep 30, 2009 2:32 pm      

Have you tried?

iframe {
border-top: 1px solid #f0f;
border-bottom: 1px solid #f0f;
}

Select border size, style and color to your tastes. Not sure this will work without seeing all your code being used.
Stigg07



Joined: 30 Sep 2009
Posts: 3

Posted: Wed Sep 30, 2009 2:56 pm      

Thanks for that, but, I'll be back :wink:
PayneLess Designs



Joined: 28 Feb 2007
Posts: 4287
Location: MS

Posted: Wed Sep 30, 2009 3:48 pm      

You're welcome.
Stigg07



Joined: 30 Sep 2009
Posts: 3

Posted: Fri Oct 02, 2009 7:16 am      

Th reason I was having problems was:
as well as having the border controls in the *.css, I also had border set to 0 in the actual iframe. :oops:
PayneLess Designs



Joined: 28 Feb 2007
Posts: 4287
Location: MS

Posted: Fri Oct 02, 2009 6:58 pm      

:lol: Don't feel bad. It happens to the best of us.
 
 
DARFUR
HOSTING / DESIGN
MAKE MONEY

       HTML Help Forum -> Introduce Yourself
Page 1 of 1


Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.19 © 2001, 2002 phpBB Group