html

Javascript issue on IE

I have added the social links in my html page. When I added, the top nav of my pages is gone. Tats appeared in firefox but not in IE. Any one help me how can i resolve tis? Here is the code i used. <a class="addthis_button" href="http://www.addthis.com/bookmark.php?v=250&amp;username=xa-4b9a190d10b004d6"&gt; <img src="http://s7.ad...

Website without css

Hai, Is it possible to create a website without css? thanks ...

CSS Semi-fixed Element?

I remember seeing an example of this recently, but for the life of me I can't find the site. It was a button or something similar that sat in its place near the top of the screen, then when you scroll down it stays on screen. Now that I think about it, it must have been javascript-powered, but it looked really natural. Does anyone kno...

ASP.NET - Take a screen capture of a particular area of the screen?

Is it possible to take a screen capture of a particular area of a web-page from the web-page's own ASP.NET code? I need to display 6 images that are stacked on top of one another using CSS, and I'd like to offer the user the ability to right-click save-as if possible by stacking the screen capture on top top of the original image stack....

How to change checkbox's border style in CSS?

How can I change checkbox (input) border's style? I've put border:1px solid #1e5180 upon it, but in FireFox 3.5, nothing happens! ...

Browser history back with scrollable div

When I Jump to section 1 & 2 everything works fine, and the browsers I tested (IE8, FF3.6, Chrome 5.0.342.3) scrolls down to the respective anchor in the div. But when I press the browser history back button the div won't scroll back up. Is there some way to make this work without using javascript ? <div id="scrolldiv" style="overflow:...

How to Create Multilevel jquery accordion menu using jQuery?

I want to create multilevel accordion Navigation using jQuery , I tried using this script but it not allow the multi-level. Please view the Image what exactly I am looking for, http://www.i-marco.nl/weblog/jquery-accordion-menu/# Thanks ...

Get the text of an li element

<ul class="leftbutton" > <li id="menu-selected">Sample 1</li> <li>Sample 2</li> <li>Sample 3</li> <li>Sample 4</li> <li>Sample 5</li> </ul> I want to get the text of the li item which the id="menu-selected". Right now I am doing something like document.getElementB...

Cross-browser incompatibility, how to put the button "同意して、アカウントを作成します" back into the big box?

If you visit http://www.tenxian.com/jp/common/signup.php? with Firefox, you will find that the button "同意して、アカウントを作成します" is out of the box; if you access this web page with IE, then there is no problem. How to fix this problem(put "同意して、アカウントを作成します" back into the box in Firefox)? ...

How to count html tags and contents

Hi! I have a problem with regular expressions! How can i count html tags with regex? ...

Correct table layout generation with CSS: unexpected cells shift

I'm trying to generate a dynamic table using CSS: <html> <head> <style> div.el1, div.el2 { color:white; width:70px;height:70px; border:0px; padding:0px; font-size: 10px; font-family: "Courier"; } div.el1 { background-color: green; } div.el2 { backgro...

YUI-css problem in IE 6 and 7

If you look at the screenshot below you can see that the right menu box in red has the wrong position in IE6 and 7: <div id="doc4" class="yui-t2"> //yui-t2 = 180px on the left <div id="bd"> <div id="yui-main"> <div class="yui-b"> <div class="yui-gc"> // yui-gc 2/3, 1/3 <div class="yui-u first">content</di...

How to print a portion of an HTML page?

Hi friends I have an html page i want to print a portion of this html page, I know a javascript function to print a page, onClick="javascript:window.print(); return false; but how can i print a portion of a page. Any one have an idea, please share it to me Thanks ...

Height:100% is not considered

Hi guys, I would want to simulate the behavior of a table with div. I have a struct of my layout divide into three columns: div#wrapper { width:800px; float:left; height:100%; margin-top:7px; text-align:center; } div#left { width:167px; float:left; padding-bottom:50px; margin-right:3px; } div#main { width:454px; ...

Why does fb:fan control disappear after login with requireSession on external page?

Hi, Reqs: I want to make an external page with a 'Become a Fan'-button. I want users to login to facebook once they open the page (this is because of other features in the site) So I call FB.Connect.requireSession once the page loads, and put a <fb:fan></fb:fan> control on the page. Then when I open the page I see the 'Connect with...

What's wrong with this jQuery fading gallery code?

So I am creating a fading gallery and am a bit of a noob to javascript (but not to programming). I have no idea what is wrong though. Here's the function in question: /* */ function show_next () { // Hide current $('.s_gallery_images li.s_current').fadeTo(200, .2); $('.s_gallery_images li.s_cu...

Are there "Pop Up Blockers"/Add Ons that change a post to a get in IE8?

We have some code where the user clicks a link which launches a pop up window. The code that creates the window then does an HTTP post to the window. Once the post has succeeded, the page is redirected (as a javascript location) to a PDF that was created during the post. One person is getting an error where the posted data is not gett...

How do I set this div's style in the style sheet?

<style type="text/css"> #[':0:adId'] { /* this does not work */ background:red; } </style> <div id=":0:adId">Loading...</div> Google Maps use this id format. How do i set the style? ...

CSS - Could use some pointers on correct positioning

Hi, I'm in need for some pointers on positioning. I've got this square which should be centered on the page. And with a logo and a logo font image kinda wrapped around the square. Now, I want this as dynamic as possible, because I use both the square and images elsewhere as well. So I can't really use stiff static positioning. This is ...

How do i Convert a Select to a Checkbox

That sounds pretty odd but i have this cod and i need to convert it to checkbox, with the same functionalities <select onchange="document.getElementById('reasonDiv{$test->id}').style.display = ''; document.getElementById('reason{$test->id}').value = this.value;" name='reasonId{$test->id}' id='reasonId{$test->id}'> <option value=''...