4WebHelp
 FAQ  •  Search  •  User Groups  •  Forum Admins  •  Smilies List  •  Statistics  •  Rules   •  Login   •  Register
Toggle Navigation Menu

 min-height as %
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic
Author Message
OllieMaitland
Junior WebHelper
Junior WebHelper


Joined: 06 Dec 2003
Posts: 25

PostPosted: Mon Mar 29, 2004 8:02 pm (20 years ago) Reply with QuoteBack to Top

I'm developing a site but have come up against a problem with getting FireFox to take on a min-height value in a percentage...

If you view:

http://sbjewellery.co.uk/sbj/catalogue/1/2

then the page displays as normal

However:

http://sbjewellery.co.uk/sbj/resource/aboutus

and obviously the div in the middle is not expanding in FireFox...I have
height:auto;
min-height:84%;
in the "firefox readable" class...

CSS : http://sbjewellery.co.uk/html/css/template.css

Any ideas?

________________________________
http://dev.byng-designs.com <- Things I'm working on
OfflineView User's ProfileFind all posts by OllieMaitlandSend Personal MessageSend email
adam
Forum Moderator & Developer



Joined: 26 Jul 2002
Posts: 704
Location: UK

PostPosted: Mon Mar 29, 2004 10:12 pm (20 years ago) Reply with QuoteBack to Top

first things first, validate the CSS - then if it still doesn't work we'll see what we can do

________________________________
It's turtles all the way down...
OfflineView User's ProfileFind all posts by adamSend Personal MessageVisit Poster's Website
OllieMaitland
Junior WebHelper
Junior WebHelper


Joined: 06 Dec 2003
Posts: 25

PostPosted: Mon Mar 29, 2004 10:44 pm (20 years ago) Reply with QuoteBack to Top

yeah - i tried taking out the opacity labels...whcih resulted in no error from the validator...however the problem still persists...

while on the opacity question... is this wrong?

Code:

    filter:alpha(opacity='75');
    -moz-opacity:0.75;

________________________________
http://dev.byng-designs.com <- Things I'm working on
OfflineView User's ProfileFind all posts by OllieMaitlandSend Personal MessageSend email
adam
Forum Moderator & Developer



Joined: 26 Jul 2002
Posts: 704
Location: UK

PostPosted: Tue Mar 30, 2004 12:09 pm (20 years ago) Reply with QuoteBack to Top

I think the problem is the quotes, you don't need them - the rest should be ok.

I can't figure out why the height isn't being set - it may be a bug in mozilla, but I'm really not sure.

________________________________
It's turtles all the way down...
OfflineView User's ProfileFind all posts by adamSend Personal MessageVisit Poster's Website
Robert Wellock
WebHelper
WebHelper


Joined: 18 Jan 2002
Posts: 61
Location: Yorkshire - UK

PostPosted: Tue Mar 30, 2004 2:20 pm (20 years ago) Reply with QuoteBack to Top

If you set a min-height % on an auto then it has nothing to directly reference from.

Quote:
If the height of the containing block is not specified explicitly (i.e., it depends on content height), the percentage value is treated as '0' (for 'min-height') or 'none' (for 'max-height').

________________________________
};-) http://www.xhtmlcoder.com/
OfflineView User's ProfileFind all posts by Robert WellockSend Personal MessageVisit Poster's Website
OllieMaitland
Junior WebHelper
Junior WebHelper


Joined: 06 Dec 2003
Posts: 25

PostPosted: Tue Mar 30, 2004 6:40 pm (20 years ago) Reply with QuoteBack to Top

ah ok so...basically i have to use


min-height:600px; or something?

Is there an easier way to do have the div ("subcontent") stretching down to the end of "content"?

________________________________
http://dev.byng-designs.com <- Things I'm working on
OfflineView User's ProfileFind all posts by OllieMaitlandSend Personal MessageSend email
Display posts from previous:      
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic


 Jump to:   




You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot edit your posts in this forum.
You cannot delete your posts in this forum.
You cannot vote in polls in this forum.


Page generation time: 0.142162 seconds :: 18 queries executed :: All Times are GMT
Powered by phpBB 2.0 © 2001, 2002 phpBB Group :: Based on an FI Theme