I'm working with a web service that will give me values like:
var text = "<<<&&&";
And i need to print this to look like "<<<&&&" with javascript.
But here's the catch: i can't use inner HTML(I'm actually sending this values to a prototype library that creates Text Nodes so it doesn't unescape my raw html strin...
If you use the container class for a layout with blueprint-css, you end up with a maximum width of 950px. I have a layout that needs to exceed this so I'm wondering why Blueprint uses this default?
<div class="container">
...
I have a flash swf file and I put that into the HTML file. In the flash swf file, the mouse scroll zoom function is there, but its not functioning when I am inserting that into the HTML page, and if I scroll over the swf area, it also scrolls the html page completely, and it's not functioning at the swf, i.e. the zoom function.
...
At work I see one colleague designing a site in Photoshop/Fireworks, I see another taking this data, slicing it up and using Dreamweaver to rebuild the same from scratch.
It seems like too much mucking around!
I know that Photoshop can output a tables based HTML, and Fireworks will create divs with absolute positioning; neither appear...
I need to have rounded corners in buttons (input type submit), but I haven't found any JavaScript library that would do that. Currently I use http://blue-anvil.com/jquerycurvycorners/test.html to round other elements, but I doesn't round input buttons or li-elements. I prefer jQuery plugins, because I use jQuery to all other plugins and ...
How can I see print preview of my invoice generated from website. If I print with the script
<a href="javascript:windows.print()">print this page</a>
in the print "print this page also printed .
How can I hide it?
...
I add my page top link button like this:
<a name="top"></a>
.
.
.
<a href="#top" title="Top"><img src="images/top.png" alt="Top" id="toplink"/></a>
This is work in firefox well, but doesn't work in google chrome. Why?
...
hi
I have multiple themes on my website and users can just switch between multiple themes by clicking on a javascript link. I have 5 CSS files to handle the layout of all of the themes.
1 is for structure, 3 are for colors etc for different themes, and 1 common for some other stuff.
my css filenames read like this ..
main.css, red.cs...
How do I add a css class to an Div element in JQuery? I have a DIV with a css class and the div contains a form. After clicking on submit I want the original css class to disappear and a new class to be added? I'm using JQuery as a Framework
...
Hi I would like to get all the properties used in System.Web.UI.WebControls.Table which is simple but the catch is that it needs to be done in a windows form application. My actual question is how can I create an instance of System.Web.UI.WebControls.Table in a form
...
This not happened all the time.
A bug is not a bug if cannot be reproduced !
First, i thought this was a mistake of my young programming skills but same error appears in my two sites, apparently in the same circumstances.
<a style="display:block;" href="link">
<div>text1</div>
<div>text2</div>
</a>
Sometimes, while browsing, links ...
Hello gurus,
I have little bit longer question for you - but hope answer will be very simple :)
Let's say I have very simple page with link and iframe (just for simple example).
<body>
<a href="test.html" target="mframe">open link></a>
<iframe name="mframe" [params] />
</body>
So when you click on the link it will load test....
Can someone explain this strange (or normal) behaviour:
I've got an Webdav directory. In this folder, I have a word document, called document.doc.
When I open Word, en then choose to open file, and fill in the whole URL (http://server/webdav/document.doc), Word will open the document just fine. Changes I make are being saved on save cli...
Hello,
I have an image
<div class='container'>
<img src='../images.jpg' alt='images' />
</div>
I want to put this image in div with jquery
<div class='container'>
<div class='some_class'><img src='../images.jpg' alt='images' /></div>
</div>
Tnaks!
sorry, I'd like tu put in this div not onli this images but element also ??...
There seems to be huge number of meta tags you can set. I'm guessing that some of them are more important than others.
What are the most important metatags to supply and why?
Do I even need meta tags? (looking at the stackoverflow homepage there are none)
...
I'm have an .aspx page done with Vb.net and the buttons "Save Image" "print image" "Send image" is showing when I put the cursor on one of the images tag. I say one image because it doesn't appear on the other images tags. I don't want these buttons!
...
Ok, so this question probably isn't Silverlight specific.
I have a silverlight 2 page that is stretched, it always fills the browser window. I am overlaying a DIV onto Silverlight, which is working great.
My problem is, the div tag causes empty space below my control, even though the content itself is overlaying the Silverlight control...
is it possible to do something like the following in ASP.NET:
<tr<%= index++ % 2 == 0 ? " class=\"alt-row\"" : ""; %>>
in other words, is there a way to escape the angle brackets for the inline code block or something?
(i know the alternative is:
<% if (index++ % 2 == 0) { %>
<tr class="alt-row">
<% } else { %>
<tr>
<% } %>
...
Is there a .NET utility out there to take an HTML snippet (not a whole document) and output a compliant standard HTML equivalent?
IE, both <b>die Bundesliga Mannschaften</b> and <span style="font-weight:bold">die Bundesliga Mannschaften</span> both resolve to the same thing.
I'm not trying to repair anything, just standardize some well...
Hello,
I have problem with displaying adsense ads in ie7
google adsense adds an iframe to display ads with id google_ads_frame1 with position:absolute the problem is this absolute position makes the ad stay there even if the page size changes (in ajax)
so how can i force it to have position:relative, i tried wrapping it in div and app...