xhtml

Is by default absolute positioning relative to the document or to…?

Hi As far as I know, absolute positioning is relative to a containing block that provides a positioning context, which by default, is the document. Thus, by default, absolute positioning should be specified with respect to the edges of html document and not with respect to the edges of a viewport (browser window)?! For example, ass...

Coloring lines inside textarea

Is there any way to make textarea display lines in colors? What I am trying to achieve is every second line colored, i.e. white,grey,white,grey,white,grey... for better readability. Users are supposed to write in lots of stuff, as in "enter names, each one from new line". I do use jQuery anyway so if they made some simpler solution for ...

If I have a CSS solution for all browsers except IE then what should be chosen for IE? CSS expression vs JavaScript vs jQuery with plugin?

If I have a CSS solution for all browsers except IE then what should be chosen for IE? CSS expression in IE conditional comments or JavaScript in IE conditional comments or jQuery + plugin in IE conditional comments Which will be less slow in rendering speed? ...

what is the use and purpose of uncompressed version of jquery library file provided by jquery.com?

Jquery.com provide 2 version of jquery library. I always use Minified version because i never edit anything in jquery base file. but what is the use and purpose of another Uncompressed Code version? Does people edit main library file to get something? If yes then if we edit anything in main file then we can't use google ajax library lin...

How to get 19KB Minified version of jquery file?

Jquery.com shows Minified and Gzipped version as 19KB? Production (19KB, Minified and Gzipped) Development (120KB, Uncompressed Code) but when we click on download for Production version. it goes to this link http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.3.2.min.js&downloadBtn= and the file which is on thi...

why link title not showing in IE but showing in firefox?

see example here http://jsbin.com/elesa code <p> <a target="_blank" href="#" title="Download PDF, 58KB, opens in a new window"> <img width="150" height="50" border="0" src="http://sstatic.net/so/img/logo.png" alt=""/> </a> </p> ...

Any free XHTML CSS editor with live(on type) W3C validation?

I know W3C Validator can do this but i need any free offline editor. I would like to see live error in IDE if i'm not closing any tag mistakenly like this http://livevalidation.com/ not after coding whole document. if anything is not proper in xhtml and css then ID should show error on that place in source code. ...

Why is my text being cut off in IE7 and firefox from left side ?

Why is my text being cut off in IE7 and Firefox from left side ? it looks OK only if i add padding-left:1px? why it's happening? I' can't give live link of site. see problem in this screen-shot letter "W" being cut off from left side. CSS code html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre,...

How to remove more than one spaces in between words and sentences of contents source code?

How to remove More Than One Spaces In Between Words of contents in dreamweaver source view. when i copy any data from MS word and paste in Dreaweaver. dreamweaver shows many unneeded spaces in source code. which is showing also in html output like extra space betwwen word and extra space after "." fullstop. ...

Top 10 CSS and HTML questions to ask interviewee?

What should be the top 10 CSS and HTML questions to ask an interviewee? To test his level of knowledge if interviewee mentioned 2 yrs. experience in XHTML and CSS. Edit: how we can know interviewee's cross browser layout making capability? My question is only related to xhtml css coding not about design ability ...

What are pros and cons to use vendor-specific extesions , which are not included in W3C specifications?

I edited my question What is a vendor specific extension? A vendor specific extensions can start with a “-” (dash) or a “_” (underscore), usually followed by an abbreviation of the company or the browser project the extension is specific for, f.i. “-moz-” for Mozilla browsers, or “-webkit-” for WebKit based browser...

How to give style to iframed page content using parent pages css ?

How to style iframed page's content using parent pages css ? I don't have access of iframed page? i made thisfor example - http://jsbin.com/uxobe how to style differently HTML of the page which i'm using in iframe? Is therey a way to style like this through css or js+css ? http://siteurl { background:red} ...

css 1, css 2, css 2.1 and css 3 , which css properties and selectors are different/new in each version?

css 1, css 2, css 2.1 and css 3 . which css properties and selectors are different in each version. i searched a google lot but haven't found any list? I need a list of properties of each version with differences. Edit: I found css 1 properties here : http://129.69.59.141/css1pqre.htm ...

Divide page into two sections

I want to divide my page into two sections. It must be separated by a slider. In the left-pane, I want to display Form names and on the right-pane, I want to show the Form that was selected from the left-pane. Which controls to use? ...

Open links on other section of FrameSet

I am using following code to split my screen into two panes. <frameset cols="20%,80%"> <frame name="lefty" src="menusidebar.html"> </frameset> </frameset> The file "menusidebar.html" contains links. I want to open the links on the right pane when the user clicks on the link in the left-pane. How to do this? ...

Can we use <a> directly in body, or it should always in any block level tag, see example ? xhtml

Which is right? <h2>heading 2</h2> <p><a href="#" target="_blank" title="Opens in a new window">link 1</a></p> <h2>heading 2 </h2> <p><a href="#" target="_blank" title="Opens in a new window">link 2</a></p> <h2>heading 2 </h2> <p><a href="#" target="_blank" title="Opens in a new window">link 3</a></p> <h2>heading 2 </h2> <p><a href="#" ...

What is the difference between .html and .xhtml extension? XHTML is a markup language or it'a different extension also

What is the difference between .html and .xhtml extension? What is beneficial in .xhtml extension? and why we are not using .xhtml extension, is it just because of IE? what about .xhtml extension with IE 8? Is .xhtml supported in other browsers except IE ? if yes then what benefit we will get when all browser will support .xhtml extens...

Ask whether the user is sure to leave the site (XHTML/JavaScript)

When a user leaves one page of my website, there should be a warning message which gives the user the option to stay on the page: "Are you sure that you want to close this page?" It doesn't matter if the next page is an internal or external page. I thought this could be done with the onUnload event handler, couldn't it? <body onunloa...

How can I cause the browser to scroll an element horizontally to a pre-defined location without using JavaScript?

I'm working on 'timeline' project, where I have content inside of list items, in a horizontal unordered list. This is contained in a div, so you can scroll left to right through the content. My client would like buttons to 'goto' each era. I know this is easily achieved through JavaScript. However they also want this to be functional wi...

How to get a web page input datas?

Am very New to Web Page Development. In my website i have the help page like Name, Email ID, Contact No, Comment and Submit Button Suppose i entered the data in the help page , then i press submit button means that entered data's should sent to the email account For Example Help Page Name - Raja Email - [email protected] Contact - 98763...