HighDots Forums  

text field border colour

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss text field border colour in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Bill
 
Posts: n/a

Default text field border colour - 06-11-2004 , 04:43 AM






I have a text field and set the style attribute to

<input type="text" name="txtModel" style="BORDER-RIGHT: #7F9DB9 1px groove;
BORDER-TOP: #7F9DB9 1px groove; BORDER-LEFT: #7F9DB9 1px groove;
BORDER-BOTTOM: #7F9DB9 1px groove;FONT: 11px Verdana,Geneva,sans-serif;
COLOR: #333333; WIDTH: 120px; HEIGHT: 19px; BACKGROUND-COLOR: #FFFFFF">

BUT the top border and left border still come out with a black line in them
i am trying to match them up with the XP natural blue pull down menu colours
of #7F9DB9

any ideas would be much appriciated ....as looks not to good at mo

many thanks from bill
I knoe i just posted this last night from the appdev newsgroup........I
think that was the wrong newsgroup as had no answer yet ?? so trying this
newsgroup ...manay thanks




Reply With Quote
  #2  
Old   
Dan Vendel *GOF*
 
Posts: n/a

Default Re: text field border colour - 06-11-2004 , 05:01 AM






Bill wrote:

Quote:
I have a text field and set the style attribute to

input type="text" name="txtModel" style="BORDER-RIGHT: #7F9DB9 1px groove;
BORDER-TOP: #7F9DB9 1px groove; BORDER-LEFT: #7F9DB9 1px groove;
BORDER-BOTTOM: #7F9DB9 1px groove;FONT: 11px Verdana,Geneva,sans-serif;
COLOR: #333333; WIDTH: 120px; HEIGHT: 19px; BACKGROUND-COLOR: #FFFFFF"

BUT the top border and left border still come out with a black line in them
i am trying to match them up with the XP natural blue pull down menu colours
of #7F9DB9

any ideas would be much appriciated ....as looks not to good at mo

many thanks from bill
I knoe i just posted this last night from the appdev newsgroup........I
think that was the wrong newsgroup as had no answer yet ?? so trying this
newsgroup ...manay thanks



1. Which browser did you check in?
2. What's the doctype?
3. I'm not sure about using the style in the tag instead of creating a
class in a remote style sheet (or in the doc's head) and name the tag.
To me this looks whacky. Learn basic CSS, it's easy.
4. I did this in DW, took me 20 seconds. Copy and put in head of the doc:

<style type="text/css">
<!--
input {
border: 1px groove #7F9DB9;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
height: 19px;
width: 120px;
background-color: #FFFFFF;
color: #333333;
}
-->
</style>



--
Dan Vendel - *GOF*
Contact me directly at http://contact.vendel.info
Formmail tutorial at http://www.vendel.info/tut/formmail.html
Nested table demonstration at http://www.vendel.info/tabletut/
Search Engine Optimization & Rank Control Utility at http://awr.vendel.info
Search Dreamweaver newsgroup at http://www.vendel.info/google.html


Reply With Quote
  #3  
Old   
Gary White
 
Posts: n/a

Default Re: text field border colour - 06-11-2004 , 09:17 AM



On Fri, 11 Jun 2004 09:43:09 +0100, "Bill" <bill (AT) globalcommerceuk57 (DOT) com>
wrote:

Quote:
input type="text" name="txtModel" style="BORDER-RIGHT: #7F9DB9 1px groove;
BORDER-TOP: #7F9DB9 1px groove; BORDER-LEFT: #7F9DB9 1px groove;
BORDER-BOTTOM: #7F9DB9 1px groove;FONT: 11px Verdana,Geneva,sans-serif;
COLOR: #333333; WIDTH: 120px; HEIGHT: 19px; BACKGROUND-COLOR: #FFFFFF"

BUT the top border and left border still come out with a black line in them
i am trying to match them up with the XP natural blue pull down menu colours
of #7F9DB9

The problem is that you cannot represent a "groove" with a 1 pixel wide
border. With a 1 pixel border, the best you can hope for is a solid,
dotted, or dashed line and browser support for anything except solid is
a bit iffy.


Gary


Reply With Quote
  #4  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: text field border colour - 06-11-2004 , 09:43 AM



Actually, borders on form fields itself is a bit iffy, if I recall
correctly.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"Gary White" <reply (AT) newsgroup (DOT) please> wrote

Quote:
On Fri, 11 Jun 2004 09:43:09 +0100, "Bill" <bill (AT) globalcommerceuk57 (DOT) com
wrote:

input type="text" name="txtModel" style="BORDER-RIGHT: #7F9DB9 1px
groove;
BORDER-TOP: #7F9DB9 1px groove; BORDER-LEFT: #7F9DB9 1px groove;
BORDER-BOTTOM: #7F9DB9 1px groove;FONT: 11px Verdana,Geneva,sans-serif;
COLOR: #333333; WIDTH: 120px; HEIGHT: 19px; BACKGROUND-COLOR: #FFFFFF"

BUT the top border and left border still come out with a black line in
them
i am trying to match them up with the XP natural blue pull down menu
colours
of #7F9DB9


The problem is that you cannot represent a "groove" with a 1 pixel wide
border. With a 1 pixel border, the best you can hope for is a solid,
dotted, or dashed line and browser support for anything except solid is
a bit iffy.


Gary



Reply With Quote
  #5  
Old   
Gary White
 
Posts: n/a

Default Re: text field border colour - 06-11-2004 , 11:24 AM



On Fri, 11 Jun 2004 09:43:59 -0400, "Murray *TMM*"
<forums (AT) HAHAgreat-web-sights (DOT) com> wrote:

Quote:
Actually, borders on form fields itself is a bit iffy, if I recall
correctly.

For NN4, you're right. In some cases, for NN4, assigning a border will
disable the input, or in some cases cause it not to display at all.


Gary


Reply With Quote
Reply




Thread Tools
Display Modes

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



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.