Style sheets

windows

Guest
k i dunno if this is possible but here is what i want to do:<br />
<br />
basically...you know what an unselectable item in a window menu looks like?<br />
<br />
for example if you were to go up to "file" and then look at the menu, some of the items in there might be "unselectable" and look like they are sorta embedded in the menu? basically its just a darker font over top a light colored font<br />
<br />
hopefully you know what i mean...is that possible to do with style sheets? and if so how do i do this<br />
<br />
thanks<br />
chris<!--content-->like this<!--content-->you'll want JavaScripting for that. stylesheets can't dig that deep into your browser.<br />
<br />
i'm not sure how it's done, either, but i've seen it on sites that have "view source" greyed out. man, would i ever like to see the source code on that!<!--content-->sorry. i didn't mean that it would make the browser do it..<br />
<br />
i want it to do it on some text on my site<!--content-->for that you would use layers to position elements.<br />
<br />
for example:<br />
<br />
<html><br />
<head><br />
<title>fake menu</title><br />
<style><br />
body {background-color: red; color: black}<br />
.bottom {color: white}<br />
.top {position: relative; bottom: 1px; right: 90px; color: gray}<br />
.top2 {position: relative; bottom: 1px; right: 71px; color: gray}<br />
.top3 {position: relative; bottom: 1px; right: 120px; color: gray}<br />
.top4 {position: relative; bottom: 1px; right: 121px; color: gray}<br />
.top5 {position: relative; bottom: 1px; right: 26px; color: gray}<br />
table {background-color: silver; border-width: 2px; border-style: solid; border-color: white gray gray white}<br />
</style><br />
</HEAD><br />
<BODY><br />
<table><br />
<tr><br />
<td><br />
New Document<br><br />
<font class="bottom">check this out!</font><br />
<font class="top">check this out!</font><br />
<br><br />
<font class="bottom">it's a menu!</font><br />
<font class="top2">it's a menu!</font><br />
<hr><br />
<font class="bottom">you have to tweak it</font><br />
<font class="top3">you have to tweak it</font><br><br />
a lot<br />
<br><br />
<font class="bottom">it's a pain in the ass</font><br />
<font class="top4">it's a pain in the ass</font><br />
<hr><br />
<font class="bottom">exit</font><br />
<font class="top5">exit</font><br />
</td><br />
</tr><br />
</table><br />
</body><br />
</html><!--content-->
 
Back
Top