Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 6 of 6
  1. #1
    Junior Member
    Join Date
    Apr 2004
    Posts
    3
    Member #
    5735
    Hi,
    I'm new to CSS and I'm trying to make a site without (too many) tables. I've found a nice design, but - idiotic question - how do I open the documents listed on the left menu in the main box? I've tried <a target="Content"> without luck. Here's the CSS code:

    #Header {
    margin:50px 0px 10px 0px;
    padding:17px 0px 0px 20px;
    font-size:1em;
    height:33px;
    border-style:solid;
    border-color:black;
    border-width:1px 0px;
    line-height:11px;
    background-color:#eee;
    #Content {
    padding:10px;
    margin-left:200px; margin-right:50px; margin-top:0px; margin-bottom:50px

    }

    #Menu {
    position:absolute;
    top:100px;
    left:20px;
    width:172px;
    padding:10px;
    background-color:#eee;
    border:1px dashed #999;
    line-height:17px;

    voice-family: "\"}\"";
    voice-family:inherit;
    width:150px;
    }

    body>#Menu {width:150px;}

  2.  

  3. #2
    Senior Member jlgosse's Avatar
    Join Date
    Jan 2004
    Location
    Newfoundland, Canada
    Posts
    1,037
    Member #
    4570
    Liked
    7 times
    <link rel="stylesheet" href="filename.css>


  4. #3
    Junior Member
    Join Date
    Apr 2004
    Posts
    3
    Member #
    5735
    OK, I'm feeling really stupid here but I'm still no closer to a solution..

    As for yout reply - yes, I have linked the stylesheet to the html file, no problem. But my problem is getting the linked documents to open in the main box - like with frames. I thought I could do without frames or tables?

    Can anyone just show me a simple, easy way to solve this with stylesheets?

  5. #4
    Junior Member
    Join Date
    Apr 2004
    Posts
    3
    Member #
    5735
    Quote Originally Posted by Lisen
    OK, I'm feeling really stupid here but I'm still no closer to a solution..

    As for yout reply - yes, I have linked the stylesheet to the html file, no problem. But my problem is getting the linked documents to open in the main box - like with frames. I thought I could do without frames or tables?

    Can anyone just show me a simple, easy way to solve this with stylesheets?
    Like in this page: http://www.westciv.com/style_master/...out/index.html

    This is what I want, only a bit simpler.

  6. #5
    Senior Member glyakk's Avatar
    Join Date
    Nov 2003
    Location
    USA
    Posts
    1,263
    Member #
    3828
    Liked
    6 times
    That site is refreasheing the whole site, not just sections of the page like an iframe or a frameset would do.

    However there is a way you can achive something similar to this effect with css, but will reqire scritping(js,php,asp,etc..) and the display property. But for the effort, I would ask why? It will overly complicate a very simple problem.


  7. #6
    Senior Member teal's Avatar
    Join Date
    Dec 2003
    Posts
    247
    Member #
    4319
    Hmm
    there is unclosed code in that CSS. Make sure you get all your "}"s and all your other syntaxes right.
    Also, might I ask why you have aural stuff there? I thought that hasn't yet been included in mainstream CSS.

    Anyway, it seems like you mean you want to deal with iframes. a table cannot have things open in just cells of itself. Anyway, you are right, you do have to use the target="" function, but I believe it has to be set with the name="" of the iframe. I am assuming that you are using a two iframe layout, if not, please explain exsactly what you are doing. This seems to me to be a case where CSS is not what you want, but I am not certain at all.
    Whoth steps forth to mock the teal? Whom couldst say a color superior!

    Proclamith me, it cannot be done.


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 04:57 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com