|
it's
important to note that even though you can't set width, you can set margin and
padding on inline elements, which can be really useful...
for
example, i've used a trick from Eric Meyer's first book on some of
my sites and created a special 'opens a new window' class of <a>
that includes a little icon next to it. you create a little bit
of padding in the <a> then apply the icon as a static background
placed within the padding. it's useful to visually communicate that the link
will open in a new window...
s:r
-----Original Message----- hope someone
finds this discussion useful.From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Chris Stratford Sent: Wednesday, July 14, 2004 6:57 PM To: [EMAIL PROTECTED] Subject: Re: [WSG] setting width for <li>s when inline Yes I do! I have also wondered why this happens. I mean, because something is INLINE, doesn't mean it shouldn't be able to have a set width... I would think its more of a reason to set a width, because it is being set inline with another element - so the width is important.?? I had the same issues, and always I end up forgetting the whole idea, and just throwing away all the navigation code i make. Thanks for the discussion :) Scott Reston wrote:
|
- RE: [WSG] setting width for <li>s when inline Scott Reston
- RE: [WSG] setting width for <li>s when inline Patrick Lauke
- RE: [WSG] setting width for <li>s when inline Scott Reston
- RE: [WSG] setting width for <li>s when inline Patrick Lauke
- RE: [WSG] setting width for <li>s when inline Scott Reston
- Re: [WSG] setting width for <li>s when inline design
- RE: [WSG] setting width for <li>s when inline Scott Reston
- Re: [WSG] setting width for <li>s when inline Chris Stratford
- RE: [WSG] setting width for <li>s when inline Scott Reston
- RE: [WSG] setting width for <li>s when inline Patrick Lauke
- Scott Reston
