DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Fri, 3 Aug 2007 14:13:59 -0400,    posted on: microsoft.public.dotnet.framework.aspnet        back       

Thread Index
  1    Nathan Sokalski


Different renderings of <br/> and <br></br> in IE6   
Something that I recently noticed in IE6 (I don't know whether it is true 
for other browsers or versions of IE) is that it renders <br/> and <br></br> 
differently. With the <br/> version, which is what most people use when they 
write static code (some people use <br>, but with xhtml you are required to 
close all tags), IE6 simply breaks to the next line like it is supposed to. 
However, with <br></br>, which is what is sometimes generated by certain 
server-side code (for example, ASP.NET/VB.NET's HtmlGenericControl("br") 
class renders <br></br>), an extra blank line is rendered. IE6 appears to be 
interpreting <br></br> as <br/><br/>, but <br/> and <br></br> are supposed 
to be the same thing (<br/> is just the self closing syntax of <br></br>), 
so there shouldn't be a difference in how the browser renders them. Does 
anybody have any comments on this? Thanks.
-- 
Nathan Sokalski
njsokalski@hotmail.com
http://www.nathansokalski.com/
Date:Fri, 3 Aug 2007 14:13:59 -0400   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us