Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: iframes vs css

  1. #1
    New to the CF scene
    Join Date
    May 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    iframes vs css

    Hi guys...

    Ive searched the forum but an't seem to find a solution for my problem.
    I have a site with a reasonably simple layout. Left column for menu and then central section where the data / words are displayed.

    Problem is the site is written coded to have IFRAMES. The left menu opens the link in an ifram in the main section of the page.

    Of course now google is not indexing the iframe pages.

    Is there a way or CSS that I can use to still use this baisc layout so that the menu remains on the left and the main section opens the link / seperate file?

    Please excuse me if it sounds dumb but I am not expereinced in this kind of stuff so its a bit hard for me.

    I have learnt most thing from grabbing a template of the web and then tweaking the hell out of it...

    Thanks

  • #2
    Senior Coder Rowsdower!'s Avatar
    Join Date
    Oct 2008
    Location
    Some say it's everything.
    Posts
    2,027
    Thanks
    5
    Thanked 397 Times in 390 Posts
    Quote Originally Posted by Baffers View Post
    Hi guys...

    Ive searched the forum but an't seem to find a solution for my problem.
    I have a site with a reasonably simple layout. Left column for menu and then central section where the data / words are displayed.

    Problem is the site is written coded to have IFRAMES. The left menu opens the link in an ifram in the main section of the page.

    Of course now google is not indexing the iframe pages.

    Is there a way or CSS that I can use to still use this baisc layout so that the menu remains on the left and the main section opens the link / seperate file?

    Please excuse me if it sounds dumb but I am not expereinced in this kind of stuff so its a bit hard for me.

    I have learnt most thing from grabbing a template of the web and then tweaking the hell out of it...

    Thanks
    There's probably a good chance that you can but without seeing the code it's hard to say. Pages with iframes are often coded with tables, which is a poor basis for a layout to begin with so if this is the case I would recommend just starting fresh.

    In any case though, have a look at this layout page and see if it suits your needs: http://matthewjamestaylor.com/blog/u...enu-pixels.htm

    And then there is always this layout if you want a fully "fluid" layout of the same type: http://matthewjamestaylor.com/blog/p...-left-menu.htm

    These should be time-savers unless you have a lot of customization in your page already. If so, please either post your full HTML and CSS or better yet give us a link to you live page so we can take a look. Welcome to the forums!
    The object of opening the mind, as of opening the mouth, is to shut it again on something solid. –G.K. Chesterton
    See Mediocrity in its Infancy
    It's usually a good idea to start out with this at the VERY TOP of your CSS: * {border:0;margin:0;padding:0;}
    Seek and you shall find... basically:
    validate your markup | view your page cross-browser/cross-platform | free web tutorials | free hosting


  •  

    Tags for this Thread

    Posting Permissions

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