Reply

Join Date: Oct 2009
Posts: 12
Reputation: prachipote is an unknown quantity at this point 
Solved Threads: 0
prachipote prachipote is offline Offline
Newbie Poster

Shadow

 
0
  #1
17 Days Ago
how to give shadow in dreamweaver to textfield area?

this is my code nd i want to give inner shadow for this

  1. <label>
  2. <input name="textfield" type="text" size="25" maxlength="25" width="300px" />
  3. </label>
Last edited by peter_budo; 15 Days Ago at 4:27 am. Reason: Keep It Organized - For easy readability, always wrap programming code within posts in [code] (code blocks)
Reply With Quote Quick reply to this message  
Join Date: Apr 2009
Posts: 800
Reputation: Airshow is on a distinguished road 
Solved Threads: 113
Airshow's Avatar
Airshow Airshow is offline Offline
Practically a Posting Shark
 
0
  #2
16 Days Ago
Here's a demo of the border effects theoretically available from CSS.

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html>
  4. <head>
  5. <title>Airshow :: Border Styles Demo</title>
  6. <style type="text/css">
  7. body { background-color: #e0e0e0; }
  8. input {
  9. margin: 6px 0;
  10. width: 200px;
  11. height: 30px;
  12. border-width: 2px;
  13. }
  14. </style>
  15. </head>
  16.  
  17. <body>
  18.  
  19. <input style="border-style:none" name="textfield" type="text" size="25" value="none" /><br />
  20. <input style="border-style:dotted" name="textfield" type="text" size="25" value="dotted" /><br />
  21. <input style="border-style:dashed" name="textfield" type="text" size="25" value="dashed" /><br />
  22. <input style="border-style:solid" name="textfield" type="text" size="25" value="solid" /><br />
  23. <input style="border-style:double" name="textfield" type="text" size="25" value="double" /><br />
  24. <input style="border-style:groove" name="textfield" type="text" size="25" value="groove" /><br />
  25. <input style="border-style:ridge" name="textfield" type="text" size="25" value="ridge" /><br />
  26. <input style="border-style:inset" name="textfield" type="text" size="25" value="inset" /><br />
  27. <input style="border-style:outset" name="textfield" type="text" size="25" value="outset" /><br />
  28.  
  29. </body>
  30. </html>
I say theoretically, because last time I ran a check, not all these border styles were available in all the major browsers. IIRC, IE was most comprehensive and Opera least - or was it FF?

To see what's going on in more detail, change border-width to something like 15px.

I think Dunceweaver will let you do all that - surely?

Airshow
50% of the solution lies in accurately describing the problem!
Reply With Quote Quick reply to this message  
Join Date: Oct 2009
Posts: 12
Reputation: prachipote is an unknown quantity at this point 
Solved Threads: 0
prachipote prachipote is offline Offline
Newbie Poster
 
0
  #3
16 Days Ago
thanks.can we give top border bottom or left border to this box
Last edited by prachipote; 16 Days Ago at 1:49 am.
Reply With Quote Quick reply to this message  
Join Date: Apr 2009
Posts: 800
Reputation: Airshow is on a distinguished road 
Solved Threads: 113
Airshow's Avatar
Airshow Airshow is offline Offline
Practically a Posting Shark
 
0
  #4
16 Days Ago
Yes, standard CSS box model applies.

Top, bottom, left and right can be individually set but please note that with groove, ridge, inset and outset, the styles of the four edges are managed for you to give the right effect, which will probably be lost if you try to address the edges individually. But by all means try.

Airshow
50% of the solution lies in accurately describing the problem!
Reply With Quote Quick reply to this message  
Reply

Message:



Similar Threads
Other Threads in the HTML and CSS Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC