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 5 of 5
  1. #1
    New to the CF scene
    Join Date
    Dec 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Frames in "center"?

    Hello,

    I'm trying to redesign a website, but I need some help.
    We have to use frames for this, even though it might be a bit outdated.
    The problem is that once I try to make a frame it will be to the very left or right at the screen.
    I want to be able to center them, like in the image above:



    The light gray part is supposed to be a background, and then the dark gray parts are the frames.
    How can this be done?
    The "main frame" needs to be able to update to some other site once someone clicks a link in the "menu frame".

  • #2
    Regular Coder Jazzo's Avatar
    Join Date
    Apr 2008
    Location
    New York City
    Posts
    164
    Thanks
    20
    Thanked 2 Times in 2 Posts
    I don't know if this will work, but try in your frameset tag: <frameset style="text-align:center">
    ~Julian
    14 y/o web developer, drummer, and Bridge player

  • #3
    New to the CF scene
    Join Date
    Dec 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Well, I'm not trying to align the text to center.

  • #4
    Regular Coder Jazzo's Avatar
    Join Date
    Apr 2008
    Location
    New York City
    Posts
    164
    Thanks
    20
    Thanked 2 Times in 2 Posts
    Then, within each frame, set text-align:left. It will override it.
    ~Julian
    14 y/o web developer, drummer, and Bridge player

  • #5
    Regular Coder Pepe, the bull's Avatar
    Join Date
    Feb 2005
    Location
    Vancouver, WA
    Posts
    163
    Thanks
    1
    Thanked 16 Times in 16 Posts
    Code:
    <frameset style="width:600px; margin:0 auto;" framespacing="20px" rows="80,*" cols="*" frameborder="no" border="0">
    Set the side margins of the frameset to auto.
    Last edited by Pepe, the bull; 12-15-2009 at 11:31 PM.
    Pepe, the bull


  •  

    Posting Permissions

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