|
Why does there have to be an OR involved?
i do believe there is something in the CSS specification that states it can be both at the same time.
|
|
|
|
|
#twat, #c__t
{
paranoia: 100%;
iq: 69;
}
I'd have made those apply to classes rather than ID's, but it's clear that CSS has no class. That's not a problem, however... elements can be stacked and nested. It's just a shame that they don't add up to much.
|
|
|
|
|
Dalek Dave wrote: I can't decide if he is a twat or a C##t.
Both!
Twunt!
|
|
|
|
|
That sir, is my new favorite word!
If the post was helpful, please vote, eh!
Current activities:
Book: Devils by Fyodor Dostoyevsky
Project: Hospital Automation, final stage
Learning: Image analysis, LINQ
Now and forever, defiant to the end.
What is Multiple Sclerosis[ ^]?
|
|
|
|
|
There is the possibility of some pleasure implied in both of those, no matter the pain required to get to it.
Opacity, the new Transparency.
|
|
|
|
|
While the nuances of the difference between them escapes me, I do believe that either comparison elevates his persona to a level above his reach. Indeed, many of the happiest moments of my life have been spent between the labia described by both terms, and I can't recall a single moment of pleasure spent in his cyber-company.
I think that you owe the generative orifices of slightly more than half the world's population an apology for making such an unjust comparison.
Now, if you wish to make reference to rectal sphincters in this connection, I have no objection whatsoever - carry on!
"A Journey of a Thousand Rest Stops Begins with a Single Movement"
|
|
|
|
|
This is going to be popular from the lounge and back room. A whole forum for poking fun at CaptainSeeSharp.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
My blog | My articles | MoXAML PowerToys | Onyx
|
|
|
|
|
You mean another one?
L u n a t i c F r i n g e
|
|
|
|
|
What is your question, Sir?
|
|
|
|
|
Hello Friends
I created a java applet based application and for that In my html Page I am checking either java is installed or not on client machine and then after that if not then it asks for installation.
Now the problem is that It is not asking in IE6(am using tht) but in firefox a pop is coming and asking for installation.
I enabled Browser Settings of ActiveX for IE through Internet options.
Do I need to make some other settings?Or any other Ideas to make it workable.
Thanks In Advance.
Regards
Yogesh
|
|
|
|
|
So,No Ideas related to this.?
Thanks & Regards
Yogesh
modified on Thursday, July 22, 2010 3:56 AM
|
|
|
|
|
Hi, I am trying to render table with ajax when in MS SQL DB data from the table changes, and I found, there is some server side event for <f:ajax> ,but I can`t find how to use it ,if is it possible somehow , thanks
<f:ajax event="some server in db change event" render="table1" >
<p:dataTable id="table1" var="user" value="#{conectedTable.list}" rows="10" paginator="true" >
<p:column>
<f:facet name="header">Login</f:facet>
#{user.login}
</p:column>
<p:column>
<f:facet name="header">First Name</f:facet>
#{user.firstName}
</p:column>
<p:column>
<f:facet name="header">Last Name</f:facet>
#{user.lastName}
</p:column>
<p:column>
<f:facet name="header">Last activity</f:facet>
<div> #{user.logTime}</div>
</p:column>
<p:column>
<f:facet name="header">Rola</f:facet>
#{user.role}
</p:column>
</p:dataTable>
modified on Tuesday, July 20, 2010 9:46 AM
|
|
|
|
|
hii....
I want to display my image on mouseover in a div tag
thanx in advance
|
|
|
|
|
Hi ahmad25,
Just try little googling[^] you will surely get very good answer easily.
Because it is very common scenario to achieve.
HTH
Jinal Desai - LIVE
Experience is mother of sage....
|
|
|
|
|
Hello,
I have the following file called index.html
<!DOCTYPE html>
<html>
<head>
<title>HTML 5 and SVG Test</title>
<script type="text/javascript">
document.onmousemove = MoveRectangle;
function MoveRectangle(event)
{
var rect = document.getElementById("mytestrectangle");
var ev = event || window.event;
rect.x = ev.pageX;
rect.y = ev.pageY;
alert("x" + ev.pageX + "y" + ev.pageY);
}
</script>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<embed id="mysvg" src="test.svg" width="800" height="600" type="image/svg+xml" pluginspage="http://www.adobe.com/svg/viewer/install/" />
</body>
</html>
and this code in another file called test.svg
<svg width="100%" height="100%"
xmlns="http://www.w3.org/2000/svg">
<rect id="mytestrectangle" width="300" height="100"
style="fill:rgb(255,0,255);stroke-width:1;
stroke:rgb(0,0,255);fill-opacity:0.9;"/>
<polygon points="0,0 100,100 170,250 20,10"
style="fill:#cccccc;
stroke:#000000;stroke-width:1"/>
</svg>
now what i am tring to do is from the file index.html try to access the element called "mytestrectangle" that is in the file test.svg. But I am incliding this file in index.html via the embed object. Is there a way I can access that element via javascript from the index.html page?
hope i expained clear what i need.
Thank you in advance for the help.
|
|
|
|
|
Well, I do not found any way to access elements that reside in
file you have used in embed tag.
However, you can access embed object as whole like
<html>
A Circle
<embed src="circle123.gif" name="circle">
A Square
<embed src="square123.gif" name="square">
<script language="JavaScript">
<!--
document.write(document.embeds.length," embedded objects.");
-->
</script>
</html>
HTH
Jinal Desai - LIVE
Experience is mother of sage....
|
|
|
|
|
|
My Pleasure.
Jinal Desai - LIVE
Experience is mother of sage....
|
|
|
|
|
The size of the image i'm using in the background for <a> element is of width:130px and height:25px. Since <a> element is within <li> and it will act as menus.
The problem is that when i run my sorce, the image gets displayed according to the contents of the <a>. How to set the background image for all <a> with width:130px and height:25px.
My html code is :
*****************
<html>
<head>
<meta name="GENERATOR" content="Microsoft FrontPage 6.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Try Web Page</title>
<link type=text/css rel=stylesheet href=css/style.css>
</head>
<body>
<div id="container">
<div id="top">
<div id="header">Inside Header Top Container</div>
<div id="nav">
<UL>
<li><a href=#>Home</a></li>
<li><a href=#>About Us</a></li>
<li><a href=#>References</a></li>
<li><a href=#>Contact Us</a></li>
</UL>
</div>
</div>
<div id="main">
<div id="left">Inside Left Main Container</div>
<div id="right">Inside Right Main Container</div>
</div>
<div id="footer">Inside footer Container</div>
</div>
</body>
</html>
CSS Part of code is:
********************
#nav
{
text-align:center;
}
#nav ul
{
list-style-type:none;
}
#nav li
{
width:200px;
border:1px solid red;
display:inline;
}
#nav a
{
background-image:url("../images/leftlinkbg1.jpg");
background-repeat:no-repeat;
text-decoration:none;
}
|
|
|
|
|
|
Thanks Desai,
I tried with but failed.
#nav a
{
background-image:url("../images/leftlinkbg1.jpg");
background-repeat:no-repeat;
text-decoration:none;
width:130px;
height:25px.
}
is also not working.
Blinking what to do further. Also, if i download any sample which contains background-image set for html elements in external stylesheet, is working fine. But when i try to code myself the same sample set with background-image property, It is not working. IF i copy and paste the same code, it is working fine. Also when i do hand-code the sample, differences occurs from browser to browser. How to overcome it too.
M.Sworna Vidhya
|
|
|
|
|
You can't set the width or height of inline elements like <a> , so you need to add display: block . Adding float: left to the <li> makes the blocks line up horizontally, and overflow: auto in the <ul> prevents items after the list flowing to the right of it.
#nav ul
{
list-style-type: none;
overflow: auto;
}
#nav li
{
width: 200px;
border: 1px solid red;
display: block;
float: left;
}
#nav a
{
background-image: url("../images/leftlinkbg1.jpg");
background-repeat: no-repeat;
text-decoration: none;
width: 130px;
height: 25px;
display: block;
}
|
|
|
|
|
Thank you. It works for me.
M.Sworna Vidhya
|
|
|
|
|
use this javascript code, but this gives following error:
"'mappedimg' is an unexpected token. Expecting white space. Line 1, position 27."
code is here:
<body onLoad='LoadImgMap('mappedimg','cng');ChangeMappedImgSize('fitinframe','mappedimg');' onResize='LoadImgMap('mappedimg','cng');ChangeMappedImgSize('fitinframe','mappedimg');'>";
thanx in advance
|
|
|
|
|
Instead of your line try following line.
<body onLoad='LoadImgMap("mappedimg","cng");ChangeMappedImgSize("fitinframe","mappedimg");' onResize='LoadImgMap("mappedimg","cng");ChangeMappedImgSize("fitinframe","mappedimg");'>
See that I have converted all the single quote inside the outer single quote into double quote
so that it will interpret your arguments that you have passed inside the function correctly.
HTH
Jinal Desai - LIVE
Experience is mother of sage....
|
|
|
|