|
By the way I didn't change the base table to be centered on only some columns rather than all (as you proposed) since several tables rely on the same css and some need all (cols 1 to n) to be centered, some need only col 1 to be left, some need cols 1-n to be left. So I figured the most effective way was to make everything centered and then add specific css for tables with columns that need to be left.
Let me know if I've totally missed the point of your suggestion since clearly I've done the reverse of your methodology for the reasons above.
Mike
|
|
|
|
|
Referencing my :nth-child(n+2) the (n+2) adjust according to your needs, but you need to ensure that the hierarchy is correct, but ...
Mike-MadBadger wrote: So I figured the most effective way was to make everything centered and then add specific css for tables with columns that need to be left.
That certainly will work and you wont have to worry if browsers are css3 compliant, and if your problem is solved, then fine
modified 1-Aug-19 21:02pm.
|
|
|
|
|
Make a <TR> Tag and then put <TD> tags in it... set align property of first three as Left, and rest as center..
Your Job Done
- Happy Coding -
Vishal Vashishta
|
|
|
|
|
hey SEOs!!! can anyone tell me that exactly hidden links are?? how they are placed in coding script?
Does they effects the rankings in anyway??
Thanks is advance..!!
|
|
|
|
|
|
there are a lot of ways to hide links but there's only 2 major approaches: by means of css and by means of cloaking (showing links only for google bots)
|
|
|
|
|
If SEO is your goal then hiding links is one of the worst things to do and will get your site penalized into oblivion.
The only valid reason for hiding links is when you have links in flash or image maps, as some bots don't parse these correct. This usage will also not have heavy penalties.
|
|
|
|
|
I'm not sure if this is the same thing but in 'the old days' some web site owners would add lots of Anchor Text (links) including their keywords and hide them from humans (by using say white text on a white background) so search engine spiders could see them but they weren't viewable on the page.
- Happy Coding -
Vishal Vashishta
|
|
|
|
|
I believe this question will involve AJAX, jQuery, PHP, and sessions. I've tried for days and can't crack this. Starting fresh after many walks.
I simply want a form with a dropdown box that does NOT refresh/reload the screen. Saves the selection as a SESSION and "selects" or highlights the dropdown choice based on the session they just set.
So in a nutshell...
- Client selects the option (must use onchange event instead of clicking submit)
- using jQuery / AJAX this helps to prevent the page from reloading (correct?)
- dropdown choice is "remembered" because it uses the session to compare and "selects" it.
- Also able to echo / print the session on the same page.
I'm going to be using this simple example in multiple steps of an ordering form which uses check boxes, radios, input boxes, and dropdown menu.
If anyone knows of a simple example using a dropdown box, that would get me started.
The attempts I had before would only set a session using the first or last of the dropdown list instead of the one chosen.
|
|
|
|
|
how to make most recent content for website in asp.net.
and how to make most clicked/hit news is depend for user .
|
|
|
|
|
HTML5 and Javascript is able to create really good dynamic page. Is asp.net still usefull if I am a good HTML5 and Javascript designer ?
|
|
|
|
|
Yes, why wouldn't it be?
Bastard Programmer from Hell
|
|
|
|
|
|
SophiaGreen wrote: we recommend our iKode help desk X
I recommend paying for an ad, as opposed to bugging people who are busy helping other people.
FWIW, there's a whole galaxy of free helpdesk-software out there.
Bastard Programmer from Hell
|
|
|
|
|
Does anyone know an example of a desktop application/program that was developed with html5”?
If so, can you refer me to it?
Thanks!
modified 31-May-12 18:19pm.
|
|
|
|
|
Same answer as on CodeGuru; it's a markup-language, not a programming language.
Bastard Programmer from Hell
|
|
|
|
|
|
I am new to HTML5.
I want to create a program in HTML5, but I need also to have a backend which will handle all the logic.
Can I connect a backend which is written in C# or in Java to HTML5? if so how?
My program needs also to handle reading and writing to xml files. I guess that the backend will need to handle this task, but can the HTML side handle it as well?
|
|
|
|
|
Simply create a normal asp.net application and you can write html 5 code at client side.
There is nothing extra you need.
Just make sure that your user has mordern browser that supports Html 5.
|
|
|
|
|
Funny title, I'll give you that
The "back-end" in this case is any platform of your liking:
- ASP.NET
- ASP.NET MVC
- PHP
- Java
- C++ for CGI
Any of these provide the platform of implementing the business logic.
|
|
|
|
|
<input type="button" class="cssclassname " value="Previous" onclick="javascript:button2();" />
<input type="button" class="cssclassname" value="Next" onclick="javascript:button1();" />
function button1() {
var var1 = $('#hdnfield1').val();
var var2 = $('#hdnfield2').val();
$('#hdnfield3').val('next');
$('#formName').submit();
}
function button2() {
var var1 = $('#hdnfield1').val();
var var2 = $('#hdnfield2').val();
$('#hdnfield3').val('Previous');
$('#formName').submit();
}
|
|
|
|
|
@Html.DropDownListFor(a => a.empID, @ViewBag.EmpName as System.Data.DataTable, "KEY", "VALUE", null, null, new { id = "ddlEmp", @class = "css class name" })
@Html.DropDownListFor(a => a.AddressList[index].State, @ViewBag.States as IEnumerable<SelectListItem>, "Select", Model.AddressList[index].State, new { @id = "ddlState", style = "width:74px; background-color : #E7F1BE;"})
-- modified 29-May-12 6:44am.
|
|
|
|
|
@using (Ajax.BeginForm("ActionName", "Screen Name OR Routing Name", new AjaxOptions() { InsertionMode = InsertionMode.Replace, UpdateTargetId = "div", HttpMethod = "Post" }, new { @id = "formName" }))
{Body of the screen}
-- modified 29-May-12 11:53am.
|
|
|
|
|
Hi
I want create chat for automation website, so client not send any request to server for respond, instead server send respond to client when received a message from other client.
Thank you.
mkmk
|
|
|
|
|
This would most likely be a little bit insecure. The client would have to provide an open socket endpoint which is typically blocked by local firewalls, routers, corporate firewalls.
Typically this is solved by doing AJAX style polling.
|
|
|
|