Jump to content

Recommended Posts

vinnier, it's almost impossible for us to help you without some sort of code or description of the problem.  You have to narrow down your problem, what exactly does, "it messes up the website completely" mean?  Can you provide a screen shot or link?

I am looking for a alternative and simpler way to do it, not a solution the the problem I have with the script I tried. (btw. It makes 3/4 of my site disappear with only header staying in it's place. but it's not important as I am asking for a different way to do it)

there is nothing more on google then the one I tried and it doesn't work...

 

Not sure what else you expect.  Someone suggested JQuery, but it seems you didn't even make an attempt.  Unless someone has already developed this replica, I'm confident no one is going to do it for you.

 

Here are what seem to be helpful Google results:

 

http://www.phpfreaks.com/forums/index.php?topic=201294.0

http://www.dynamicdrive.com/forums/showthread.php?t=31628

http://www.daniweb.com/forums/thread206476.html#

Remember the css I was talking about?  Here is the contents of the bar you originally quoted:

                height:30px; /* fix bar's height */

width:900px; /* fixed width */

 

/* center this div */

margin-left:auto;

margin-right:auto;

 

/* add effect */

background-color:#EEEEEE;

border:#666666 solid 1px;

There is no bar because you need to style the div to look like the bar. You have the code, but the style you are going to have to work with.

 

I'd recommend you get an extension such as Firebug to view the current styles over an element, It is a useful tool to debug problems with styles. You simply aren't applying the rules to them.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.