Warning: fopen(graphic_design/files/thread-1788-1.txt) [function.fopen]: failed to open stream: Permission denied in /graphic_design/global.php on line 421
file NOT opened Dropdown Nav -
PDA

View Full Version : Dropdown Nav


Octane
09-02-2004, 11:56 PM
Hey all,
Not quit sure how to anchor a dropdown nav. Currently, I'm using co-ordinates, but, as each page is different, the nav needs to move.
Ref: www.phpmysql.info/content/ch/en/viewcart.php (sitemap link)

Danke,
Sean

P.S. - what has happened with the site. The tables don't all line up anymore?

freakyclean
09-03-2004, 07:22 AM
if the nav is in it's own div can't you just change the coordinates? You could setup a class for each different position and just change class for the div.

Which menu is going to be drop down?


Right now your tables are changing size depending on which page you choose (firefox). For example if you click on "anti-decubitus" there is a white line to the right of the woman/pillow pic but if you click new products it is fine (no line).

:)

Octane
09-06-2004, 08:37 AM
yea, i can change the coordinates, but i don't know what the co-ordinates are going to be on a given page ... isn't there a way to anchor the div to something within the page?

Not sure about this white line ... have to look into that, but i know that there are some pages that get messed up because of the size of some of the german words.

freakyclean
09-06-2004, 11:49 AM
Use relative positioning instead of absolute. It will position the div based on the HTML container. So if you have the DIV in a table cell it will position the div using the table cell as 0,0 and offset any top and left attribute from there. Whereas if you use absolute positioning then it will use the top left of the window as 0,0

:)

Octane
09-08-2004, 01:19 AM
ok, thanx