Jump to content

problems with Display: block


plutomed

Recommended Posts

Of course it is supposed to...you've just changed <a> from an inline to a block element. To put <a> (which is inline by default) inside a block you don't turn <a> into a block...you use a block element like <div> (for example). Turning <a> into a block is for other purposes. You need to read a basic css tutorial/manual and it will all become immediately clear.  ;)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.