Results 1 to 10 of 10

Thread: Question on Glossy Horizontal Menu

  1. #1
    Join Date
    Mar 2008
    Posts
    35
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Question on Glossy Horizontal Menu

    Hi to all...

    I have a question...
    I'm using your Glossy Horizontal Menu and its working fine...
    But how can I keep it on one line because right now depending on my width if i have my favorities open the menu goes on two lines if I close it it stay on one line...
    how can I always keep it on one line even if the window size changes...

    I tried nowrap command and it does work...
    is there something else I can use...

    Thanking you in advance...

    Rino

  2. #2
    Join Date
    Jan 2007
    Posts
    629
    Thanks
    10
    Thanked 28 Times in 28 Posts

    Default

    Try putting it inside of a div that has a specific width. That way, if the window is too narrow, the horizontal scroll bar will show up instead of the menu adjusting.
    Code:
    <div style="width:600px;">
        <!--Place Menu Here//-->
    </div>
    --Jas
    function GreatMinds(){ return "Think Like Jas"; }
    I'm gone for a while, but in the meantime: Try using my FTP script | Fight Bot Form Submissions

  3. #3
    Join Date
    Mar 2008
    Posts
    35
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default perfect

    perfect thanks ...
    just that now from the table that I have the menu to other other table right under it it leaves a space from each other before it way all together...
    in my table i do have cellpadding=0 cellspacing=0 by still leaves a space...

    thanking you in advance...

    Rino

  4. #4
    Join Date
    Jan 2007
    Posts
    629
    Thanks
    10
    Thanked 28 Times in 28 Posts

    Default

    Do you have a link to a live page? Or can you post the code? (A live page would be better)
    Also, make sure that the div 1) is the correct size, 2) also has a margin and padding of 0, and 3) is not subject to other styles in your CSS. You might also make sure the table has 0 padding.
    EDIT: and what browser is this in? I asume IE6 or IE7?
    --Jas
    function GreatMinds(){ return "Think Like Jas"; }
    I'm gone for a while, but in the meantime: Try using my FTP script | Fight Bot Form Submissions

  5. #5
    Join Date
    Mar 2008
    Posts
    35
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default live site

    hi, here is the link to the live site...

    http://www.hartstores.com/Hart/Merchandise/Mens.asp

    make sure your on the french site that's where the tables don't meet...

    Thanking you in advance...

    Rino

  6. #6
    Join Date
    Jan 2007
    Posts
    629
    Thanks
    10
    Thanked 28 Times in 28 Posts

    Default

    Try making the width bigger-- it looks like it's cutting off the last two items on the menu.
    Nevermind: I thinks that's just linux 1 sec
    --Jas
    function GreatMinds(){ return "Think Like Jas"; }
    I'm gone for a while, but in the meantime: Try using my FTP script | Fight Bot Form Submissions

  7. #7
    Join Date
    Mar 2008
    Posts
    35
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    i put the width to 100% and the table just got bigger with the space inbetween...

  8. #8
    Join Date
    Jan 2007
    Posts
    629
    Thanks
    10
    Thanked 28 Times in 28 Posts

    Default

    Yeah, never mind that comment. Sorry
    Try changing this:
    Code:
    <table align="center" valign="top" cellpadding=5 cellspacing=5 bgcolor="045C97" border=0>
    	<tr>
    		<ul class="glossymenu"style="nowrap">
    <div style="width:810px;"bgcolor="045C97">
    <li class="current"><a href="/Hart/Merchandise/Mens.asp"><b>homme</b></a></li>
    <li><a href="/Hart/Merchandise/Ladies.asp"><b>dames</b></a></li>
    <li><a href="/Hart/Merchandise/Kids.asp"><b>enfant</b></a></li>
    <li><a href="/Hart/Merchandise/Shoes.asp"><b>chaussures</b></a></li>
    <li><a href="/Hart/Merchandise/Toys.asp"><b>jouets</b></a></li>
    <li><a href="/Hart/Merchandise/Linens.asp"><b>literies</b></a></li>
    <li><a href="/Hart/Merchandise/Electronics.asp"><b>électronique</b></a></li>
    <li><a href="/Hart/Merchandise/Houseware.asp"><b>menagers</b></a></li>
    <li><a href="/Hart/Merchandise/Furniture.asp"><b>meubles</b></a></li>
    <li><a href="/Hart/Merchandise/Seasonal.asp"><b>saissoniers</b></a></li>
    </div>
    </ul>
    
    
    		<td bgcolor="045C97" align="CENTER">
    to this:
    Code:
     <table align="center" valign="top" cellpadding=0 cellspacing=0 bgcolor="045C97" border=0>
    	<tr><td bgcolor="045C97" align="CENTER">
    <div style="width:810px;"bgcolor="045C97">
    <ul class="glossymenu"style="nowrap">
    <li class="current"><a href="/Hart/Merchandise/Mens.asp"><b>homme</b></a></li>
    <li><a href="/Hart/Merchandise/Ladies.asp"><b>dames</b></a></li>
    <li><a href="/Hart/Merchandise/Kids.asp"><b>enfant</b></a></li>
    <li><a href="/Hart/Merchandise/Shoes.asp"><b>chaussures</b></a></li>
    <li><a href="/Hart/Merchandise/Toys.asp"><b>jouets</b></a></li>
    <li><a href="/Hart/Merchandise/Linens.asp"><b>literies</b></a></li>
    <li><a href="/Hart/Merchandise/Electronics.asp"><b>électronique</b></a></li>
    <li><a href="/Hart/Merchandise/Houseware.asp"><b>menagers</b></a></li>
    <li><a href="/Hart/Merchandise/Furniture.asp"><b>meubles</b></a></li>
    <li><a href="/Hart/Merchandise/Seasonal.asp"><b>saissoniers</b></a></li>
    </ul>
    </div>
    Last edited by Jas; 03-04-2008 at 09:20 PM.
    --Jas
    function GreatMinds(){ return "Think Like Jas"; }
    I'm gone for a while, but in the meantime: Try using my FTP script | Fight Bot Form Submissions

  9. #9
    Join Date
    Mar 2008
    Posts
    35
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    no still the same think...
    but instead of putting the <div inbetween the menu i removed it and in the tabel i put width=880px instead of width=100%...

    looks like it did the job...

    i'll try it and let you know...

    thanks again...

  10. #10
    Join Date
    Jan 2007
    Posts
    629
    Thanks
    10
    Thanked 28 Times in 28 Posts

    Default

    You have some errors in the way your tags open and close, the biggest being the <tr><td> order-- you have the menu in between them. See my last post again. (I edited it)
    Last edited by Jas; 03-04-2008 at 09:21 PM.
    --Jas
    function GreatMinds(){ return "Think Like Jas"; }
    I'm gone for a while, but in the meantime: Try using my FTP script | Fight Bot Form Submissions

Bookmarks

Posting Permissions

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