menu border and centering content

Jeeguiguren / 2010-10-08 03:26:18   

Yet again two more issues. I searched around before and didnt find any solutions.

1) Is there a way to add a border to the menu? I tried adding:

#menu .container {
padding: 10px;
background-color:#FFF;
width:auto;
border:1;
}

and nothing....

2)I would like to center images or videos horizontaly as well as vertically on the content section. I read an old post which mentioned that it was pretty complicated and the only method was through complex javascript coding. Is there an easier way now.. a plugin.. or a clear tutorial on how to be able to acomplish this?

  1. <a href="http://www.cachipun.com/leche2/publicidad/index.php?/work/redcompradeseos-12010/">This website shows both isssues</a>
Jeeguiguren / 2010-10-08 03:27:14   

This is the link to show the issue

blameme / 2010-10-08 07:39:35   

Hi, the border is basic css, search google if you don´t know this stuff, or visit the W3C.
CSS Border Property

Jeeguiguren / 2010-10-08 14:14:40   

The thing is I know how to add a border in general. But when I add it, the expanding drop down menu becomes static and not expandable as it was otherwise.

Webpage

blameme / 2010-10-08 14:31:46   

I think that has less to do with the border, and more to do with the fact that your neither your jquery or expanding menu script are where they should be:
http://www.cachipun.com/leche2/publicidad/ndxz-studio/site/js/collapsable.menu.v2.thenine.js
http://www.cachipun.com/leche2/publicidad/ndxz-studio/site/js/jquery.js

Jeeguiguren / 2010-10-08 15:01:20   

where are they supposed to go? It sjust that the expanding menu was working without the border property.

blameme / 2010-10-08 15:14:45   

They can go wherever you like, just make sure the url points to the files.

fx.you are trying to call your scripts from here:
http://www.cachipun.com/leche2/publicidad/ndxz-studio/site/js/
But if you go here you see there is no js folder
http://www.cachipun.com/leche2/publicidad/ndxz-studio/site/

You need to find where they are and put the correct path to the files.

Jeeguiguren / 2010-10-08 16:20:40   

you are a genious blameme. I dont know how the js folder got moved. Some mishap on my behalf.

Cheers mate.

You wouldnt happen to know how to verticaly center the video now.. would you?

blameme / 2010-10-11 16:25:23   

Yea vertically centering with css kinda sucks, but Here is some more info

This thread has been closed, thank you.