Viewing A bug in publishing ?

A bug in publishing ?



User: Jens_C 10 years ago
When i was making my homepage and uploaded it, something strange happend.

I use for my navigation menu an external html and css script.
Now i splitted my menu bar in two bars one on the left and one on the right, because in the middle i have my site logo.
Now i have two css scripts one with the name "left.css" and the other "right.css".

So the "left.css" is for the left menu bar and the "right.css" is for the right menu bar. Now this works all fine but now comes the strange thing.

In the "left.css" script i use for my menubar "float: left;" , and in the "right.css" i use "float: right;".

In Easyweb it works perfect but when i publish my site the left menu bar seem to use the "right.css" script and this is really strange because in the html snippet script the "src" is the "left.css".

What could be the problem of this ?
I think there is something wrong in the publishing.
Also maybe some help plz ?


Thanks,
Jens


User: pumpkin 10 years ago
It's always helpful to post the url of your site, so people with more knowledge in html/css than me can take a closer look and maybe discover the issue.

-------------------------------
Darian
new to web design
______________________
My websites: Vocal Affairs // Singkehlchen
User: Roddy 10 years ago
Did you give each menu a class in the HTML and use that class in the selectors in the CSS?

Also it would appear that you are misunderstanding floats.

It would be helpful it you posted both the CSS and the HTML that you are using.

-------------------------------
Roddy

Website: http://everwebwidgets.com
Contact: http://everwebwidgets.com/ewWidgets-home/contact.html
NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own.
User: Jens_C 10 years ago
Ok Roddy, hope you can help me with it. I just checked it again and in EasyWeb itself everything is correct.
hthe left menu is floated to the left and the right menu is floated to the right.

But online the right menu is correct but the left menu isn't. It float also to the right instead of to the left.

Here is the site url (site is not ready yet :p): http://www.thelastlegions.com/Test/homepage.html

I send you the script files by E-mail Roddy.


Jens
User: Roddy 10 years ago
Both of your menus have the same ID - #cssmenu
When the browser reads through the scripts and styles it applies the last one it reads. The browser reads the links.css first and applies the styles to both menus (because they both have the same ID) and then reads the rechts.css and applies the styles to both menus and floats them right.

There is no need to repeat the whole stylesheet. Delete the rechts.css and make this change to the HTML for the right menu...



The link to the stylesheet should be pasted into the site wide head code box ...



Note that I added the "type" to this!

-------------------------------
Roddy

Website: http://everwebwidgets.com
Contact: http://everwebwidgets.com/ewWidgets-home/contact.html
NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own.
User: Jens_C 10 years ago
Thanks Roddy you safed my day again !! :D
User: Roddy 10 years ago
Sometimes the simple way is the best way!

-------------------------------
Roddy

Website: http://everwebwidgets.com
Contact: http://everwebwidgets.com/ewWidgets-home/contact.html
NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own.


Post Reply
You must login or signup to post.