PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Graphisme & Infographie > macromedia.dreamweaver > setting a minimum column height with CSS?
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
setting a minimum column height with CSS?

Réponse
 
LinkBack Outils de la discussion
Vieux 30/06/2008, 16h56   #1
graylensman
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut setting a minimum column height with CSS?

I'm working on a website with two column layout. The left column contains a
list of site navigation links, the right column contains actual content for any
given page. I'm using CSS to set a left-hand rule that runs the height of the
right-hand column. On some pages, there's a lot of content; on others, very
little. When there's little content, my rule doesn't run as long as the links
list, because the rule is applied to the right column.

So, I want this rule to run at least as long as that left column, but run as
long as the content in the right column when needed. Here are links to a couple
of pages, so you can see what's going on:

Good:
http://www.hillphoenix.com/web_redes.../techInfo.html

Not so good:
http://www.hillphoenix.com/web_redes.../whatsNew.html


Thanks for your , in advance!

  Réponse avec citation
Vieux 30/06/2008, 17h36   #2
Bretz
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: setting a minimum column height with CSS?

graylensman wrote:
|| I'm working on a website with two column layout. The left column
|| contains a list of site navigation links, the right column contains
|| actual content for any given page. I'm using CSS to set a left-hand
|| rule that runs the height of the right-hand column. On some pages,
|| there's a lot of content; on others, very little. When there's
|| little content, my rule doesn't run as long as the links list,
|| because the rule is applied to the right column.
||
|| So, I want this rule to run at least as long as that left column,
|| but run as long as the content in the right column when needed. Here
|| are links to a couple of pages, so you can see what's going on:
||
|| Good:
|| http://www.hillphoenix.com/web_redes.../techInfo.html
||
|| Not so good:
|| http://www.hillphoenix.com/web_redes.../whatsNew.html
||
||
|| Thanks for your , in advance!

hello,

apply this to your right column div and change 430px to whatever you want

min-height: 430px;
height:auto;
_height: 430px;

regards

bretz


  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 06h59.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,09932 seconds with 10 queries