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 10 of 10
  1. #1
    New to the CF scene
    Join Date
    Aug 2010
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Help with Frame (padding/spacing)

    Hello! I hope someone'll be able to help me out:

    I've been struggling with the central vertical frame (not the small dotted one) on http://seka.mangacandy.com for a long time now; There should NOT be any white border/space around the frame, and as far as I'm aware I've tried every combination of 'framespacing="0" border="0" frameborder="0"' I can think of, yet there it still is...

    The problem is even worse in IE (I use Firefox), where the white space is so large on the right hand side that it interferes with the overflow

    Does anyone have any ideas? The border should ideally only be a solid 1px.

    Thanks in advance!

  • #2
    Regular Coder Doctor_Varney's Avatar
    Join Date
    Mar 2008
    Location
    Midlands, UK
    Posts
    649
    Thanks
    45
    Thanked 29 Times in 28 Posts
    Read this and decide if you still really want to use frames.

    http://www.hobo-web.co.uk/seo-blog/i...ebsite-frames/

    (Also decide if you really want to interfere with your user's digestive system. That background pattern is making me feel sick. You'll give someone a migraine.)

    Dr. V
    Last edited by Doctor_Varney; 08-27-2010 at 05:20 PM.
    Definition: Computer rage is a heightened physiological response with associated feelings of anger and frustration[1] resulting from using a computer or other complex electronic device. It may result in the physical assault of the computer or similar item.[2] Computer use often leads to verbal abuse and occasionally physical violence towards the object.[3] Computer rage may be caused by distress due to a hardware or software problem which the enraged person is unable to correct.

  • #3
    New to the CF scene
    Join Date
    Aug 2010
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks for the advice, I knew frames were frowned upon but aside from a few aesthetic nuances I'd never known anyone suffering accessibility issues with them. I did try to rewrite the site in PHP a few weeks back, but to be honest I didn't try very hard!

    At the risk of asking too much... would you possibly have a suggestion of a better way to set up this same layout *without* using frame? i.e. the unchanging navigation bar on the left, the changing menu strip in the center, and the changing "viewing" frame on the right.

    Given a few weeks and HUNDREDS of mistakes I might be able to get it straight myself, but if you could give me any advice that would be hugely appreciated.

    Thanks again!

    PS: I'll tone down the BG

  • #4
    Regular Coder Doctor_Varney's Avatar
    Join Date
    Mar 2008
    Location
    Midlands, UK
    Posts
    649
    Thanks
    45
    Thanked 29 Times in 28 Posts
    Hehe cool. Glad I didn't offend you with that. None meant.

    Frames are frowned upon, yes - but I'd say they're alright in certain applications, such as in a closed intranet, off the main highway. I suppose that's why the W3C have included support for frames - but as a means of getting yourself 'out there', they can cause hideous problems with navigation, bookmarking, linking-out and of course, search engines. Personally, I had so many sizing and layout issues across browsers and screens, I gave up using them altogether!

    If you do a quick search for CSS layouts and examine some of the most popular models out there, you will come across exactly the sort of layout you've been attempting there.

    For a start, you'll need a simple columns layout with divs (to replace the frames). This dude has some great advice and tutorials to get you started.

    For that lovely menu thing you got going on in your left column, you'll need to get into making lists. Go here and learn how to make list menus. You can add backgrounds to list items, to make buttons - or style them up to look like the ones you have created.

    As you'll know, frames seem good because once the navigation frame is loaded, it doesn't need to load again, each time you jump to a new page. Because CSS is so powerful when it comes to styling, often you don't need images to make navigation and headers look cool and it uses much leaner code. This means the site loads faster and so jumping from page to page can feel as seamless as moving through frames.

    But at the end of the day, I'm saying weigh it up and decide for yourself. I'm not going to tell you what to do with your site, because that's your business.

    Hope this helps.

    PS. It's not so much the colour that bothered me, but the spots themselves.

    Dr. V
    Last edited by Doctor_Varney; 08-31-2010 at 02:20 PM.

  • #5
    Senior Coder
    Join Date
    Aug 2010
    Location
    High Point, NC
    Posts
    3,338
    Thanks
    5
    Thanked 363 Times in 360 Posts
    I think you can use div layouts and set specific heights to certain divs then you will get the scroll bar effect. The you can set the left or right div, whichever you like to fixed position so that as you scroll, the menus, as you have it now, will appear to stay fixed. Endless possibilities only limited by knowledge and imagination. Wish I had some of each! lol

  • #6
    New to the CF scene
    Join Date
    Aug 2010
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks for all the great advice, both of you.

    I THINK I'm going to go with a php + div layers approach To save the hassle of loading a completely new (with only small differences) .html document each time, I'm going with a fixed nav bar and an include within the rest of the page. The include will involve 2 div layers, changing on the use of the nav bar.

    This is how far I've gotten with the conversion:

    http://mangacandy.com/seka/sekond

    I don't know if either of you have a comfort-zone in php, but I'm having a issue with the include; No matter what nav bar button is clicked, only the automatic

    PHP Code:
    <?php
    }
    else{
    ?>
    page is shown

    It's a little difficult to describe the issue, but if you have any idea that'd be awesome...

  • #7
    New to the CF scene
    Join Date
    Aug 2010
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by blockinator View Post
    Make that http://seka.mangacandy.com

  • #8
    Regular Coder Doctor_Varney's Avatar
    Join Date
    Mar 2008
    Location
    Midlands, UK
    Posts
    649
    Thanks
    45
    Thanked 29 Times in 28 Posts
    Sorry, can't help you with PHP questions. I don't do PHP.

    Dr. V

  • #9
    New to the CF scene
    Join Date
    Aug 2010
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts
    No problem, I'll start a new thread!

    Thanks for your help

  • #10
    Senior Coder
    Join Date
    Aug 2010
    Location
    High Point, NC
    Posts
    3,338
    Thanks
    5
    Thanked 363 Times in 360 Posts
    im just starting to learn PHP...give me a month or so...lol Good luck


  •  

    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
    •