W3C home > Mailing lists > Public > www-style@w3.org > January 2005

Re: height property and character encodings

From: ~FurSid <abdul.qadir@bitsonline.net>
Date: Fri, 14 Jan 2005 18:10:55 +0500
To: www-style@w3.org
Cc: idude@idude.net
Message-Id: <20050114180415.9BBE.ABDUL.QADIR@bitsonline.net>

Hey Chuck,
look what I tried and found working for vertical heights.


<div style="background-color:#f2f2f2; border:1px solid #ff6600; height:220px; display:table-cell; vertical-align:bottom; padding:5px">
     Main Div
     <div style="background-color:#ffeecc; border:1px dotted #000000; height:80px; display:table-cell; vertical-align:middle; padding:5px">
         Nested div


It doesn't work with MSIE, though (at least) works fine with Mozilla FireFox. The key is "display:table-cell" declaration n then it's the regular
"verticl-align" settings that u set.... ;-)


Web Engineer
b.i.t.s. [Associates of JWT Asiatic]
cell: [ 0320-4051131 ]
gMail: fursid@gmail.com

"I do not think much of a man who is not wiser today than he was 

(Abraham Lincoln)

This email may be confidential, may be legally privileged, and is for
the intended recipient only.Unauthorised access, disclosure, copying,
distribution, or reliance on any of it by anyone else is prohibited and
may be a criminal offence. Please delete if obtained in error and email
confirmation to the sender.

-- Original Message --
On Wed, 12 Jan 2005 06:06:49 -0500
idude@idude.net wrote:

> ~FurSid,
> I have been concerned with the growing size of the CSS file myself.
> I have been contemplating the use of additional <link> tags which
> be dynamically generated to use additional styles based on the type
> of page being executed.  Another thing I have thought about is the use
> of imports in the CSS file itself.  I was thinking about modularizing
> the styles according to use.  One more thought I have is about making
> the CSS file itself dynamic. i.e.  css-styles.asp
> perhaps passing parameters into it.
> BTW, where are you located?
> -Chuck
> i.e.  productdetail.css, category.css, subcategory.css
> I have been thinking about recoding the CSS used to display
> product detail pages.   I think the use of semantic naming conventions
> makes sense. 
> >Hi Chuck,
> >
> >Yes, this would absolutely work, but again, as u proposed, if we had
> >vAlign thing, we could use it for vertically middle alignment as well.
> >
> >I'm also working with applications like you, that are database driven,
> >and I have to make sure my layout caters to the data and is presented well
> >in my design.
> >
> >I am trying to transition from HTML to XHTML and table-driven designs to
> >table-less. The current project i'm working on is going to be table-less
> >completely (unless where there's tabular data and/or ASP.Net objects
> >make tables by default).
> >
> >What I worry now is the size of my CSS file, which is nearly 25kb. That
> >freaks me out.
> >
> >Regards
> >
> >~FurSid
> >Web Engineer
> >b.i.t.s. [Associates of JWT Asiatic]
> >cell: [ 0320-4051131 ]
> >gMail: fursid@gmail.com
> >
> >--
> >When praying, don't give God instructions --  just report for 
> >duty.
> >
> >  
> >
Received on Friday, 14 January 2005 13:12:21 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:16 UTC