Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-20-2011, 04:41 AM   PM User | #1
sergiozambrano
New Coder

 
Join Date: Jun 2007
Posts: 22
Thanks: 2
Thanked 0 Times in 0 Posts
sergiozambrano is an unknown quantity at this point
Question element overflowing text but not mackground image

Time ago I wrote about a technique for creating a transparent css button with only one image, no sprites: http://socialblogsitewebdesign.com/s...t-button-ever/

Basically, in that example a submit input tag "hangs" OUTSIDE the container's width, but using <a> instead of <input type="submit"> won't work:

What is the difference between a label/input combination and a a/span (even a/div) combination that makes the background of the inner element not extending outside the container along with the text?

Thanks
sergiozambrano is offline   Reply With Quote
Reply

Bookmarks

Tags
background-image, container, input, overflow, submit

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:09 PM.


Advertisement
Log in to turn off these ads.