Previous Message
Next Message

Div appearing half way down page, cannot make it be at top of page

Sent by Roger Roelofs on 12 February 2005 14:02


Tom,
On Feb 11, 2005, at 4:03 AM, Tom Whitbread wrote:

> I am having a problem with a layout I have designed. I intended to 
> have 2 images purely for "eye-candy" value to appear on the left and 
> right sides of a wrapper div, thus creating a outer glow effect.
> You can see the said website here 
> http://www.retinalnerve.com/scantools/index.php
>
> The left outer glow is working fine here, as you will see. But the 
> right side 
> (http://www.retinalnerve.com/scantools/images/site_right.jpg)  is not,

I think there is an easier way (2 in fact).

Because this is a fixed width layout, you could combine the left and 
right into 1 image that is 794px wide, set as the background image on 
#wrapper and add repeat-y to tile down the page.

If you want a flexible width #wrapper, you could add an 'inner' div 
just inside of #wrapper to attach the other image to.  That is simpler 
and less error-prone than floating an extra div to hold the image.  
This way you can avoid some of ie's float bugs.

hth
Roger,

Roger Roelofs
Know what you value.

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: