Previous Message
Next Message

A New Bug or am I just a bad Programmer?!?!

Sent by Dan Dorman on 28 June 2007 22:10


On 6/28/07, [EMAIL-REMOVED] [EMAIL-REMOVED]> wrote:
> Why oh WHY is the anchor tag FORCING a line break when I close the tag (</a>).

Your CSS sets the <a> element's display type to block, so by
definition, it'll have a line break after it.

>From your CSS:
a{display:block;color: #981793;padding:10px}

Display: inline would lose the line break, but I'm not sure how it
would affect the rest of your layout.

Dan Dorman
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
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: