Hey, welcome to ZBCode, the premier coding forum for ZB. Here you fill find some of the best Invisionfree and Zetaboards Codes on the network! Unfortunately, you're sorta hovering around in guest mode at the moment; why not join in on the fun? Register an account and you can start accessing the wealth of resources we have available here. Enjoy your stay at ZBCode, and remember to tell all your friends about us; the more members, the more codes available. ![]() Interested in joining? Click here. If you are already a member of ZBCode, feel free to login right here: |
| [ZB] IDK but need help. | |
|---|---|
| Tweet Topic Started: Apr 20 2009, 03:52 AM (217 Views) | |
| Flavius | Apr 20 2009, 03:52 AM Post #1 |
![]()
|
What I am in need of is a script or CSS that would reduce the size of my #menu to the minimum required. In other words shrink the length till everything in it is in one row and increase the length when more is added. In this tag I currently have my TOPMENU so members will have a different sized TOPMENU to moderators and admins who can see the Report button. |
| |
![]() |
|
| Reid | Apr 21 2009, 05:08 PM Post #2 |
![]()
What? The land of the free? Whoever told you that was your enemy.
![]()
|
I'm not entirely sure what you mean. Screenshot maybe? Is everything not in one row on your board? Lol |
| The Resource Board | |
![]() |
|
| ANDREW TOPGUNS | Apr 22 2009, 02:31 AM Post #3 |
|
10% of the way to 1000 club!
![]()
|
I think he means he would like the Menu bar to fit exactly the size of the links and as he gets more links for the menu he increases the length of the bar, just a customization to the length of the bar. My only worry with that is if it will show the background behind where the bar used to stretch (It should but dunno). Hope this helps! |
![]()
| |
![]() |
|
| Flavius | Apr 22 2009, 02:58 AM Post #4 |
![]()
|
Yeah that is what I mean. So when it doesn't show the link to admin cp and report cp the bar is shorter than when it does show those links. |
| |
![]() |
|
| Kevin | Apr 22 2009, 02:56 PM Post #5 |
![]()
|
Can you post your CSS? And a link to your board or screenshot of what you want would be helpful as well. |
| |
![]() |
|
| ANDREW TOPGUNS | Apr 23 2009, 09:36 AM Post #6 |
|
10% of the way to 1000 club!
![]()
|
With this, what I'll try to type a diagram:
|
![]()
| |
![]() |
|
| Reid | Apr 23 2009, 03:09 PM Post #7 |
![]()
What? The land of the free? Whoever told you that was your enemy.
![]()
|
It is possible. You could in theory get the width of all the links and then add a given amount to the width. |
| The Resource Board | |
![]() |
|
| ANDREW TOPGUNS | Apr 24 2009, 03:18 AM Post #8 |
|
10% of the way to 1000 club!
![]()
|
No my diagram was meant to display the "Desired Menu" on the right like the other example but it cuts of close to the end of the left side of the links and then just has empty space on the left of it. |
![]()
| |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| « Previous Topic · Code University · Next Topic » |


















7:48 PM Jul 10