- How can I tackle this problem?

Here's what I'm trying to do :
- Vertically center a table
- Add gradients above and below the table (1px wide,
repeating x-axis)
- At the end of these gradients, display opaque color (of the
same color as
the last pixel in the gradient)
- The gradients must be aligned with the table in the middle
- The center table must be the only foreground element
creating scrollbars
(if screen resolution allows for center table but not all
gradients,
gradients are cut off - sans scrollbars).
In other words, try to picture a kind of "glow" effect above
and below the
center table, that segues into opaque colors that differ on
top and on
bottom (so a background color in the body is not possible).
Here is as close as I was able to do it :
- 3 row table : gradient on 1st row bottom-justified, content
table on 2nd
row, gradient on 3rd row (top-justified)
- body bg = same color as last pixel on bottom gradient
Downsides of this method :
- Gradients are included in foreground space (create
scrollbars)
- Vertical centering of main content table is an illusion
(not true
centering, since top gradient area will always be same
height)
Using CSS and HTML only... is it possible to vertically
center a content
table, and have 2 different gradients at top and bottom that
fade into a
solid color to adapt to ALL screen resolutions, with only the
main content
table counting as scrollable content?

Well, there was a lot more to the problem than just that...
but thanks
anyway. :)
"Murray *ACE*" <[email protected]> wrote
in message
news:[email protected]...
> To vertically center the table, read this -
>
>
http://www.apptools.com/examples/tableheight.php
>
> --
> Murray --- ICQ 71997575
> Adobe Community Expert
> (If you *MUST* email me, don't LAUGH when you do so!)
> ==================
>
http://www.dreamweavermx-templates.com
- Template Triage!
>
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
>
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
>
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
> ==================
>
>
> "Reese" <[email protected]> wrote in message
> news:[email protected]...
>> Here's what I'm trying to do :
>>
>> - Vertically center a table
>> - Add gradients above and below the table (1px wide,
repeating x-axis)
>> - At the end of these gradients, display opaque
color (of the same color
>> as the last pixel in the gradient)
>> - The gradients must be aligned with the table in
the middle
>> - The center table must be the only foreground
element creating
>> scrollbars (if screen resolution allows for center
table but not all
>> gradients, gradients are cut off - sans scrollbars).
>>
>> In other words, try to picture a kind of "glow"
effect above and below
>> the center table, that segues into opaque colors
that differ on top and
>> on bottom (so a background color in the body is not
possible).
>>
>> Here is as close as I was able to do it :
>>
>> - 3 row table : gradient on 1st row
bottom-justified, content table on
>> 2nd row, gradient on 3rd row (top-justified)
>> - body bg = same color as last pixel on bottom
gradient
>>
>> Downsides of this method :
>> - Gradients are included in foreground space (create
scrollbars)
>> - Vertical centering of main content table is an
illusion (not true
>> centering, since top gradient area will always be
same height)
>>
>> Using CSS and HTML only... is it possible to
vertically center a content
>> table, and have 2 different gradients at top and
bottom that fade into a
>> solid color to adapt to ALL screen resolutions, with
only the main
>> content table counting as scrollable content?
>>
>
>

Similar Messages

Maybe you are looking for

  • Does anyone know how to use the Yoga 2 Pro Recovery Media?

    Hey guys, Tech support is not being helpful at all. I paid $60 just for some recovery discs to recover my accidentally formatted Yoga 2 Pro. The discs came with no instructions whatsoever, and using them is weird. First of all, there is two disc 1's,

  • Inexperienced but Learning, with a Bouncing Question

    Hello, I'm writing because I've tried all I can up to this point, so am seeking out other great resources such as this discussion board. Everything's worked without a hitch, thus far. Logic Express is good, no problems at all . . . until the time com

  • How to play videos with mkv format on imac

    i have purchased a new imac(intel) just four days back. i want to know what is the method for playing videow with mkv format.

  • WebDAV message

    I also am getting a webDAV file system authentication message sporadically that i can't get rid of. I have shut down and/or restarted my computer and run repair permissions and those steps seemed to work for awhile, but now it's back. I don't have th

  • FX6800-05 from Gateway

    Best Buy carries the "FX6800-01E" but what about the "FX6800-05"? What happened to this computer?  It was listed on Gateway's website last week as "for sale at Best Buy."  But it was never for sale there, and now it has vanished from Gateway's websit