TALES
05-08-2011, 10:28 PM
Hello all,
Im new to this forum and i like the website alot with the css stuff.
Im very new to css so dont be hard on me :) I have been playing around with http://www.dynamicdrive.com/style/csslibrary/item/clean_arrow_underline_menu/ and im hoping that im the first with this look. i did not look around further if thats the case. i was already happy it looked new to me.
And come up with this:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="nl">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="" />
<meta name="description" content="" />
<title>CSS Layout</title>
<style type="text/css">
* {
margin:0;
padding:0;
}
html {
font-size: 16px;
}
#trianglesmiddle ul{
border: none;
list-style: none;
}
#trianglesmiddle li {
margin: 0;
}
#trianglesmiddle li a{
display: block;
color: #fff;
text-decoration: none;
width: 100%;
}
html>body #trianglesmiddle li a{ /*Non IE6 width*/
width: auto;
}
#trianglesmiddle li a:hover{
height:18px;
background-color: blue;
color: #fff;
}
#trianglesleft{
clear: left;
width:0;
height:0;
background-color: #FFF;
border-color: transparent blue transparent transparent;
border-style: double;
border-width: 10px;
float: left;
}
#trianglesright{
width:0;
height:0;
background-color: #FFF;
border-color: transparent transparent transparent blue;
border-style: double;
border-width: 10px;
float: left;
}
#trianglesmiddle{
width:110px;
height:18px;
background-color: #09C;
border-color: blue;
border-style: solid;
border-width: 1px;
float: left;
}
</style>
</head>
<body>
<div id="trianglesleft"></div>
<div id="trianglesmiddle">
<ul>
<li><a href="http://www.dynamicdrive.com/">Dynamic Drive</a></li>
</ul>
</div>
<div id="trianglesright"></div>
<div id="trianglesleft"></div>
<div id="trianglesmiddle">
<ul>
<li><a href="http://www.dynamicdrive.com/style/">CSS Examples</a></li>
</ul>
</div>
<div id="trianglesright"></div>
<div id="trianglesleft"></div>
<div id="trianglesmiddle">
<ul>
<li><a href="http://www.javascriptkit.com/jsref/">JavaScript Reference</a></li>
</ul>
</div>
<div id="trianglesright"></div>
<div id="trianglesleft"></div>
<div id="trianglesmiddle">
<ul>
<li><a href="http://www.javascriptkit.com/domref/">DOM Reference</a></li>
</ul>
</div>
<div id="trianglesright"></div>
<div id="trianglesleft"></div>
<div id="trianglesmiddle">
<ul>
<li><a href="http://www.cssdrive.com">CSS Drive</a></li>
</ul>
</div>
<div id="trianglesright"></div>
<div id="trianglesleft"></div>
<div id="trianglesmiddle">
<ul>
<li><a href="http://www.codingforums.com/">Coding Forums</a></li>
</ul>
</div>
<div id="trianglesright"></div>
</body>
</html>
I bet you experts can code this much better then me.
Some how this works in chrome and i have been tying to look at this in IE but somehow IE dont like the CSS what i coded its all messed up.
My guestion is this something new and can this be coded better?
greets,
TALES
Im new to this forum and i like the website alot with the css stuff.
Im very new to css so dont be hard on me :) I have been playing around with http://www.dynamicdrive.com/style/csslibrary/item/clean_arrow_underline_menu/ and im hoping that im the first with this look. i did not look around further if thats the case. i was already happy it looked new to me.
And come up with this:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="nl">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="" />
<meta name="description" content="" />
<title>CSS Layout</title>
<style type="text/css">
* {
margin:0;
padding:0;
}
html {
font-size: 16px;
}
#trianglesmiddle ul{
border: none;
list-style: none;
}
#trianglesmiddle li {
margin: 0;
}
#trianglesmiddle li a{
display: block;
color: #fff;
text-decoration: none;
width: 100%;
}
html>body #trianglesmiddle li a{ /*Non IE6 width*/
width: auto;
}
#trianglesmiddle li a:hover{
height:18px;
background-color: blue;
color: #fff;
}
#trianglesleft{
clear: left;
width:0;
height:0;
background-color: #FFF;
border-color: transparent blue transparent transparent;
border-style: double;
border-width: 10px;
float: left;
}
#trianglesright{
width:0;
height:0;
background-color: #FFF;
border-color: transparent transparent transparent blue;
border-style: double;
border-width: 10px;
float: left;
}
#trianglesmiddle{
width:110px;
height:18px;
background-color: #09C;
border-color: blue;
border-style: solid;
border-width: 1px;
float: left;
}
</style>
</head>
<body>
<div id="trianglesleft"></div>
<div id="trianglesmiddle">
<ul>
<li><a href="http://www.dynamicdrive.com/">Dynamic Drive</a></li>
</ul>
</div>
<div id="trianglesright"></div>
<div id="trianglesleft"></div>
<div id="trianglesmiddle">
<ul>
<li><a href="http://www.dynamicdrive.com/style/">CSS Examples</a></li>
</ul>
</div>
<div id="trianglesright"></div>
<div id="trianglesleft"></div>
<div id="trianglesmiddle">
<ul>
<li><a href="http://www.javascriptkit.com/jsref/">JavaScript Reference</a></li>
</ul>
</div>
<div id="trianglesright"></div>
<div id="trianglesleft"></div>
<div id="trianglesmiddle">
<ul>
<li><a href="http://www.javascriptkit.com/domref/">DOM Reference</a></li>
</ul>
</div>
<div id="trianglesright"></div>
<div id="trianglesleft"></div>
<div id="trianglesmiddle">
<ul>
<li><a href="http://www.cssdrive.com">CSS Drive</a></li>
</ul>
</div>
<div id="trianglesright"></div>
<div id="trianglesleft"></div>
<div id="trianglesmiddle">
<ul>
<li><a href="http://www.codingforums.com/">Coding Forums</a></li>
</ul>
</div>
<div id="trianglesright"></div>
</body>
</html>
I bet you experts can code this much better then me.
Some how this works in chrome and i have been tying to look at this in IE but somehow IE dont like the CSS what i coded its all messed up.
My guestion is this something new and can this be coded better?
greets,
TALES