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 03-06-2013, 11:55 PM   PM User | #1
JvnD
New to the CF scene

 
Join Date: Feb 2013
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
JvnD is an unknown quantity at this point
Contenteditable inner element padding.

I'd really appreciate some help with this search box I'm working on. I would like it if the contenteditable text (Search...) were to always sit to the right of the dropdown no matter how long or short the dropdown label is.

Right now I gave the contenteditable div a large padding-left but it won't always be aligned correctly because the dropdown label name will be dynamic and change depending what the user enters in the dropdown. So a 220px padding-left will work for the "Long Dropdown Name" but when it changes to someting like "Short Name" it will be way off http://jsfiddle.net/JvnD/SatSx/3/embedded/result/
JvnD is offline   Reply With Quote
Reply

Bookmarks

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 07:08 PM.


Advertisement
Log in to turn off these ads.