I am using the asp.net web application and microsoft visual studio reportviewer control and rdlc for creating a report ( not using sql server reporting). I used the Product table to view the result. It has five fields and I display all the itemsin the report. One field is Description and it store the html code as the value(eg:
<div><ul...
Hi,
I'm looking for the most semantically correct and sane method of marking up an ordered definition list. I have thought about hte following ways of doing it.
First I used an ordered list with 2 paragraphs within each list item. But then I remembered the definition list element.
<dl>
<dt>Something</dt>
<dd>Definition</dd>
<d...
Items are stored with x,y coordinates. The .items div starts at [0,0] and is repositioned based on movement of .dragger (which is made draggable). Everytime the user stops dragging / releases, .dragger is repositioned to the center of the screen, and an AJAX request is made which places the next x/y coordinated items which are in the cur...
I am working on a .net project that generates html.
When the html string is generated, the is no whitespace or indenting. This makes understanding the generated html difficult.
Is there a tool that will take my string of generated html and format it so that it looks nice?
...
Hi! I've a problem with django csrf middleware...
when I use the template tag csrf_token I get this output:
<div style='display:none'><input type='hidden' name='csrfmiddlewaretoken' value='6bda3605af31dd8595d2a67d0dda827b' /></div>
but I want this output (HTML not xHTML:
<div style='display:none'><input type='hidden' name='csrfmiddle...
I am trying to change my "inner" div's width dynamically on the click that the images are changed (which works) with a similar script. I cannot get the script to work, any help fixing it, or changing it would be appreciated. I am a noob in javascript so please be nice ;-)
<script type="text/javascript">
function setBase(baseval) {
...
My page currently has something a bit like the following, in order to put two images on each side of my page header-bar.
<div id="header" >
<div style="float:left" >
<img src="media/logo1.png"/>
</div>
<div style="float:right" >
<img src="media/logo2.png"/>
</div>
</div>
...
Now I know that you can use OOP and MVC to organize, but that is just for PHP.
Let's say, I add a new window that pops up when a user clicks on a link and it displays a form with JS validations and it is CSS styled.
Here we got 4 codes: JS, CSS, PHP and HTML (with some PHP snippets).
How would you organize all these codes? Because whe...
I have a list of names (1-15 rows) I display from an array. I want the administrator to select the correct name from the list by clicking on the hypertext called "link." The record id is in the array and I want that passed to the called script.
I found this javascript that works except that I want the linkur.php page to print (with it...
Hi!
I have a problem using a Publishing HTML Field.
The Elements.xml:
<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<Field ID="{987B9BA2-23AB-4E52-99DD-2D59BAA79F4B}" Name="LeftContent" DisplayName="Left Content" RichText="TRUE" RichTextMode="FullHtml" Type="HTML" Hidden="FALS...
I need to center vertically multiple boxes with different heights.
I dont know the height of the boxes as they are variable texts.
How can I do this with CSS (without having to use td and valign). Tried display: table-cell but it seems not compatible with IE
The image below shows the design, the post-it is the browser window
...
The function focus() doenst seem to work for iphone? I need something similar to what they have done for gmail.com when you do a reply.
...
In my theme I'm trying to display the excerpts or teasers of child pages, yet I do not want to display any images, I want image tags stripped out.
Once I've gotten the teaser in all its html glory in a php variable, how do I strip out the img tags prior to using echo?
...
So we all know that you should always, not only in PHP, separate code from content/design/html. (I have seen people that say the opposite here today)
I mean, you don't want one of these in bigger projects, do you?
<?php
echo '<div id="blah"><b>'
. $username . '</b>'
. $stuff . '<more HTML mixed with PHP...>';
?>
But: What...
Hi,
i have the following situation (please see image below after reading the following):
.dragoverlay (white rectangle in image) is a (jQuery) draggable div. it's the same size as the browser viewport.
.items (small red square(s) in image) is an absolutely positioned div of size 0x0.
The lightblue items squares are absolutely positi...
I'm working on a web page that will have a google-reader type scrolling list of content, and I'd like to open that content when it's clicked on in a new window. The problem is that I'd really like to be able to update the scrolling list from one of the newly opened windows.
For example; I'm looking at a list of products for sale on m...
Why does this code work:
$('div.error_container').html('<div class="error">No more foo allowed</div>');
But this code causes an error:
$('div.error_container').html('<div class="error">No more foo allowed<br /></div>');
I've tried putting the <br /> before and after the </div> tag, same error. I've treid changing it from <br /> to...
I'm using this:
$('document').ready(function(){
$('textarea').attr('wrap', 'off');
});
(JQuery) (Firefox 3.5)
I'm checking with WebDeveloper that the wrap attribute indeed is set to off in the page when I'm loading it up, but the text still wraps. If I hard-code the invalid HTML of wrap="off" into the <textarea> in my HTML, it wo...
is it possible for me to edit the html of the menus on top here?
http://yoursdproperty.com/index.php?option=com_content&view=section&id=1&Itemid=27
the home, buying property, selling property, etc, want to be able to edit the html. is that possible? where would the file be?
i actually need them to take up 100% of the top a...
Basically I want to control the margin on the left of the list. Here's how I have it structured:
<li>
<a href="http://link.com">Main</a>
<ul>
<li>
<a href="http://link.com" title="">Sub1</a>
</li>
<li>
<a href="http://link.com" title="">Sub2</a>
</li>
</ul>
</li>
The sub-sections are ...