[css-d] Padding/Margin problem - different in IE6 and Firefox

2006-01-23 Thread JJ
On the following site I have a two column layout with the left and right hand columns using the following, respectively: #nav { width: 175px; float: left; padding: 55px 17px 100px 17px; } #content { margin-left: 175px; width: 540px; padding: 25px 15px; vertical-align: top; border-right:

[css-d] Newb Questions

2006-01-16 Thread JJ
I'm pretty new at using CSS, especially for site layout. I was working on translating a very simple site over the weekend, a couple very basic questions came up. If I'm using divs with IDs for layout, is there any reason to use one or the other convention in my stylesheet? div#content {... #

Re: [css-d] Rows of divs all same height?

2006-01-11 Thread JJ
- Original Message - From: "Ingo Chao" <[EMAIL PROTECTED]> To: Sent: Wednesday, January 11, 2006 1:54 AM Subject: Re: [css-d] Rows of divs all same height? > JJ wrote: >> Can this be done? I have a fluid layout with divs laid out left to >> right >&g

[css-d] Rows of divs all same height?

2006-01-11 Thread JJ
Can this be done? I have a fluid layout with divs laid out left to right in rows. Since the amount of text within each varies, the divs should ideally be resized in terms of height, but to keep the layout neat I need all divs in the same row to assume the same height. Different rows can be d

[css-d] Collapse a DIV?

2005-10-24 Thread JJ
Is there a simple means of designating the properties of a DIV so that it will collapse to the width of the longest line of text inside? For example: Please correct the following: Enter a message subject. Your message may not be blank. ___

[css-d] Vertically aligning image and text

2005-09-29 Thread JJ
I need to display a map legend. This consists of a vertical list of images with a text explanation (never more than a few words) immediately to the right of each image. What is best way to display the image (26px tall) and then the text (about 12px tall) on the same line, with the text vertic

Re: [css-d] Alternating row colors in table

2005-09-05 Thread JJ
- Original Message - From: "Ricky Zhou" <[EMAIL PROTECTED]> To: "JJ" <[EMAIL PROTECTED]> Cc: Sent: Monday, September 05, 2005 10:57 AM Subject: Re: [css-d] Alternating row colors in table I'd ideally like to apply the style to the tags rather th

[css-d] Alternating row colors in table

2005-09-05 Thread JJ
I'm trying to setup styles for a simple table that will allow me to easily alternate row colors. For simplicity in programming the page generation, I'd ideally like to apply the style to the tags rather than the tags, but I'm not sure how to designate that in the css. Is this possible? ta