CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignCSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 21st, 2004, 08:47 PM
JohnnyDog JohnnyDog is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Location: San Francisco
Posts: 7 JohnnyDog User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 47 m 48 sec
Reputation Power: 0
Send a message via AIM to JohnnyDog Send a message via Yahoo to JohnnyDog
inline select box and text

Hello,

I am trying to make a select box (align:left) with link text (align:right) inline. I don't know what the best method would be to do this. I tried using li but it doesn't seem to be working.

It looks like it should be simple but for the love of me... it's not working.

Can you please show me how?

Reply With Quote
  #2  
Old June 21st, 2004, 09:18 PM
JohnnyDog JohnnyDog is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Location: San Francisco
Posts: 7 JohnnyDog User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 47 m 48 sec
Reputation Power: 0
Send a message via AIM to JohnnyDog Send a message via Yahoo to JohnnyDog
nevermind... I figured it out.

Reply With Quote
  #3  
Old June 21st, 2004, 09:23 PM
TheJim01's Avatar
TheJim01 TheJim01 is offline
Coconuts migrate?
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Feb 2004
Location: http://middle.nowhere.com
Posts: 1,895 TheJim01 User rank is General 3rd Grade (Above 100000 Reputation Level)TheJim01 User rank is General 3rd Grade (Above 100000 Reputation Level)TheJim01 User rank is General 3rd Grade (Above 100000 Reputation Level)TheJim01 User rank is General 3rd Grade (Above 100000 Reputation Level)TheJim01 User rank is General 3rd Grade (Above 100000 Reputation Level)TheJim01 User rank is General 3rd Grade (Above 100000 Reputation Level)TheJim01 User rank is General 3rd Grade (Above 100000 Reputation Level)TheJim01 User rank is General 3rd Grade (Above 100000 Reputation Level)TheJim01 User rank is General 3rd Grade (Above 100000 Reputation Level)TheJim01 User rank is General 3rd Grade (Above 100000 Reputation Level)TheJim01 User rank is General 3rd Grade (Above 100000 Reputation Level)TheJim01 User rank is General 3rd Grade (Above 100000 Reputation Level)TheJim01 User rank is General 3rd Grade (Above 100000 Reputation Level)TheJim01 User rank is General 3rd Grade (Above 100000 Reputation Level)TheJim01 User rank is General 3rd Grade (Above 100000 Reputation Level)TheJim01 User rank is General 3rd Grade (Above 100000 Reputation Level)  Folding Points: 70160 Folding Title: Intermediate FolderFolding Points: 70160 Folding Title: Intermediate FolderFolding Points: 70160 Folding Title: Intermediate FolderFolding Points: 70160 Folding Title: Intermediate Folder
Time spent in forums: 2 Weeks 5 Days 11 h 8 m 20 sec
Reputation Power: 1176
Quote:
Originally Posted by JohnnyDog
I am trying to make a select box (align:left) with link text (align:right) inline.

Not Quite sure what you're asking for here... For lack of a better example, do you mean something like:

|__Option 1__|V| Link Text

If so, then this should display the way you want:
PHP Code:
<select>
  <
option value="option1">option 1</option>
  <
option value="option2">option 2</option>
  <
option value="option3">option 3</option>
</
select>
Link Text 


If that's not right, then please give some more information/code/pictures of what you're trying to accomplish.
__________________

Proud member of the T.S.N.B.U.F.L (tables should not be used for layout) alliance.

"Only use elements for their intended purpose. You wouldn't try to make coffee with a telephone, would you?" -Me

Reply With Quote
  #4  
Old June 21st, 2004, 09:50 PM
JohnnyDog JohnnyDog is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Location: San Francisco
Posts: 7 JohnnyDog User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 47 m 48 sec
Reputation Power: 0
Send a message via AIM to JohnnyDog Send a message via Yahoo to JohnnyDog
This is what I did... I referenced another post that Gary helped me with and voila!

PHP Code:
 div.benefits {clear:both;width:100%;}
div.benefits ul {list-style-type:none;}
div.benefits ul li {float:left;display:block;font-size:10px;margin-left:0; } 
div.benefits ul li.last {margin-right:0;float:right;margin-top:7px;}
div.benefits select {width:150px;background-color:#F4F4F4;font-size:10px; } 

PHP Code:
<div class="benefits">
        <
h3>All Card Benefits</h3>
        <
ul class="noindent"><li>
        <
form>
        <
select name="benefits" size="1">
            <
option value="blank.html">Link #1</option>
            
<option value="blank.html">Link #2</option>
            
<option value="blank.html">Link #3</option>
            
<option value="blank.html">Link #4</option>
            
<option value="blank.html">Link #5</option>
            
<option value="blank.html">Link #6</option>
            
<option value="blank.html">Link #7</option>
        
</select>
        <
input name="benefits" type="image" src="/img/btn_go_round.gif" alt="Go" align="top" />
        </
form></li>
        <
li class="last"><a href="">Back to previous page</a></li></ul>
    </
div

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > inline select box and text


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT