complete newbie question(first time css user but a quick learner)

Discussion in 'CSS' started by edasvangen, Oct 29, 2008.

  1. #1
    If i for example created a html file named "aboutme.html" and puts a link to it on a menu button and want it shown in the "main frame" or whatever its called, i really dont know how css works.. all i can get it to do when i press the about me link is to pop up in a new window : /
     
    edasvangen, Oct 29, 2008 IP
  2. Funk-woo10

    Funk-woo10 Peon

    Messages:
    1,109
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    0
    #2
    remove - target="blank"
     
    Funk-woo10, Oct 29, 2008 IP
  3. edasvangen

    edasvangen Peon

    Messages:
    181
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    did not do anything, still popping up in a new window.

    i do not know how to work css, the window i want it showing in is called:

    div.content box large

    and Div ID is blank, tried "targeting" it to "div.content box large" and "content box large", thats how it was done with the good old html stuff so thats the only way i know :) tried giving it a Div ID then target it there aswell but nothing.. screw my about me page :(
     
    edasvangen, Oct 29, 2008 IP
  4. Dimmo

    Dimmo Well-Known Member

    Messages:
    42
    Likes Received:
    0
    Best Answers:
    1
    Trophy Points:
    126
    #4
    can you post your html and css relating to this link button
     
    Dimmo, Oct 29, 2008 IP
  5. edasvangen

    edasvangen Peon

    Messages:
    181
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    <li class="li_nav_body"><a href="About-me.html" class="style9">About ME</a></li>


    ---------------------------------------------------------------------


    /*----- MENU ----- */

    #navLeft, #navRight {
    margin: 0;
    padding: 0;
    width: 122px;
    list-style: none;
    overflow: hidden;
    }

    #navLeft li, #navRight li {
    width: 122px;
    overflow: hidden;
    text-transform: uppercase;
    font-size:9px;
    font-weight:bold;
    }

    #navLeft a, #navRight a {
    color:#fff;
    }
    .li_nav_header a {
    display: block;
    width: 122px;
    height: 20px;
    background: url(assets/nav_header.gif) no-repeat;
    }

    .li_nav_body a {
    display: block;
    width: 122px;
    height: 20px;
    background: url(assets/nav_body.gif) no-repeat;
    padding-left: 25px;
    line-height:20px;
    }

    .li_nav_footer a {
    display: block;
    width: 122px;
    height: 33px;
    background: url(assets/nav_footer.gif) no-repeat;
    }

    .li_nav_body a:hover
    {
    background-position: 0 -20px;
    color:#016001;
    }

    .li_active a:active {
    background: url(assets/nav_body.gif) no-repeat;
    background-position: 0 -40px;
    color:#fff;
    }


    And thats all i could find about the menu stuff, alot of text there but i still cant see how to get it to show in the main window, i downloaded the template to make things easier but i'm starting to think it would be easier to learn css from scraps(so back to the boring guides :p)..
     
    edasvangen, Oct 29, 2008 IP
  6. Funk-woo10

    Funk-woo10 Peon

    Messages:
    1,109
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    0
    #6
    ok first remove class="style9 from the link
     
    Funk-woo10, Oct 29, 2008 IP
  7. edasvangen

    edasvangen Peon

    Messages:
    181
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    that only made the text invisible
     
    edasvangen, Oct 29, 2008 IP
  8. Funk-woo10

    Funk-woo10 Peon

    Messages:
    1,109
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    0
    #8
    ok, ignor that then, there is nothing in your css that is doing it. Is there any javascript ?
     
    Funk-woo10, Oct 29, 2008 IP
  9. edasvangen

    edasvangen Peon

    Messages:
    181
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    i dont think so, cant see any java, just forget it.. can live without it, thanks anyways for trying :)
     
    edasvangen, Oct 29, 2008 IP
  10. Funk-woo10

    Funk-woo10 Peon

    Messages:
    1,109
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    0
    #10
    post your url so we can see.
     
    Funk-woo10, Oct 29, 2008 IP
  11. edasvangen

    edasvangen Peon

    Messages:
    181
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    http://www.edasvangen.ws/

    there you go :)
     
    edasvangen, Oct 29, 2008 IP
  12. Funk-woo10

    Funk-woo10 Peon

    Messages:
    1,109
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    0
    #12
    your page does not come up in a different window...what you mean is how can I get my page to come up in my template ?
     
    Funk-woo10, Oct 29, 2008 IP
  13. edasvangen

    edasvangen Peon

    Messages:
    181
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #13
    yeah, it stopped popping up in a different window when i removed the target blank, forgot to say that, and yep want it in the template :)
     
    edasvangen, Oct 30, 2008 IP