> -----Original Message----- > From: andy wix [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 24, 2004 3:27 AM > To: [EMAIL PROTECTED] > Subject: Tiles and well formed html > > > Hi, > > I have a trypical layout and each tile has its own style > sheet and is well > formed html. > My problem is that only 1 style sheet is being used for the > whole page. I > saw in the mail archives that someone suggested using <DIV> > tags but this > doesn't seem to work for me (I've tried both in the tiles and in the > layout.jsp). Does anyone know what is considered best > practice for this > requirement. It seems counter-intuitive to have your tiles > not well formed > html but if this is the solution which tile would you pick > for the 'main' > html tags or does it even matter?
Like Ruben, I also use css and divs. My CSS goes into the layout (since the layout page is the one with the <head tag in it). I usually then include the tiles functionality to list one or more additional css files underneath that, just in case. I do the same thing with JavaScript's. One main series of hard coded js that I know I'll be using everywhere, and a list of those I want included for only certain pages. I then wrap each section with a div, like Ruben showed. I don't know if Ruben does this, but I take it a step farther, I also wrap each tile page in a div as well. This is because I have encountered situations where I'm using the same page as a summary tile and sometimes as the main page. This allows me to do have different styles depending on where the page is. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]