Re: [WSG] Centering all items in a li
Have you tried playing around with line-height? On Sun, May 18, 2008 at 10:46 AM, Darren Lovelock [EMAIL PROTECTED] wrote: I'm trying to achieve the same as a table cell set with valign=middle but with an li. This would be the list elements in a table: table tr td valign=middlelabel for=dnameDisplay Name:/label input type=text id=dname class=tinput //td td valign=middlepInformation about preview box etc. If it is more than two lines or ## characters link to./p spana href=learn more/a/span/td /tr /table The labels etc would be vertically aligned in the center of the td's. Darren -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Hucklesby Sent: 17 May 2008 22:31 To: wsg@webstandardsgroup.org Subject: RE: [WSG] Centering all items in a li On Sat, 17 May 2008 16:45:05 +0100, Darren Lovelock wrote: Hi Matt, I'm trying to vertically align all the items inside an li. This could be achieved with the valign of a table cell, but tables are not an option! The li's are floating left. I want the labels, inputs, p's etc to be vertically aligned in their containing li. This is one of the lists I'm using: ol li class=elem label for=dnameDisplay Name:/label input type=text id=dname class=tinput / /li li class=desc pInformation about preview box etc. If it is more than two lines or ## characters link to./p spana href=learn more/a/span /li /ol Hope it makes more sense now! Nope. Can't see why you'd put form elements in a list anyway. Perhaps you could post an example, with tables if necessary, to show us what you intend? Cordially, David -- *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *** *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *** -- Ben Wong e: [EMAIL PROTECTED] w: http://blog.onehero.net *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
Re: [WSG] Usefulness of JSDoc
I personally wouldn't use it for production websites because it inflates the size of the Javascript file, therefore forcing the user to download more. Also it would tempt others to steal code by making it easy to understand. As a way of documenting code during development and for future reference it would be useful, but well written code should be self-documenting (well named functions) and easy to understand. On 7/25/07, Keryx Web [EMAIL PROTECTED] wrote: Hi all! I have been wondering about the (absent) standard for documenting JavaScript: JSDoc. In PHP one can expect any seasoned developer to use PHPDocumentor (or something similar, like Doxygen). In JAVA one would expect Javadoc to be used by most. However, except for Foundations of Ajax (ISBN 1-59059-582-3) I see *no* other book on the market using or promoting the use of JSDoc. And as far as I know YUI is the only major library to use it. Gurus like David Flanagan, John Resig, Christian Heilmann, Dean Edwards and PPK are all silent on this matter, and do not use JSDoc in any code I've seen them write. Admittedly they write a lot, but JSDoc are absent from their books and blogposts, at least. 1. Is JSDoc not a good idea? If so, why not? 2. If it is, why has it not caught on? Coming to JS from a back-end developer perspective I find this very strange. Lars Gunther P.S. References: http://jsdoc.sourceforge.net/ http://en.wikipedia.org/wiki/JSDoc *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *** -- Ben Wong e: [EMAIL PROTECTED] w: http://blog.onehero.net *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
Re: [WSG] Usefulness of JSDoc
On 7/25/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: So does it make code easy to understand or not? Make your mind up!! Well, that would depend on the quality of the documentation, not on JSDoc. :) Personally, I do try and make use of it, but there are some limitations which I am attempting to work around by writing a script to run at a higher level. Also, code bloat is not a problem, as I run all CSS, HTML and JS through a compaction process as I take it live (automated release system) For most small projects it probably doesn't give much advantage, but I don't really understand how any of the arguments against using JSDoc are different to using JavaDoc. Yep, you're right, the arguments aren't any different. But for those of us who don't have that extra step of compacting the code before deploying, we would have to add it in if we decided to use JSDoc. Whereas, for JavaDoc (and the other doc tools for other languages mentioned) you wouldn't have to worry about it, because the code is not as accessible to the end user as the Javascript because they're run server side or compiled. -- Ben Wong e: [EMAIL PROTECTED] w: http://blog.onehero.net *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
Re: [WSG] .NET generate horrible html, i need some lights
Hi Gaspar, Looks like you guys are still using Visual Studio 2003, therefore .NET 1.1. You should consider moving up to VS 2005 and .NET 2.0 as the standards support is much better. Ben On 12/03/07, Gaspar [EMAIL PROTECTED] wrote: Hello everyone, I always work with PHP, use it to output my (x)HTML in the way i want. Now a get to a agency that only work with ASP, i just can believe that there's no way to avoid runnet_server, IDs with 1000 characters, the some IDs on img, values of forms with 50lines height, and the form at the start that dont let me usa any Strict Language. Iam not good with ASP, many of the functions i dont understand, i do know that some of this points are easy to change but others like the bigs ID. Iam working with the interface/html team and maybe the team that build the aplications wouldn be so open to that changes, they say that is easiest and quicky putting the native elements of .net tham building, i believe that but and the others people that update or even the weight of pages. I just want to help change this, http://www.ispa.pt u could check the biggest value of a form that i see. Could someone give me some links or some stuff that someone without knowledge of ASP could help implementing some improves generate GOOD (X)HTML Many thanks, Gaspar I have already have found some: http://www.charon.co.uk/content.aspx?CategoryID=28ArticleID=53 http://weblogs.asp.net/scottgu/archive/2007/02/20/asp-net-ajax-and-sharepoint.aspx http://www.webstandards.org/2004/10/08/aspnet-standards-part-ii/ http://www.aspnetresources.com/articles/default.aspx http://www.aspnetresources.com/articles/HttpFilters.aspx -- Make it simple for the people -- http://www.artideias.com *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *** -- Ben Wong e: [EMAIL PROTECTED] w: http://blog.onehero.net *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ***
Re: [WSG] .net question
On 3/17/06, Peter Goddard [EMAIL PROTECTED] wrote: I'm an ASP.NET programmer, so I know. I actually have the reverse problem. The designer I work with doesn't have the faintest idea about standards and I'm the one cleaning out the layout tables. Nice one Ben! Sack the designer! Awww, I'm not that harsh. I'll give him some time to steer away from the dark side. I've managed to stop him from using tables for structuring the site. I'm working on weening him off using them for forms. Anyway, I agree with your advice to Kevin. It would probably be good to get involved in the coding up of your design in ASP.NET. You wouldn't have to go all the way and become a full-on ASP.NET guru, just learn the basic server controls and how they are rendered in the browser. -- Ben Wong e: [EMAIL PROTECTED] w: http://blog.onehero.net ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] .net question
No worries. You might find some useful articles at www.aspnetresources.com. Milan is _the_ man when it comes to ASP.NET and web standards. Agreed, Peter. ASP.NET 2.0 is a big step forward in the right direction. On 3/17/06, kvnmcwebn [EMAIL PROTECTED] wrote: Thanks Peter, and Ben, for great insight. I will try to a collaborative aproach with the developer. I know that a in a previous situation with another developer we used repeaters to output standards code, i would like to be able to stick css possitioning into a form repeater for him. im not even sure exactly on the difference between a repeater and a control but im reading up on the msdn site, Building ASP.NET 2.0 Web Sites Using Web Standards and asp.net for designers. ill let you know how i get on thanks again -kevin ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help ** -- Ben Wong e: [EMAIL PROTECTED] w: http://blog.onehero.net ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] .net question
On 3/17/06, kvnmcwebn [EMAIL PROTECTED] wrote: If you would like to see some examples of what im talking about heres one of the 1st sites i did with the programmer in question. notice the special offers section and the reservations form-when he got it there wasnt a table in site. http://www.shandonhotel.com/ What's wrong with the special offers section? I would've done it as a table too. Maybe you could use a table, but it looks enough like tablular data to use a table. I'm with you on the reservations form though. I assume the programmer's done it as a user control if he's any good. Using a definition list for the content in the middle is going a bit overboard, isn't it? Personally, I don't see much evidence of him hacking up your design in the site, apart from the reservation form. It could be much, much worse. I'm an ASP.NET programmer, so I know. I actually have the reverse problem. The designer I work with doesn't have the faintest idea about standards and I'm the one cleaning out the layout tables. -- Ben Wong e: [EMAIL PROTECTED] w: http://blog.onehero.net ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] .net question
On 3/17/06, kvnmcwebn [EMAIL PROTECTED] wrote: thanks ben, ok maybe im overeacting a bit, it gets to me when i spend time doing something with css then it goes out the window for a table, No, your not overreacting, I understanding that feeling. would you just use p's and h's instead of the definition list in the middle column body text? Yeah, I would just use paragraph and header tags. Since it is just generic text. If you don't use them there, where would you use them? :) I dont know about using the table for the special offers section, i think that would work well as a defintion list Definition list seems a bit much for me. Maybe an unordered list. -- Ben Wong e: [EMAIL PROTECTED] w: http://blog.onehero.net ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] : Problem with attribute BORDER in movint to strict mode. (the dotting of t's)
To remove the border on the image you can use css... img { border: 0; } On 1/6/06, Jes Bigum [EMAIL PROTECTED] wrote: Hi, I´m trying build this site, in strict mode, bu i´m having trouble removing the border of the image inserted in the list. (the image, is supposed to shift line to the appropriate line on navigation), can anybody help me with this problem.? http://www.forandre.dk/html/ansatte.html (css not separated yet). Thank you in advance, Jes. -- Ben Wong e: [EMAIL PROTECTED] w: http://blog.onehero.net ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] best way to style addresses
I remember this question coming up before on this list. IIRC we concluded that address / was only used for contact info for the author of the document. from W3C HTML 4.01 spec: The ADDRESS element may be used by authors to supply contact information for a document or a major part of a document such as a form. This element often appears at the beginning or end of a document. For example, a page at the W3C Web site related to HTML might include the following contact information: ADDRESS A href=../People/Raggett/Dave Raggett/A, A href=../People/Arnaud/Arnaud Le Hors/A, contact persons for the A href=ActivityW3C HTML Activity/ABR $Date: 1999/12/24 23:37:50 $ /ADDRESS Personally, I'd probably just go... div class=address 123 Some Stbr / Somewherebr / SomeState1234 /div On 12/22/05, sam sherlock [EMAIL PROTECTED] wrote: Example: ADDRESS Newsletter editorBR J.R. BrownBR 8723 Buena Vista, Smallville, CT 01234BR Tel: +1 (123) 456 7890 /ADDRESS with whatever styling provided by CSS you care for. for more details see the link below http://www.w3.org/MarkUp/html3/address.html tee wrote: Hi there, I am working on a page that involves with hundred of address in different locations/cities. What is the best way to do? unordered list, definition list or table data? I am thinking to make two columns for address. Did a similar page sometimes ago with unordered list with two columns floated, because some address are 4 lines, some are 3, the result wasn't good. Thanks! tee ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help ** ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help ** -- Ben Wong e: [EMAIL PROTECTED] w: http://blog.onehero.net ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] CSS in IE Help needed.
On 12/14/05, Ric Jude Raftis [EMAIL PROTECTED] wrote: Try this Al #content { padding: 10px; margin:5px auto; background-color: #fff; border: 1px solid #000; width: 70%; /* remove this because you are setting your margin to auto*/ } errr...then the div will fill the page... ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] styling auto-generated .net id values
I'd recommend not styling with the generated ids and using classes instead. On 12/9/05, Rachel Radford [EMAIL PROTECTED] wrote: Hi everyone, Just wondering if anyone else has come across the following problem and if so, how they fixed it? I'm working with a page that has auto-generated html from a .net engine that I then style up with css. In this case I need to reference one item on the page that has an id of #_1740__ctl2__1125. When I style this up in Firefox it works fine. But it seems that IE gets stuck somewhere on the underscores and ignores the rule. I can't change the underscores because it is .net generated - even though yes, I know that underscores are not recommended as id values. Can anyone help me on how I would get around this? Thanks, Rachel p.s. I don't have the option of ditching IE support!! ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help ** -- Ben Wong e: [EMAIL PROTECTED] w: http://blog.onehero.net ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] absolute positioning?
Hi Greg, Although it's an interesting thing you're trying to do. I think it's a bit hacky. While it's seem table-like it's actually a graph and I'd probably consider a few other options. 1. do the third column with images 2. do the entire graph as one big image or 3. use SVG If you still think using the pure table is the go, then you might find the following link helpful... http://www.find-a-psychiatrist.com/ whoops, I meant this one :P... http://www.stopdesign.com/articles/absolute/index.html HTH Ben On 12/8/05, Greg Morphis [EMAIL PROTECTED] wrote: Hey, I'm trying to build a daily schedule view which will have schedules from 6am - 10pm. I'm not sure if this is the correct approach so I'm asking for help... I was thinking of using a table with 3 columns, 1 column for the name, 1 column for job title and 1 column for their daily schedule. I was thinking of using spans for the various tasks that the users will have throughout their day. table width=790px; border=1 tr td width=75pxPat Smoot/td td width=75pxCSR/td td width=640pxspan style=left:0px;width:140px;background-color:blue;text-align:center;Work/span/td /tr /table the border is just for viewing.. I believe what I need to use is absolutle positioning however when I add that to the inline CSS statement, the width works but the span is moved out of the cell table element. I'm no CSS wiz, I'm just a beginner and hoping one of you can suggest some sites to look at, tutorials or code snippets. I also tried all CSS and didnt get too far either.. div id=schedule div id=schedule_row style=position:absolute;width:790px; span id=user style=position:absolute;left:0px;width:75px;text-align:center;Pat Smoot/span span id=job style=position:absolute;left:75px;width:75px;text-align:center;CSR/span span class=task style=position:relative;width:120px;left:120px;text-align:center;background-color:blue;Work/span /div /div I'm trying to make it look something like this... http://home.alltel.net/omen/schedule_example.jpg Thanks! -- Auxilium meum a Domino ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help ** -- Ben Wong e: [EMAIL PROTECTED] w: http://blog.onehero.net ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] Need help with form
Dunno, doesn't it give you any feedback? By the way, the page isn't valid according to w3c validator either. http://validator.w3.org/check?verbose=1uri=http%3A//mouseriders.dk/check.php On 12/8/05, Kim Kruse [EMAIL PROTECTED] wrote: Hi, I thought I've done everything correct with my forms... but no. So now I'm trying to figure out why Cynthia/WEBXACT fails my form pages. I just don't understand what it is I'm supposed to do with these forms. So if someone would tell me what it is I need to do to make cynthia happy and me understand I'll be happy too. http://mouseriders.dk/check.php Thanks Kim ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help ** -- Ben Wong e: [EMAIL PROTECTED] w: http://blog.onehero.net ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] standards or confusion?
Sorry, if it seemed like I implied that, but even if you don't, just the experience of the pain of having to maintain that sort of code would eliminate any thought of reverting to the old school way of making web sites. On 12/5/05, Bob Schwartz [EMAIL PROTECTED] wrote: Exactly where in my posts did I say I create web sites in the style of my friend? On 12/4/05, Bob Schwartz [EMAIL PROTECTED] wrote: None of those. I just mentioned that I was unable to convice my friend to change his ways and his strongest reason not to was his (fairly complicated) site that worked just fine in a lot of browsers which he built without jumping through any of the hoops I go through trying to get a complicated layout to work in as many browsers. I'm all for standards and everything else this list is about, but I do feel we might be spending a lot of time preparing for a State Dinner when what we are really going to attend is a come-as-you- are BBQ in the backyard. If it's HTML 2.0 I assume it's got numerous font tags mixed in with the multiple nested tables. I guess you and you're friend only create web sites as a once of service and don't maintain them for your clients because maintaining tag soup is not fun and that is the biggest advantage of CSS and tableless layouts. Sure when you first start out creating tableless layouts they take a while, but it gets easier and faster the more you do it - probably like when you first learn how to design layouts using tables. -- Ben Wong e: [EMAIL PROTECTED] w: http://blog.onehero.net ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help ** ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help ** -- Ben Wong e: [EMAIL PROTECTED] w: http://blog.onehero.net ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] getElementById() always returns null
It's because the code is being executed before the tags with the matching ids are created. On 12/6/05, Chris Lamberson [EMAIL PROTECTED] wrote: Through foresight, i already know this will be a very pitiful question to real web designers, so bear with me. I was having some trouble finding out why, whenever I call for document.getElementById(id), it returns null (even if there is a valid id-matching element). Consider something simple, like this: html head titleJavaScript Testing/title style type=text/css media=screen a { font: normal 24px Trebuchet MS; } p { display: none; } /style script type=text/javascript var toggle = document.getElementById('toggle'); var onoff = document.getElementById('onoff'); toggle.onmouseover = function() { onoff.style.display = 'inline'; } toggle.onmouseout = function() { onoff.style.display = 'none'; } /script /head body a id=toggle href=#Hover toggle/a p id=onoffHello world!/p /body /html Sorry I don't have a live example. The point is that the getElementById() calls for some reason appear to return null, as if they didn't find anything. Thanks, any help is appreciated! -- Ben Wong e: [EMAIL PROTECTED] w: http://blog.onehero.net ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] standards or confusion?
On 12/4/05, Bob Schwartz [EMAIL PROTECTED] wrote: None of those. I just mentioned that I was unable to convice my friend to change his ways and his strongest reason not to was his (fairly complicated) site that worked just fine in a lot of browsers which he built without jumping through any of the hoops I go through trying to get a complicated layout to work in as many browsers. I'm all for standards and everything else this list is about, but I do feel we might be spending a lot of time preparing for a State Dinner when what we are really going to attend is a come-as-you- are BBQ in the backyard. If it's HTML 2.0 I assume it's got numerous font tags mixed in with the multiple nested tables. I guess you and you're friend only create web sites as a once of service and don't maintain them for your clients because maintaining tag soup is not fun and that is the biggest advantage of CSS and tableless layouts. Sure when you first start out creating tableless layouts they take a while, but it gets easier and faster the more you do it - probably like when you first learn how to design layouts using tables. -- Ben Wong e: [EMAIL PROTECTED] w: http://blog.onehero.net ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] Learning asp.net with standards
On 12/4/05, Chris Kennon [EMAIL PROTECTED] wrote: Dear List: A pending graduate IT student asked my opinion on .net technologies. My understating, less than a month old, designing UI's for .net applications, is that the need for standards within this framework is without question. Having approached the list last month with issues regarding CSS implementation in the .net framework, leaves me with the question how best to guide this student on utilizing web standards with .net technology? A great opportunity exists to usher someone into best practices. My advice for making web standards compliant ASP.NET site from my own experience... * Understand (X)HTML and CSS and how to make a web standards compliant web site without ASP.NET * Understand how ASP.NET web controls are render (X)HTML i.e., asp:datagrid - table, asp:label - span * If the ASP.NET web controls don't render standards compliant (X)HTML then learn how to make your own custom controls Basically, understand how ASP.NET generates the code for the web page and if it doesn't do it properly be prepared to hack it into doing it properly. Ben Wong e: [EMAIL PROTECTED] w: http://blog.onehero.net ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] My Turn for a Site Critique
Nice styles, although it's a bit too pastel for my taste. I think the stylesheet switch is being done to late. I always see a switch over from autumn to spring. On 11/29/05, Samuel Richardson [EMAIL PROTECTED] wrote: Ok, it's my turn for a site critique: http://www.seasonstravel.com.au/ What I'm worried about: - A new stylesheet loads depending on what season your computer clock is currently in, it should also load a default stylesheet if you don't have javascript enabled, is their any browsers that might have a problem with this? - I've only checked the site in Firefox and IE on the PC. If anybody has a mac I'd love for ya to take a quick look at it and let me know if anything is wrong with it. Samuel ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help ** -- Ben Wong e: [EMAIL PROTECTED] w: http://blog.onehero.net ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
[WSG] CSS equivalent for image alignment
Hi all, What is the CSS way of setting the align attribute of img / to middle? e.g., img src=___ align=middle / I just want to align text to the middle of an button image sitting on the same line instead of to the bottom of it. TIA -- Ben Wong e: [EMAIL PROTECTED] w: http://blog.onehero.net ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] ASP.NET XHTML compliant blogging
I used to use .Text and hacked the code to output standards compliant code with moderate success. ASP.NET 1.1 wasn't inherently designed with standards in mind (2.0 has though), but there are a few articles floating around to fix that (e.g., http://www.aspnetresources.com/articles/HttpFilters.aspx). I've since switched over to Wordpress. On 11/21/05, Mark B [EMAIL PROTECTED] wrote: Hi All Does anyone know of any blogging software that's asp.net based that produces XHTML compliant code, or can be persuaded to do so without heaps of work? I've checked out dasblog, community server (AKA .text) and singleuserblog, and they all have errors in the dozens or hundreds on their default skins. Cheers, Mark -- Ben Wong e: [EMAIL PROTECTED] w: http://blog.onehero.net ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **