I've a <table> which has 10 column and 10 row i want to give different background to 1st and and 3rd column and another different background color to 8th row . is it possible without css class/id
I want to submit this form through PHP. with validation for required field and validation for phone number and email field also
<form action="" method="" id="get-protected">
<div class="row requiredRow">
<label for="txt_FirstName">
First Name</label>
<input id="txt_FirstName" type="text" class="required" title="First Name. This is a required field" />
</div>
<div class="row">
<label for="txt_LastName">
Last Name</label>
<input id="txt_LastName" type="text" title="First Name. This is a required field" />
</div>
<div class="row">
<label for="txt_Phone">
Phone</label>
<input id="txt_Phone" type="text" title="First Name. This is a required field" />
</div>
<div class="row requiredRow">
<label for="txt_Email">
Email</label>
<input id="txt_Email" type="text" class="required" title="Email. This is a required field" />
</div>
<div class="row">
<input type="submit" value="" class="button" />
</div>
</form>
Is it possible to make this box's corner round with same html tags. without using any other tag. but i can use css classes. and box height should be depend on content of <p>grr</p>
<h2>Nulla Facilisi</h2>
<p>
Phasellus at turpis lacus. Nulla hendrerit lobortis nibh.
In lectus erat, blandit non feugiat vel, accumsan ac dolor.
Etiam et ligula vel tortor tempus vehicula porttitor ut ligula.
Mauris felis odio, fermentum vel
</p>
Is it possible to make this box's corner round with same html tags. without using any other tag and border-radius property. but i can use css classes and background images. and box height should be depend on content of <p>grr</p>
<h2>Nulla Facilisi</h2>
<p>
Phasellus at turpis lacus. Nulla hendrerit lobortis nibh.
In lectus erat, blandit non feugiat vel, accumsan ac dolor.
Etiam et ligula vel tortor tempus vehicula porttitor ut ligula.
Mauris felis odio, fermentum vel
</p>
Edit : What is the best possible way to achieve this without css border-radius property which is not supported by internet explorer?
After completing a XHTML , CSS project , and Even client is happy, should I try to optimize my HTML, CSS code if there is any scope?
If yes then how to more improve and optimize code and what things can/should be optimized?
Should i optimize to get lowest file size or i should optimize code for better readability?
Hello Guys,
I am working some ObservableCollection converting to lembda it will give me error
this is my actual code .
foreach (var item in Query)
{
userDetail.Add(new UserDatail(item.ID,item.Name, item.Address, item.City, item.Pin, item.Phone));
}
and I am try to add as lembda
Query.ToList().ForEach(x => userDetail.Add(x.ID,x.Name,x.Address,x.City,x.Pin,x.Phone));
This will give me error.
Thanks..
How to add title of link as a alt of img. using regex and in dreamweaver. I have to do in a large document. and in multiple files
Before
<a title="Whatever is written here" href="#" target="_blank">
<img width="14" height="14" src="#" /></a>
after
<a title="Whatever is written here" href="#" target="_blank">
<img width="14" height="14" src="#" alt="Whatever is written here" /></a>
Hello every one I am trying to add color in c# code with color code
for eg ..
ListTreeView.Background = "#FFE7EFF2";
but this will give me error ;
so what can I do tell me ..
Thanks....
Hello Everybody,
I am using Linq query and call method Like..
oPwd = objDecryptor.DecryptIt((c.Password.ToString())
it will return null value.
Means this will not working.
how I Resolve this.
Thanks..
var q =
from s in db.User
join c in db.EmailAccount on s.UserId equals c.UserId
join d in db.POPSettings on c.PopSettingId equals d.POPSettingsId
where s.UserId == UserId && c.EmailId == EmailId
select new
{
oUserId = s.UserId,
oUserName = s.Name,
oEmailId = c.EmailId,
oEmailAccId = c.EmailAccId,
oPwd = objDecryptor.DecryptIt(c.Password.ToString()),
oServerName = d.ServerName,
oServerAdd = d.ServerAddress,
oPOPSettingId = d.POPSettingsId,
};
for example. if i want to quickly wrap anything by this in once.
<div class="one">
<div class="two">
anything can be here - content, other html tag etc.
</div>
</div>
How to show mouseover tooltip on selected word on web page using javascript? i want to set some conditions
For example:
If page has text <p> I'm Web Designer </p> inside <div id=example> then it should show tool tip on Designer but tooltip should not be shown for designer without adding any span to Designer and designer. i want to select autuomatically
I have to set include and exclude keywords to pick, or notpic tool tip . and matter of all tooltips for all i want to write in another html file not in same page.
Today i found a good example to make whole div clickable in coolway.
http://is.gd/b9xQm
Is there a way to make this effect compatible with Screen-reader and keyboard user and even at least accessible if JS disabled (using css hover).
Atleast link should be shown somewhere if JS is disabled.
Everyone, every blog is talking about HTML 5 and giving solution to use HTML in all browsers including IE6.
Should we leave XHTML 1.0 now and go
for HTML 5 and use JavaScript for IE6 support?
Does all other desktop/mobile browser
except IE6 supports HTML 5 without
adding JavaScript?
Will every browser render CSS written
for HTML 5 elements?
What about Screen- readers?
What are pros and cons to choose HTML 5 for all new projects?
I want to make a cross-browser (FF3, IE6, Safari, Opera), W3C valid (HTML and CSS both), stretchable (horizontally vertically), without JavaScript and with Semantic and lesser HTML markup Round CORNER. Images can be used for IE6.
I've tried and tested many techniques available on community. But everything has one of the problems mentioned above . If anyone knows what I want please share with me?
Remember I want to make it without any type of JavaScript, jquery or any type of js.
I have to show like
(a)
(b)
(c)
Update:
I found a CSS way
ol {list-style-type: none;}
li:before {content: "(" counter(section, lower-alpha) ") ";}
li { counter-increment: section;}
but it not works in IE 7 and lower.
How to enable support of counter in all other browsers using jquery which do not support natively.?
What are cross-platform and cross browser and license free/Open source framework to create Touch/Multitouch based Web apps/site using HTML/CSS/JS, for mobile devices, specially for latest versions of Android, Blackberry, Windows 7, iphone and ipad available? For desktop websites I'm a jQuery lover.
I know Sencha but it's not free I think.
I know jQtouch but it's only for iPhone and I also know jquery mobile but I'm not cofirm, is it as powerful as Sencha? It's not necessarily for me to go with jquery mobile, if there are another better framework available than this
I want to make compatible with Android, Blackberry, Windows 7 also. not only for iphone and ipad.
How to get consistence rendering of paragraph text in all browsers?
See IE 7 rendering like this
and FF like this . which is ok to client
How to get same result in both browsers, i mean FF rendering in IE? my client needs "non-executive" in same line in all browsers, Is <br /> only solution of this.
Update : see all code for <p> here http://easycaptures.com/fs/uploaded/248/4505395091.jpg
I'm already using XHTML 1.1 doctype and eric meyer reset CSS
Update: 28 March
Thanks for all replies!
I tested this problem is only not coming on firefox . but coming in all other browser IE6, 7, 8, Safari(windows), Google Chrome.
Is there any possibility css only solution now?
if IDE by default adding ; at end. should i remove?
selector {property:value;property:value;property:value;property:value;}
I read on an article semicolon not required at end.
Why do browser vendors make their own
css properties, even they know these
will not pass the w3c validation?
What is the purpose? Is for their own
testing, or for web developers, or to
demonstrate browser capabilities
to the world and to the W3C organizations
and to CSS development team of W3C?
is it like a beta version of
demonstration?
if i use any browser specific for now
can they remove that property's
support from future versions.will i have to edit my css in future
For example:
https://developer.mozilla.org/en/CSS_Reference/Mozilla_Extensions
If I'm alreadu using jquery library on site then should i use origional sifr or jquery plugin.
What are cons to use jquery sifr plugin over origional sifr 3?
jQuery sIFR Plugin
http://jquery.thewikies.com/sifr/known-issues
What is target="_new"? validator giving error..
How to do this with jquery bcoz Validator giving error
on same page i have
target="_new" and target="_blank"
target="_new" is in that form code which i received from email newsletter company
I'm using this for target="_blank"
$(function() {
$('a[href^=http]').click( function() {
window.open(this.href);
return false;
});
});
What should i do for target="_new"