HighDots Forums  

height, min-height ie7

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss height, min-height ie7 in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
hzgt9b
 
Posts: n/a

Default height, min-height ie7 - 02-04-2008 , 01:13 PM






Background:
I have a page with some divs containing text. The divs need to be a
minimum height of 100px. When the text inside a div overflows the div
should grow (down the page) as needed. Text should be centered...

Problems
1. height vs min-height across browsers...
I was able to get a partial solution using child selectors to get
aroud the min-height problem in <=IE6, latest firefox, NN and Opera
but not in IE7. Can someone help me with the CSS?

2. text-align:center...
Works in IE browsers but does not center the text on my page when
displayed in FF, NN and Opera... should I be using align:center as a
table attribute?


Here's a sample page: http://www12.asphost4free.com/emailceloftis/

Reply With Quote
  #2  
Old   
dorayme
 
Posts: n/a

Default Re: height, min-height ie7 - 02-04-2008 , 02:19 PM






In article
<690803b3-cb4b-4547-864a-d2bb53893d42 (AT) v67g2000hse (DOT) googlegroups.co
m>,
hzgt9b <celoftis (AT) gmail (DOT) com> wrote:

Quote:
Here's a sample page: http://www12.asphost4free.com/emailceloftis/
Read

<http://validator.w3.org/check?verbos...%2F%2Fwww12.as
phost4free.com%2Femailceloftis%2F>

--
dorayme


Reply With Quote
  #3  
Old   
hzgt9b
 
Posts: n/a

Default Re: height, min-height ie7 - 02-04-2008 , 03:51 PM



On Feb 4, 3:19*pm, dorayme <doraymeRidT... (AT) optusnet (DOT) com.au> wrote:
Quote:
In article
690803b3-cb4b-4547-864a-d2bb53893... (AT) v67g2000hse (DOT) googlegroups.co
m>,

*hzgt9b <celof... (AT) gmail (DOT) com> wrote:
Here's a sample page:http://www12.asphost4free.com/emailceloftis/

Read

http://validator.w3.org/check?verbos...%2F%2Fwww12.as
phost4free.com%2Femailceloftis%2F

--
dorayme
Ok, I cleaned up my errors - note that the remaining (10) errors out
of my control as they are inserted automatically by my host.


Reply With Quote
  #4  
Old   
hzgt9b
 
Posts: n/a

Default Re: height, min-height ie7 - 02-04-2008 , 04:41 PM



On Feb 4, 4:51*pm, hzgt9b <celof... (AT) gmail (DOT) com> wrote:
Quote:
On Feb 4, 3:19*pm, dorayme <doraymeRidT... (AT) optusnet (DOT) com.au> wrote:

In article
690803b3-cb4b-4547-864a-d2bb53893... (AT) v67g2000hse (DOT) googlegroups.co
m>,

*hzgt9b <celof... (AT) gmail (DOT) com> wrote:
Here's a sample page:http://www12.asphost4free.com/emailceloftis/

Read

http://validator.w3.org/check?verbos...%2F%2Fwww12.as
phost4free.com%2Femailceloftis%2F

--
dorayme

Ok, I cleaned up my errors - note that the remaining (10) errors out
of my control as they are inserted automatically by my host.
Got it - I played around with a couple of hacks ("*", "!important" +
child selectors) until I got this to work...
Here's what I came up with:
http://www12.asphost4free.com/emailceloftis/test.html


Reply With Quote
  #5  
Old   
dorayme
 
Posts: n/a

Default Re: height, min-height ie7 - 02-04-2008 , 07:39 PM



In article
<6953e8e6-8623-4d4d-98e6-5a06d95eb95f (AT) d4g2000prg (DOT) googlegroups.com
Quote:
,
hzgt9b <celoftis (AT) gmail (DOT) com> wrote:

Quote:
On Feb 4, 4:51*pm, hzgt9b <celof... (AT) gmail (DOT) com> wrote:
On Feb 4, 3:19*pm, dorayme <doraymeRidT... (AT) optusnet (DOT) com.au> wrote:

In article
690803b3-cb4b-4547-864a-d2bb53893... (AT) v67g2000hse (DOT) googlegroups.co
m>,

*hzgt9b <celof... (AT) gmail (DOT) com> wrote:
Here's a sample page:http://www12.asphost4free.com/emailceloftis/

Read

http://validator.w3.org/check?verbos...%2F%2Fwww12.as
phost4free.com%2Femailceloftis%2F

--
dorayme

Ok, I cleaned up my errors - note that the remaining (10) errors out
of my control as they are inserted automatically by my host.

Got it - I played around with a couple of hacks ("*", "!important" +
child selectors) until I got this to work...
Here's what I came up with:
http://www12.asphost4free.com/emailceloftis/test.html
No time to look deeply at this but there is a lot about centering
all over the show.

I know there is something up at:

<http://netweaver.com.au/alt/shrinkTo...teringShrinkTo
Fit.html>

You might find this informative in some way.

Take a look at something more comprehensive:

http://dorward.me.uk/www/centre/

Just by the way, it is customary t ask here, no intrusive
rudeness meant, are you laying out tabular data?

--
dorayme


Reply With Quote
  #6  
Old   
hzgt9b
 
Posts: n/a

Default Re: height, min-height ie7 - 02-04-2008 , 10:28 PM



On Feb 4, 8:39*pm, dorayme <doraymeRidT... (AT) optusnet (DOT) com.au> wrote:
Quote:
In article
6953e8e6-8623-4d4d-98e6-5a06d95eb... (AT) d4g2000prg (DOT) googlegroups.com





,
*hzgt9b <celof... (AT) gmail (DOT) com> wrote:
On Feb 4, 4:51*pm, hzgt9b <celof... (AT) gmail (DOT) com> wrote:
On Feb 4, 3:19*pm, dorayme <doraymeRidT... (AT) optusnet (DOT) com.au> wrote:

In article
690803b3-cb4b-4547-864a-d2bb53893... (AT) v67g2000hse (DOT) googlegroups.co
m>,

*hzgt9b <celof... (AT) gmail (DOT) com> wrote:
Here's a sample page:http://www12.asphost4free.com/emailceloftis/

Read

http://validator.w3.org/check?verbos...%2F%2Fwww12.as
phost4free.com%2Femailceloftis%2F

--
dorayme

Ok, I cleaned up my errors - note that the remaining (10) errors out
of my control as they are inserted automatically by my host.

Got it - I played around with a couple of hacks ("*", "!important" +
child selectors) until I got this to work...
Here's what I came up with:
* * *http://www12.asphost4free.com/emailceloftis/test.html

No time to look deeply at this but there is a lot about centering
all over the show.

I know there is something up at:

http://netweaver.com.au/alt/shrinkTo...teringShrinkTo
Fit.html

You might find this informative in some way.

Take a look at something more comprehensive:

http://dorward.me.uk/www/centre/

Just by the way, it is customary t ask here, no intrusive
rudeness meant, are you laying out tabular data?

--
dorayme- Hide quoted text -

- Show quoted text -
Thanks for the links - always good to review this info...
Not tabular data - dynamic instruction/question/response text for
training quizes - text comes from XML or database...


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.