I use chrome and firefox. I love chrome and firefox. I just thought to check how my website looks in IE8 and the results are fucking horrific. I can't navigate, it doesn't render rotations properly and the whole thing is a clusterfuck.
Does anyone have any ideas? My only thought at the moment is to do a complete redesign that will accom...
html:
<html>
<head>
<title>Home</title>
<link rel="stylesheet" type="text/css" href="qa.css" />
</head>
<body>
<div id="wrap"></div>
</body>
</html>
css:
body {
margin:0;
padding:0;
}
#wrap {
width:750px;
margin-right:auto;
margin-left:auto;
background:#008B00;
}
The html file is called qa.html, and the css file is called qa.c...
I have a checkbox called "cbBatch" on one of my pages. When i check the box and submit the form, "cbBatch" is stored with a value of 1. On the next page, I need cbBatch to be "checked" if the value in the corresponding database field is "1". If it's 0, then unchecked. I have attempted to write it like this:
<input type="checkbox" na...
Hi guys,
One of the first things I learned as a web developer was to never ever accept any HTML from the client. (Perhaps only if I HTML encode it.)
I use a WYSIWYG editor (TinyMCE) that outputs HTML. So far I have only used it on an admin page, but now I'd like to also use it on a forum. It has a BBCode module, but that seems to be inc...
Presently I use
<table cellpadding="0" cellspacing="0">
<tr><td><a href="cv.pdf" target="_blank">
<img src="graphics/pdf.gif" width="24" height="24" /></a></td>
<td width="10px"></td> <!--that just spaces the image from the text-->
<td>
<a href="cv.pdf" target="_blank"><em>Download CV.</em></a>
</td></tr>
</...
I want to remove empty paragraphs from an HTML document using simple_html_dom.php. I know how to do it using the DOMDocument class, but, because the HTML files I work with are prepared in MS Word, the DOMDocument's loadHTMLFile() function gives this exception "Namespaces are not defined".
This is the code I use with the DOMDocument obje...
I am looking for some alternate way to do:
<iframe transparency=true ...
When i do the w3c validation, I am getting the error:
Column 31: there is no attribute "allowtransparency"
Hi
if use this css
.iframe-trans-fix{
opacity: 0;
filter:alpha(opacity=0);
}
for above snippet am getting blank iframe,
...
Does min-height not work on body/html?
body, html
{
min-height:100%;
}
Accomplishes absolutely nothing (firebug reports the body,html tags height does not change at all)
...
I have a form with a textarea (tinymce) for input content. When I perform an ajax request, I got the error:
A potentially dangerous Request.Form
value was detected from the client
Then I've tried something like
html.encodeURIComponent() or escape() but the error is still here
HTML:
<form id="editForm" action="" method="post">
...
I have a problem with jQuery Quicksand and jQuery Lavalamp plugins.
It seems they conflict and don't work together. I wonder why and how can I solve this?
I'm using jQuery 1.4.2
...
In the html below I want the third div so that it is in the same row as the first two but with a 100px gap inbetween. The code displays the first two divs adjacent which is what i want but then the third div is displayed underneath the first two. Changing the style of the first two divs to something other than float left messes up the re...
Is there an easy way or an html editor that can find all like-phases and the delete them from the file? I have a html with over 15000 lines, and would like to remove every div element... instead of finding them all and deleting them separately, is there a way to highlight all of them in one and delete them all?
None of these div's have...
I'm showing code in an ordered list, so that it displays with line numbers. Each li has a pre tag filled with a line of code in it.
My problem is that when I set the width of the ol, and I allow the overflow to scroll, the background color of the overflow is different than the background color of the area originally showing.
The backgr...
I have a website where people can place bids on products. So the first thing I have done is created a normal HTML-PHP version of the website which works great.
I have created some basic PHP functions that look at the url -> route you to the controller -> perform the action -> take the POST object etc.
Now I have implemented an AJAX ver...
I want to set border color of field set. I am using class but this is not working properly because i want to remove fieldset default border color.
so how can I use fieldset border color.
<fieldset class="field_set">
<legend>box</legend>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
...
hello,
am trying to show an arabic meta tags, but when ever i load the page, and i view the source it shows some garbage.
and this is what i did so far.
this is my config.php file
define("GAMES_META_DESCRIPTION", "بيسبي");
and this is my header file
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xh...
I have a png image inside a DIV which fades in and out with js code.
This works in all major browser except IE browsers.
I have tested IE6, 7 and 8, and all look the same.
I have even tested with a pngfix javascript code but this didn't help at all.
What happens is that the png image shows up, but has rough black edges which are very ...
I'm trying to do a match in Perl, using the following regex:
s/<font(.*?)>[\t\f ]*<\/font>//gi;
What I want it to do is to remove all font tags that don't have anything inside.
Unfortunately, it doesn't stop after <font at the first > it will go until the > from before </font>.
Any pointers on what is wrong with the regex?
my $text...
I have a textarea in a form that will eventually be an email form. Using Jquery I have loaded a signature file and want to display it in the text area. I have the file but using .html displays nothing and using val(data) produces the code on my box . Can anyone offer any help please
function loadedData(data) {
$('#mail_body').val(d...
UPDATE: I think there was too many information. Here's my question: how to make the height of #middle 100% of the remaining space in the following exampl:
<body>
<div id="big">
<div id="header"></div>
<div id="middle"></div>
<div id="btm"></div>
</div>
</body>
height of #big, body, html is all 100%.
Hei...