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
  1. #1
    New Coder
    Join Date
    Jun 2007
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Angry I need some regarding my css layout.....

    If you click on this link...http://fin01.eduka.info/Home.aspx, and take a look at the menu list, and you compare it with this page
    http://fin01.eduka.info/Finance-Insurance.aspx, the menus are different, Im trying to get the menus to be the same but it doesnt seem to be working does anyone have any suggestions??, this is the home page css layout...
    /*

    Here's a demo stylesheet used to format a menu and its content.
    Feel free to alter the menu layout however you want!
    All you have to do is ensure the script has the correct CSS property name
    (like 'visibility' or 'display') that changes to show/hide menus.

    If you want to extend this layout, one good resource for UL/LI formatting is:
    http://www.alistapart.com/articles/taminglists/
    Alternatively, you can use any other CSS dropdown layout instead. More here:
    http://www.alvit.de/css-showcase/
    Consult your favourite CSS reference for customising fonts/borders/etc.

    Otherwise, you can just change the #RGB border/background colours where
    suitable to customise for your site -- easy .

    */



    /* HORIZONTAL FREESTYLE MENU LAYOUT */


    /* All <ul> tags in the menu including the first level */
    .menulist, .menulist ul {
    margin: 0;
    padding: 0;
    list-style: none;
    }

    /* Submenus (<ul> tags) are hidden and absolutely positioned downwards from their parent */
    .menulist ul {
    display: none;
    position: absolute;
    top: 1.0em; margin-top: 13px; /* I'm using ems and px to allow people to zoom their font */
    left: -1px;
    width: 120px;
    }

    /* Second and third etc. level submenus - position across from parent instead */
    .menulist ul ul {
    top: -1px; margin-top: 0;
    left: 148px;
    }

    /*
    All menu items (<li> tags). 'float: left' lines them up horizontally, and they are
    positioned relatively to correctly offset submenus. Also, they have overlapping borders.
    */
    .menulist li {
    float: left;
    display: block;
    position: relative;
    background: #918C8C;
    border: 2px solid #FFFFFF;
    margin-right: -1px;
    }
    .menulist li li {
    background-color: #9E9E9E;
    border: 2px solid #FFFFFF;



    }
    /* Items in submenus - override float/border/margin from above, restoring default vertical style */
    .menulist ul li {
    float: none;
    margin: 0;
    margin-bottom: -1px;

    }
    .menulist ul>li:last-child {
    margin-bottom: 1px; /* Mozilla fix */
    }

    /* Links inside the menu */
    .menulist a:link, .menulist a:visited {
    display: block;
    padding: 3px;
    color: #FFFFFF;
    text-decoration: none;
    }

    /* Lit items: 'hover' is mouseover, 'highlighted' are parent items to visible menus */
    .menulist a:hover, .menulist a.highlighted:hover, .menulist a:focus {
    color: #000000;
    background-color: #CD181F;
    }
    .menulist a.highlighted {
    color: #000000;
    background-color: #CD181F;
    }

    /*
    If you want per-item background images in your menu items, here's how to do it.
    1) Assign a unique ID tag to each link in your menu, like so: <a id="xyz" href="#">
    2) Copy and paste these next lines for each link you want to have an image:
    .menulist a#xyz {
    background-image: url(out.gif);
    }
    .menulist a#xyz:hover, .menulist a.highlighted#xyz, .menulist a:focus {
    background-image: url(over.gif);
    }
    */

    /* Only style submenu indicators within submenus. */
    .menulist a .subind {
    display: none;
    }
    .menulist ul a .subind {
    display: block;
    float: right;
    }


    /* 'Escaped Comment' hack for horizontal menubar width in IE5/Mac */
    .menulist a {
    float: left;
    }
    .menulist ul a {
    float: none;
    }
    /* \*/
    .menulist a {
    float: none;
    }
    /* */


    /*
    HACKS: IE/Win:
    A small height on <li> and <a> tags and floating prevents gaps in menu.
    * html affects <=IE6 and *:first-child+html affects IE7.
    You may want to move these to browser-specific style sheets.
    */
    *:first-child+html .menulist ul li {
    float: left;
    width: 100%;
    }

    * html .menulist ul li {
    float: left;
    height: 1%;
    }
    * html .menulist ul a {
    height: 1%;
    }
    /* End Hacks */

    And this is the Internal page css layout...

    body{
    background-color:#FFF;
    color:#000;
    margin:0;
    padding:0;
    font:80% Arial, Helvetica, Sans-serif;
    text-align:center;
    }
    h1{
    font-size:150%;
    color:#CC3300;
    }
    h1.slogan{
    font-size:150%;
    color:#CD181F;
    margin:0;
    position:relative;
    z-index:1;
    text-align:left;
    padding:0.5em 0 0 0.5em;
    }

    h2{
    font-size:120%;
    color:#CC3300;
    }
    h3{
    color:#CC3300;
    font-weight:normal;
    font-size:100%;
    }
    img{
    border:none;
    }
    a:link{
    color:#CC3300;
    text-decoration:none;
    }
    a:visited{
    color:#CC3300;
    text-decoration:none;
    }
    a:hover{
    color:#CC3300; 918C8C
    text-decoration:underline;
    }
    #logo{
    text-align:right;
    background:url(../images/gfx/logo_bg.gif);
    background-repeat:repeat-x;
    margin-top:-1.5em;
    }
    #navmenu {
    color: #FFFFFF;
    text-align:left;
    float:left;
    background:url(../images/gfx/navbg.gif);
    background-repeat:no-repeat;
    background-color: #918C8C;
    padding:0 1em;
    margin-right:0.5em;
    border:0.5px solid #FFFFFF;
    }
    #navmenu a:link, #navmenu a:visited{
    color: #FFF;
    background-color: #918C8C;
    text-align:left;

    }
    #navmenu a:hover{
    color: #000;
    background-color: #918C8C; CC3300;
    text-align:left;

    }
    /* menu styles */
    .TopMenuGroup
    {
    text-decoration: none;
    cursor: pointer;
    line-height:1.5em;
    margin:1em 0.7em 1em 0;
    font-weight:bold;
    }
    .MenuGroup
    {
    border:3px solid #FFFFFF;
    }
    .TopMenuItem
    {
    color: #fff;
    padding:0.25em 1em 0.25em 0;
    cursor: poinSter;
    }
    .TopMenuItemHover
    {
    color: #000;
    padding:0.25em 1em 0.25em 0;
    cursor: pointer;
    }
    .MenuItem
    {
    color: #FFF;
    background-color: #CD181F;
    padding:0.25em 2em 0.25em 1em;
    cursor: pointer;
    font-weight:bold;
    }
    .MenuItemHover
    {
    color: #000;
    background-color: #CD181F;
    font-weight:bold;
    padding:0.25em 2em 0.25em 1em;
    cursor: pointer;
    }
    /*End Menu Styles*/
    #breadcrumbs {
    color: #000;
    font-size: 80%;
    text-decoration:none;
    text-align: right;
    padding-right:1em;
    }
    #contentwrapper{
    margin:auto;
    width:95%;
    text-align:left;
    }
    .content{
    border-left:1px solid #DDDDDD;
    border-right:1px solid #DDDDDD;
    padding:1em;
    width:50%;
    float:left;
    }

    .sidecontent{
    float:left;
    margin-left:0.5em;
    width:18%;
    }
    .sidecontent div{
    border-top:1px solid #DDDDDD;
    text-align:center;
    color:#CD181F;
    font-size:90%;
    padding:1em;
    margin-top:1em;

    }

    #border{
    border:1px solid #CC3300;
    }
    .clearer{
    clear:both;
    }
    #footer{
    border-top:1px solid #CCCCCC;
    border-bottom:1px solid #CCCCCC;
    text-align:left;
    color:#777777;
    background-color:#EFEFEF;
    padding-left:0.5em;
    font-size:80%;
    }
    #footer a:link{
    text-decoration:none;
    color:#999;
    }
    #footer a:visited{
    text-decoration:none;
    color:#999;
    }
    #footer a:hover{
    text-decoration:underline;
    color:#CC3300;
    }
    #ContactUs1_tblForm input{
    margin-top:0.5em;
    }

  • #2
    Senior Coder koyama's Avatar
    Join Date
    Dec 2006
    Location
    Copenhagen, Denmark
    Posts
    1,246
    Thanks
    1
    Thanked 5 Times in 5 Posts
    Yeah, we can see that the menus are different, but what is it you are trying to fix?


  •  

    Posting Permissions

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