If' I use XHTML 1.0 Strict currently then should i leave to use those XHTML Elements/Tags/Attributes which will not in HTML 5 spec.? if I'm using
<acronym> and <big>
If We are using table for to show tabular data and if we would give width and height to <table> then will it load quickly? will page loading speed improved of table?
How to explain CSS Float in general language (not Programming) ? Is there any real life example to take a example to explain CSS Float?
Is there any Slideshow in very simple way to explain float?
What is the difference between "Wordpress Theme" and Wordpress Theme Frameworks? In terms of technicalities, Custom theme making workflow, File and folder structure, Anatomy.
Wordpress default theme Vs Wordpress theme's framework's Child theme
Why same website looks different in different browser.
Differently styled HTML elements in all browser's default css is the only factor for the different looks in different browser of website?
Is there any other factors related to cross browser compatibility?
When to use <strong> and when to use <b> or other ways to give look of bold? strong has semantic value ( and useful for screen reader while b is presentation (and even valid in HTML 5).
my question is not what is the difference between strong and b.
The question is when to use semantic tag and when to use just to make text bold
Should I always use <strong> if client's content files (MS word files) has some words bold in content paragraphs?
How can we know when client want to give emphasis to text and when he just want to make text bold for presentation/aesthetic purpose?
If it's client job to tell us, then how to explain this scenario to client to give us clear info on "when he just want to make text bold for presentation/aesthetic purpose" ?
what are cons to use relative values em and % for fonts, What is rounding problem? and how to avoid/solve rounding problem. Is there any calculator?
How to use relative values as easy as we use px
I made a css menu with css sprites but the problem is with sprite we don't use inline image we use in background only so if images are disabled in browser then nothing will show . any solution for this ?
For example :
See this menu and turn off images : http://line25.com/wp-content/uploads/2009/css-menu/demo/demo.html
What is Logically correct and W3C valid way to clear float?
zoom:1 is not valid by W3C and IE8 don't have hash layout problem
overflow:hidden and overflow:hidden
were not made to do this,as the spec
intended overflow to be used
<div class="clear"/> is not
semantically correct and i don't want to add extra markup.
clearfix hack generates content that
really hasn’t any semantic value.
I've asked many questions and read many articles on this issue but haven't find best way.
Are all fonts size would be same with same value?
for example p { font-family:Arial; font-size:12px}
if i change Arial to any other font then will all fonts will render in same size as Arial render in 12px, in all browser?
What are pros and cons to define font-size for body?
what if somewhere i will need font smaller and bigger than body?
will i get body font size (12px) + needed font size for <p> (10px) = 22
Should we always keep same value for body font size which we want to use content paragraph?
How many percentage of desktop users?
How many percentage of mobile, ipad, iphone users?
and is there any other devices to access website which do not support JavaScript?
Is JavaScript also a problem for screen reader users?
Who will take benefit if we make things without JavaScript or we give non-JavaScript version?
Who will take benefit of graceful degradation? Desktop users, mobile users, screen reader users?
Is it worth to give time for graceful degradation?
Is WCAG 2.0 do not prefer to use Javascript?
Why anyone will like to surf net without JavaScript?
Is there any good tutorials to convert HTML+ CSS to wordpress? not PSD 2 HTML? I mean if
HTML CSS is available wejust need to convert a XHTML CSS template to installable Wordpress 3.0 Theme? I'm not talking about PSD 2 HTML.
For example this is free CSS template http://www.freecsstemplates.org/preview/regeneracy/ I just want to download it and convert this css template into Wordpress 3.0 installable theme.
It works
var tip = "<p>Most computers will open PDF documents automatically, but you may need to download <a title='Link to Adobe website-opens in a new window'";
tip +=" href='http://www.adobe.com/products/acrobat/readstep2.html' target='_blank'>Adobe Reader</a>.</p>";
if($("div#maincontent a[href*='.pdf']").length>0){
$("div#maincontent").children(":last-child").after(tip);
but it not
var tip = "<p class="adobe-reader-download">Most computers will open PDF documents automatically, but you may need to download <a title='Link to Adobe website-opens in a new window'";
tip +=" href='http://www.adobe.com/products/acrobat/readstep2.html' target='_blank'>Adobe Reader</a>.</p>";
if($("div#maincontent a[href*='.pdf']").length>0){
$("div#maincontent").children(":last-child").after(tip);
In this form code what is the role of name="" attribute?
name="s" and name="submit".
Is it necessary to add?
<form action="/index.php" method="get">
<fieldset>
<legend>Search</legend>
<label for="s"><span>Search WaSP</span>
<input value="" name="s" id="s"></label>
<input type="submit" value="Go!" name="submit" >
</fieldset>
</form>
I was just trying first time how ratio calculation works of sIFR 3 using sifr-debug.
I'm using.
<script src="sifr.js" type="text/javascript"></script>
<script src="sifr-debug.js" type="text/javascript"></script>
http://jitendravyas.com/sifr3/
If I'm going to learn programming first time, How i should start?
I don't know programming yet but I'm good at XHTML and CSS. my main aim is to learn first Javascript than second PHP. after having good command in Javascript I'll move to PHP.
Although i can use basic javascript, jquery, PHP scripts in my projects but know i want to learn programming concept and want to get good knowledge.
What are cons if we do not care about validation of XHTML and CSS?
In terms of development time,
Code debugging,
Cross browser compatibility,
website maintainability,
Future changes in website,
SEO ranking
Accessibility (Does validity increase
accessibility)
I have to explain a client that Code validation is not just Fashion, it is beneficial for his site.
Should we use <label> for every input? , even for submit button and keep hidden thorough css if we don't want to show label.
or no need of label for submit button?
.hide {display:none}
<fieldset>
<legend>Search</legend>
<label for="Search">Search...</label>
<input value="" id="Search" name="Search">
<label for="Submit" class="hide">Submit</label>
<input type="submit" value="Go!" name="submit" id="submit">
</fieldset>
or we should use like this (no label for submit)
<fieldset>
<legend>Search</legend>
<label for="Search">Search...</label>
<input value="" id="Search" name="Search">
<input type="submit" value="Go!" name="submit" >
</fieldset>