Results 1 to 10 of 10

Thread: News section inside an iframe

  1. #1

    News section inside an iframe

    Hey whats up everybody, dunno if u remember me but i use to post here a long time ago, anyways, Im building a website and i have a iframe in the front page and i would like to know how to make those nice news things like where i can post news, its kind of plain just typing the stuff in there, Heres my site http://designs2graphics.2ya.com/
    Thanks

  2. #2
    Regular
    Join Date
    Nov 2002
    Location
    Antwerp, Belgium
    Posts
    395
    What do you mean, something like this

    The html file inside the iframes is put in a table. Like that you can easily add rows and content.
    :P

  3. #3
    Barrista
    Join Date
    Jun 2003
    Posts
    3,441
    Simple you set your iframe code into your front page/index.html or wherever:

    "<iframe src="news.htm" scrolling="auto" width="325" height="184" marginwidth="0" marginheight="0" frameborder="0" name="news"></iframe> "

    And you make a new page called news.htm and work out the size of news.htm tables in order to fit into your front/index page and then simply insert what you want to say in there like i did here:


    Hope this helps....!!!

    [Edited on 27-8-2003 by Martin]

    [Edited on 13-3-2004 by Martin]

  4. #4
    Hi, Thanks for the replys, well what i was trying to do is make a thing where i can update the news and it makes little boxs for every update but i guess thats done in php which i know nothing about, how could i make the news.htm table line up perfectly with the iframe should i make the table the same size then align it? if so how should i align it to the left? thanks for the help

  5. #5
    Barrista
    Join Date
    Jun 2003
    Posts
    3,441
    you&#039;ll have to tweak an&#039; refine it until its sits the way that you want it to without those anoying horizontal scrollbars...

  6. #6
    Originally posted by Martin
    you&#039;ll have to tweak an&#039; refine it until its sits the way that you want it to without those anoying horizontal scrollbars...
    Thanks man, got it all fixed now, maybe you could check out my tables thread if u get a chance, thanks again

  7. #7
    Regular
    Join Date
    Nov 2002
    Location
    Antwerp, Belgium
    Posts
    395
    Thanks man, got it all fixed now, maybe you could check out my tables thread if u get a chance, thanks again
    Looks good man

  8. #8
    Barrista
    Join Date
    Jun 2003
    Posts
    3,441
    Originally posted by natedog172000

    Thanks man, got it all fixed now, maybe you could check out my tables thread if u get a chance, thanks again
    Nice work, perhaps reduced the text size etc and use Verdana, size 1..

  9. #9
    Barrista
    Join Date
    Aug 2002
    Location
    Scotland, UK
    Posts
    1,658
    Tip: When using css specify font sizes in &#039;px&#039; rather than &#039;pt&#039;. This will mean your text in Mac and Windows will look relatively the same.

  10. #10
    Barrista
    Join Date
    Jun 2003
    Posts
    3,441
    yep... stick with pt - much nicer for everyone.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •