Jump to content


iFrame scrollbars


5 replies to this topic

#1 Mr. Matt

    Moderator

  • P2L Staff
  • PipPipPipPip
  • 1,945 posts
  • Gender:Not Telling

Posted 08 February 2006 - 11:15 AM

is there a way to remove the scroll bars from an iframe and still have scrolling work? I know you can edit the scroll bar in IE with CSS but that doesnt work in firefox.

Can anyone help?

Thanks

#2 Dh.

    CSS Guru

  • Members
  • PipPipPip
  • 807 posts
  • Gender:Male
  • Location:Berkshire, England

Posted 08 February 2006 - 11:25 AM

I'm not sure you can take it away and then still sroll... you can take it away and then expand the box

#3 Mr. Matt

    Moderator

  • P2L Staff
  • PipPipPipPip
  • 1,945 posts
  • Gender:Not Telling

Posted 08 February 2006 - 11:38 AM

nah the box cant expand needs to stay fixed.

The idea is basicaly to have a file called news.php which pulls the news out of the DB into that page. The page is then called into the home page into an iFrame. And i wanted to either remove the scroll bars or be able to customise both of them because the defaults look bad. I know it can be done in flash, but i wouldnt know how to be able to still do it in PHP.

#4 greg

    Jedi In Training

  • Members
  • PipPip
  • 499 posts
  • Location:New York City
  • Interests:Fine art, web and graphic design, naval architecture, chess, and sports.

Posted 08 February 2006 - 01:10 PM

Don't use iframes, they're bad.

And besides, if you're already pulling the info with PHP, why in the world would you need an iframe?!

#5 Mr. Matt

    Moderator

  • P2L Staff
  • PipPipPipPip
  • 1,945 posts
  • Gender:Not Telling

Posted 08 February 2006 - 03:19 PM

because the area cant expand, i need the iFrame to be able to hold the news so the template doesnt strech

#6 rc69

    PHP Master PD

  • P2L Staff
  • PipPipPipPip
  • 3,827 posts
  • Gender:Male
  • Location:Here
  • Interests:Web Development

Posted 08 February 2006 - 06:07 PM

No, you can't remove a scrollbar, period.
http://www.pixel2lif...showtopic=15879 <- How to NOT use an iframe, but get the same effect.

Run a search for iframe in the php/general web design categories, this is an exremely frequently asked question.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users