kirubaharan12345 / blueprintcss

Automatically exported from code.google.com/p/blueprintcss
0 stars 0 forks source link

BUTTON Tag #119

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Blueprint doesn't handle the BUTTON tag.

For example :

<button type="submit" name="submit">
<img src="my-button" alt="Submit" />
</button>

...You'll get fancy results. To solve the problem you can add in screen.css
something like :

button { border: none; background:none; margin: 0; }
button img { margin:0; float:none; }

And in ie.css :

* html button {width:1%; overflow:visible;} 
*:first-child+html button {overflow:visible;}

Original issue reported on code.google.com by amirhab...@gmail.com on 29 Jul 2008 at 9:06

GoogleCodeExporter commented 8 years ago
I forgot the padding issue. So :

button { border: none; background:none; margin: 0; padding: 0; }
button img { margin:0; float:none; }

Original comment by amirhab...@gmail.com on 29 Jul 2008 at 9:08

GoogleCodeExporter commented 8 years ago
Copied over to
http://blueprintcss.lighthouseapp.com/projects/15318/tickets/33-button-tag#ticke
t-33-1

Original comment by horst.gu...@gmail.com on 13 Aug 2008 at 9:18