There are only 2 files, their contents are displayed below. If someone can provide a Standards Compliant solution then I'd be grateful.
I'm not in a rush so take your time, I'll put the sitemap in ajax later hence the noscript list.
Code:
@media screen
{
html, html *
{
margin: 0px;
outline: none;
padding: 0px
}
ul
{
padding: 5px;
padding-left: 20px
}
a, label, input, button
{
border-width: thin;
display: inline-block;
font-size: medium
}
html
{
overflow: auto
}
body
{
position: relative
}
/* Navigation */
/* - Default as List */
#n
{
position: absolute;
top: 0px;
left: 0px
}
/* - Not IE6 or below */
#nav > #n { position: static }
#n > ul
{
display: block;
font-size: 2pt;
text-align: justify
}
#n > ul *
{
font-size: medium
}
#n > ul a
{
text-decoration: none
}
#n > ul > li
{
position: relative;
display: inline-block;
list-style: none;
white-space: nowrap
}
#n > ul > li.last
{
font-size: 2pt;
width: 100%
}
#ie7 #n > ul > li
{
/* Workaround */
display: inline
}
#ie7 #n > ul
{
}
#n > ul ul
{
background: #fff;
border: #000 solid thin;
border-radius: 5px;
display: none;
position: absolute;
top: 5px;
left: 90%
}
#n > ul > li > ul
{
top: 90%;
left: 5px
}
#n > ul li:hover > ul
{
display: block
}
#search > form { display: inline-block }
}
Never mind, going for alternative method.
I'm blocking everything below IE8 with a conditional comment and everything else get's the id "w3" applied to the body tag allowing me to specify non-ie browsers instead.
Making some re-writes of the CSS, then I will post my new code for anyone interested.
Note: this will go on hackerex.free when it is available, just go to sourceforge if you what to know the details.
Well here is my current solution.-Ignore the colour scheme, I'm using it for clarity while I build the site - will change once I've got the fundamentals in.
Again only 2 files, will be more once I sort out other stuff.
Bookmarks