View Full Version : IS there a way to give a list it's own background?
03-08-2005, 11:16 PM
So, would it be possible to give a simple <ul> its own background? or would it have to be in a table?
03-09-2005, 03:16 AM
Why don't you apply a CSS background style to your <ul> or <li> tags and find out? :D
or nest the <ul> tags in <div> tags:
03-09-2005, 09:14 AM
The ul is basically a block level element and can be given the usual background treatment with CSS properties (color, image, etc.); there's no need to wrap it in another container.
You may have to twiddle with padding and margins a bit, though, since various browsers use different methods to achieve the familiar indenting.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.