xhtml

Can objects be (de)serialized in richfaces xhtml?

Can Richfaces (de)serialize objects? Say for instance, I have a row of data being displayed in a richfaces table. Can I serialize the row of data to a string and later deserialize it back into a row? ...

Can mono produce valid xhtml?

I installed Mono and MonoDevelop 2.2 on my Windows PC. Created a default C# ASP.NET Web Application project. Here's the Default.aspx it created: <%@ Page Language="C#" Inherits="test.Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt; <html> <head run...

Need help creating a layout with DIVs

This is what I want my page to look like: I'm not quite there yet. Here's where I'm at: http://labs.pieterdedecker.be/test/test.htm I'm quite new to using <div>s (as opposed to <table>s) to create the layout of my pages. How do I get the job done? ...

is it good idea to remember html tags in css classes and Ids?

If we keep tag name within selectors. For example: #divMainContentBody { … } .spanImportant { … } This minimizes the need to switch between your stylesheet and your markup, since the ID and class already tells you what element type it is referring to. Updated after @Guffa's answer: I found this advise in this book also http://...

Achieving a properly aligned sidebar in a DIV layout

I'm experimenting with DIVs to align my page's contents: http://labs.pieterdedecker.be/test/test.htm As you can see, there's something wrong with the sidebar. I got the sidebar DIV to be aligned to the right of the page by doing float: right, but when the text in the sidebar stops the main area takes over the width that should be used b...

How to use these ruby based CSS stylsheet frameworks languages?

I read about many CSS related languages and tools which need ruby. What is the purpose of these languages and tool how these can save time and improve our CSS coding. What is the role in ruby language in these languages and tool. Will i have to install and learn ruby language to use these languages and tool. will i need ruby installed ...

What are cons if we do not care about validation of XHTML and CSS?

What are cons if we do not care about validation of XHTML and CSS? Errors other than CSS 3 and vendor specific properties In terms of development time(How valid XHTML and CSS code save time to find problems?), Code debugging (How we can track then problem quickly?), Cross browser compatibility (How it helps us to achieve cross browser ...

Is there any cons to emulate IE=EmulateIE7 site rendering in IE8 as IE7?

Or i should render as default(IE8)? <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> My purpose is to make site compatible with IE8 also. ...

Is W3C Valid XHTML and CSS Code, Semantic and Accessible Mark-up enough for site's SEO in general?

I created a web-site for a client with W3C Valid XHTML and CSS Code, Semantic and Accessible Mark-up and I had said to client my code will be SEO friendly. Theyway i code it will be good for your site SEO. I putted my all efforts to make good code Now my non-techie Client is asking me, Should him go for any SEO company even after provid...

HTML 4, HTML 5, XHTML, MIME types - the definitive resource

The topics of HTML vs. XHTML and XHTML as text/html vs. XHTML as XHTML are quite complex. Unfortunately it's hard to get a complete picture, since information is spread mostly in bits and pieces around the web or is buried deep in W3C tech jargon. In addition there's some misinformation being circulated. I propose to make this the defini...

IE7 text align issue

http://wilwaldon.com/ie7sucks/ If you view this page in anything but IE7 you will see that the spotlight area text is displayed in a column on the right of the image. For some reason it's not showing as a column and I have no idea why. Any help would be greatly appreciated and I'd owe you my first born. Thank you in advance. ...

IE7 text align issue - text wraps and shouldn't

If you take a look at http://wilwaldon.com/ie7sucks/inner7ie.html with IE7 you will notice that the text wraps the image. With all other browsers it doesn't. I'd like it to not wrap the image in IE7. I've used the ie dev tools but can't figure out what's causing the glitch. Any help would be appreciated and I'll be eternally grateful. ...

How to include images for <selection><option>?

Hi I have a list of countries displayed inside the select-tag option-tag tags, what I'd like to do is include the country's flag next to its name. I tried to insert img tags inside the select-option tags, it doesn't work. Please help Thank ...

Script tag in XHTML

Hi, This might sound like a reaaaally dumb question but... why do browsers have a fit with this syntax: <script type='text/javascript' src="/path/to/my.js" /> and want this instead <script type='text/javascript' src="/path/to/my.js"></script> Seems the first construct should be valid since there's no inner content to the tag.. ?...

Adding Unlimited Form Fields With JQuery Problem.

I'm fairly new to JQuery and I'm trying to add multiple form fields for example, <li id="container" id="add_field"><input type="text" name="text" value="text" /></li> but I think my JQuery code is off can some one please help me fix the JQuery code? Here is the JQuery script. var count = 0; $(function(){ $('li#add_field').click(fu...

CSS body Background Centered to be aligned with content

I want to put a Background image centered in the body (backgroundPosition). And then I want all the content(text, tables....) I will add to the page to be aligned with the background, for example, If I zoom the Page, the proportions Background-Content should be respected. I tried almost everything and I don't know if Its possible, I k...

CSS3 text-shadow effect with jQuery

Hello, I wanted to be able to create a effect identical to CSS3 text-shadow Property, making it available to browsers that doesn’t support this CSS3 Property (like IE 7 and 8). And so I found two plugins: Text Shadow and Drop Shadow Effect. I decided to use Text Shadow, because it was released in the end of 2008, and because it was mo...

Margin-Top push outer div down

Hello, I have a header div as the first element in my wrapper div, but when I add a top margin to a h1 inside the header div it pushes the entire header div down. I realize this happens whenever I apply a top margin to the first visible element on a page. Here is a sample of the css. Thanks! div#header{ width: 100%; backg...

DotNetNuke + XPath = Custom navigation menu DNNMenu HTML render

I'm developing a skin for DotNetNuke 5 using the Component DNN Done Right menu by Mark Alan which uses XSL-T to convert the XML sitemap into an HTML navigation. The XML sitemap outputs the following structure: <Root > <root > <node id="40" text="Home" url="http://localhost/dnn/Home.aspx" enabled="1" selected="0" breadcrumb="0" fi...

XHTML / CSS help?

Basically on GunChester my project I have an few pixel wide gap between #login_top (top image holder) and the 3 CSS col's below, #login_left, #login_centre and #login_right so that my first question why? and how can I fix this, this is in FF, Chrome and IE. Secondly the BG image seems to be overlaying twice as in its stretched at the top...