Hi, I've been working on a premade packaged shopping cart website for a few months, and a lot of times when I've been trying to edit something, I have to use something like for example
div.myDiv
{
width: 400px !important;
}
To make it display as expected. Is this bad practice? Or is the !important command perfectly legal? Can this ca...
Hello All...
Recently have implemented lot of pages with different css classes for my web application.
Now the application looks perfect in Mozilla/Chrome/Safari. But when I am running my app in IE 7 or 8, all the pages are becomes massed-up everywhere, with issues of margin, color, overflowing etc of css.
So, I have try out some of t...
Hello i am working on a menu in wordpress and made it dynamicly like this:
<?php wp_list_pages('sort_column=menu_order&depth=1&title_li=');?>
but when i look at my source i get the following:
<ul>
<li class="page_item page-item-5"><a href="http://localhost/private/Kife/?page_id=5" title="Start">Start</a></li>
<li class="page_item pag...
Hi guys, bit of a pickle here:
Got a large jquery.cycle carousel, the slides of which are div elements with loads of stuff inside of them.
Rough markup:
<div id="carousel">
<div class="slide">slide content</div>
<div class="slide">slide content</div>
<div class="slide">slide content</div>
</div>
The problem is that the "...
Hi All,
How can I get the start and end selection indices in browsers other than IE in contentEditable 'div'. For Ex., IE has the following method.
var oSelection;
var oTxtRange;
var units = -100000;
var iStartIndex = -1, iEndIndex = -1;
if(document.selection) // IE..
{
oSelection = document.selection;
oTxtRange = oSelection....
Hi
I have an issue that appears in all browsers.
I am working with ASP.NET MVC.
My controller renders an html form with various submit buttons (the reason for this is explained in the Addendum below).
Whilst tabbing sends the focus to the right submit button under the right circumstances, hitting enter seems to submit the form usin...
Hi all,
in the following code how to delete \ slashes using PHP and HTML
<input alt#\"\" src=\"/ckfinder/userfiles/files/DSC_0017.JPG\" style=\"width: 400px; height: 266px\" type=\"image\" /></p>
is this possible and if yes how?
Thanks in advance for your valuable support
...
Here is the table in which I am retrieving the data from an SQLite database.
Its having lots of records, so near that ADD button I need something like
|< < > >| which would do the paging function whenever I click.
Also, besides the table each header (e.g. UserName UserId) I need a sorting
button. Something like a ^ button. Please do h...
I am facing a problem in my code. Whenever I try to insert
a text field then it's giving an error. What's wrong in the syntax here?
print '<table>';
print "<tr style='background-color:#CDC9C9;'>
<td><A HREF=\"http://localhost/cgi-bin/AddUser.cgi\">ADD</A></td>
<td></td>
<td><b>UserId</b></td>
<td><input type="text" ...
Hey Guys, I've seen a few hints on StackOverflow but cant really see a solution to my specific problem.
I have a pure css menu with dropdowns, in IE8 and FF it works great, but compatibility mode for IE7 and IE6 it doesnt work.
The thing is, it does drop down - but then when the mouse goes over the main website banner below, which has ...
Hi,
I am trying to think of the best way to make a button/anchor for switching languages in my website.
I need a button that when clicked, will changes a global variable lang, and refresh the page (so the new variable will be updated).
Can you advice me what's the best solution, thanks
By the way I am using python with Google AppEngin...
hi there.
i am trying to get jquery to hide this div and for some reason it is not working what am i doing wrong
http://stat-me.com/jq.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv=...
Are most of the websites using HTML or XHTML?
Isn't XHTML "better" than HTML?
I know the declarations are different.
XHTML:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
...
Hi.
I'm trying to send HTML mail, with PHPMailer, with images.
The body is loaded from a html file, that contains all the info.
When sending the mail, the image does not appear in the body, although I even send the image also as an attachment.
HTML <img> tag points to the same place as the place.
PHP:
$mail->AddAttachment('img/2u_cs...
Can I view a flash image inside an iframe tag?
...
i am using python, and appengine, and i am trying to fix a specific button.
let's say this is the code :
<FORM action="http://blabla" method="post">
<P>
<LABEL for="firstname">First name: </LABEL>
<INPUT type="text" id="firstname"><BR>
<LABEL for="lastname">Last name: </LABEL>
<INPUT type="text" ...
I am trying to attach a click event to a check box using JavaScript. Shown below is the HTML and JS.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<input type="hidden" nam...
Hello!
I'm bulding a site and I've set its content type to use charset UTF-8. I'm also using HTML encoding for the special characters, ie: instead of having á I've got á.
Now I wonder (still bulding the site) if it was really necesary to do both things. Looking for the answer I found this:
http://www.w3.org/International/questi...
I have a submit image button:
<input id="sbutton" type="image" value=" " />
Styled like that:
#sbutton {
text-indent: -99999px;
border: 0;
background-image: url('submit.png');
width: 201px;
height: 37px;
}
It works perfect in Opera in Firefox the button size is about 10x10px (wtf? :)) and in Safari...
Hi,
I'd like to start some little private social network and I'd need a web design, I looked throughout themeforest but did not found one. (There's only blogs/portfolio templates).
Do you know any good place where I could buy a pre-made social network html template?
Thanks!
...