maxelcat
Technical User
- Oct 19, 2006
- 79
Dear All
Have read the sonofsuckerfish article and putting it to use.
So thanks for that.
Here's a question though. Please look at
I want to pull down the visible drop down menus so that they line up with the base of the word "Maxelcat". Currently they sit along the top.
I have tried doing this by using absolute positioning. I made the overall wrapper position:relative and then put a div id="navwrapper" with position absolute inside it. this is at
In FF and NS it looks ok except that when I enlarge the fonts they begin to merge with the content underneath - which I wnat to avoid. In IE the menus have just disappeared.
Is there another way to bring this menu down so that it lines up nicely, and when the fonts are enlarged they stay separate. I am beginning to link that using a table might be easier!!!!!
Would appreciate any pointers
Edward
Have read the sonofsuckerfish article and putting it to use.
So thanks for that.
Here's a question though. Please look at
I want to pull down the visible drop down menus so that they line up with the base of the word "Maxelcat". Currently they sit along the top.
I have tried doing this by using absolute positioning. I made the overall wrapper position:relative and then put a div id="navwrapper" with position absolute inside it. this is at
In FF and NS it looks ok except that when I enlarge the fonts they begin to merge with the content underneath - which I wnat to avoid. In IE the menus have just disappeared.
Is there another way to bring this menu down so that it lines up nicely, and when the fonts are enlarged they stay separate. I am beginning to link that using a table might be easier!!!!!
Would appreciate any pointers
Edward
Code:
/* CSS Document */
html, body, ul, li, h1 {
margin:0px;
padding:0px;
}
#wrapper {
margin:0px auto;
padding:0px;
width:730px;
border:1px solid green;
position:relative;
}
#navwrapper {
position:absolute;
top:50px;
left:0px;
z-index:100;
border:2px red solid;
}
#nav, #nav ul {
padding:0;
margin:0;
list-style:none;
}
#nav a {
display:block;
width:10em;
}
#nav li {
float:left;
width:10em;
}
#nav li ul {
position:absolute;
width:10em;
left:-999em;
}
#nav li:hover ul {
left:auto;
}
#nav li:hover ul, #nav li.sfhover ul {
left:auto;
}
.imageright {
float:right;
}
/*a small hack to get the border to fit past the floated things see [URL unfurl="true"]http://www.complexspiral.com/publications/containing-floats/*/[/URL]
.clearer {
clear:both;
line-height:0;
height:0;
}
#content {
border:2px yellow solid;
margin-top:20px;
padding:10px;
}