This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Dreamweaver > January 2005 > Re: css: How can I make a vertical side division stretch in keeping
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Re: css: How can I make a vertical side division stretch in keeping
|
|
| Dan Vendel *GOF* 2005-01-17, 7:14 am |
| adrian.stock22 wrote:
> css: How can I make a vertical side division stretch in keeping with the main
> division Hi All, I use Dreamweaver MX, am learning css, and am trying to do
> with divisions ( <div> ) what I used to do with tables and cells in the past.
> I am creating a template with three vertical divisions: left, main, right.
> Position: absolute. The main division will contain the text etc of several
> pages, some long, some short. The left division will have a background image
> (simple square pattern, which can be repeated) and will contain the vertical
> menu. The main division will be stretched as required by the content it
> receives. Therefore the 'height' of the main division will change
> automatically, whatever I specify initially. Question: How can I make sure
> that the left division (with the pattern background) stretches when the main
> division stretches. Whatever height I specify for the left division it may
> turn out to be shorter than the main division, whereas I want it to continue.
> Your help will be much appreciated. Adrian
>
IMHO, when the divs are causing you headache: Use a table.
There's nothing in the world that says you *need* to use divs even if
the advanced code geeks think it's cool. Show some integrity and use the
means that does the job best and in relation to your skills/ambitions.
Regardless of what others might say.
Tables validate, tables will render nicely in all browsers, tables
rarely (if ever) need hacks and conditional statements for God knows how
many browsers do work.
--
Dan Vendel - *GOF*
"Eagles may soar, free and proud, but weasels never get sucked into jet
engines."
Contact: http://www.proformica.com/contact.shtml or call/chat me via
Skype ID: danvendel, but DON'T ask questions that you can ask here! (get
Skype at http://skype.com)
Formmail tutorial: http://www.proformica.com/formmail-tutorial.shtml
Nested table demo: http://www.proformica.com/nested-table-demo.shtml
Basic HTML bulk mail tutorial: http://www.proformica.com/bulkmail.shtml
Search engine optimization: http://www.proformica.com/seo.shtml
| |
| Dan Vendel *GOF* 2005-01-19, 12:17 pm |
| adrian.stock22 wrote:
> css: How can I make a vertical side division stretch in keeping with the main
> division Hi All, I use Dreamweaver MX, am learning css, and am trying to do
> with divisions ( <div> ) what I used to do with tables and cells in the past.
> I am creating a template with three vertical divisions: left, main, right.
> Position: absolute. The main division will contain the text etc of several
> pages, some long, some short. The left division will have a background image
> (simple square pattern, which can be repeated) and will contain the vertical
> menu. The main division will be stretched as required by the content it
> receives. Therefore the 'height' of the main division will change
> automatically, whatever I specify initially. Question: How can I make sure
> that the left division (with the pattern background) stretches when the main
> division stretches. Whatever height I specify for the left division it may
> turn out to be shorter than the main division, whereas I want it to continue.
> Your help will be much appreciated. Adrian
>
IMHO, when the divs are causing you headache: Use a table.
There's nothing in the world that says you *need* to use divs even if
the advanced code geeks think it's cool. Show some integrity and use the
means that does the job best and in relation to your skills/ambitions.
Regardless of what others might say.
Tables validate, tables will render nicely in all browsers, tables
rarely (if ever) need hacks and conditional statements for God knows how
many browsers do work.
--
Dan Vendel - *GOF*
"Eagles may soar, free and proud, but weasels never get sucked into jet
engines."
Contact: http://www.proformica.com/contact.shtml or call/chat me via
Skype ID: danvendel, but DON'T ask questions that you can ask here! (get
Skype at http://skype.com)
Formmail tutorial: http://www.proformica.com/formmail-tutorial.shtml
Nested table demo: http://www.proformica.com/nested-table-demo.shtml
Basic HTML bulk mail tutorial: http://www.proformica.com/bulkmail.shtml
Search engine optimization: http://www.proformica.com/seo.shtml
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|