Good day,
Change DropDownList border color in IE7
I read that this is not possible in IE but that was some time back and i'm using IE7 now.
Is there a workaround in IE7 to change the border color of a dropdown.
Regards
16 18865
Haven't a clue what that is but it's neither html or css.
A Drop Down Box border color!
Googling shows that "dropdownlist" is an ASP function of some sort. You'd have better luck asking on that forum because it's not directly related to html or css. If all you want to do is change the border color in general, in CSS you would just add 'border: #yourcolor'.
I think he means a <select> tag...
If you haven't already read this, do! Pay attention especially to the second reply:
As Diodeus stated, IE doesn't allow anything but the default border for <select> elements. However, I know of two hacks to achieve a similar effect :
Use a DIV that is placed absolutely at the same position as the dropdown and set it's borders. It will appear that the dropdown has a border.
Use a Javascript solution, for instance, the one provided here.
It may however prove to be too much effort, so you should evaluate if you really require the border.
Thank You All, nearly winning.
is there a way of to make the border more narrow or not so bold, border: 1px solid becuase it looks like a bold border around the drop down
<div style="border: 1px solid blue;">
<select style="width: 100%;">
Please Assist!
1px is pretty thin, I think there's something else going on. Can you post a screenshot?
Thank You I have been struggling the entire Friday & went back to increase the font of the dropdown to increase the height.
I did not have much time :)
If you find a solution - please let me know Thank You :)
to increase the height you can also try the line-height property.
does not do anything line-height: 0px;
er, line-height does not have anything to do with border, it’s for text layout.
Hi, the line-height does not change the dropdown height
i have to change the font, is there not another way?
Regards
so changing:
for the select box doesn't work?
Is there any other way besides changing the font size?
Thanks
I have lost track of what you are trying to do and what the problem is. Please give the basic html, css and a screenshot for further assistance.
Hi,
I'm trying to increase the height of dropdownlist <select> tag textbox.
I found that changing the border color in IE7 is not possible & there fore changed the font to increase the height of the dropdown.
I increased the height by increasing the font - but I dont really want to increase the font.
Thank You :)
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Susan Cranford |
last post by:
I am trying to change the border color of certain select elements. I
have tried inline and on my style sheet to do 'border-color: red' and I
cannot get this work. I can change the background and...
|
by: csgraham74 |
last post by:
Hi,
Just wondering if anyone has used a free 3rd party drop down list
control for asp.net. I need to find one that has a border color that
can be changed as the built in one does not appear to...
|
by: Ramesh |
last post by:
Hi,
Is there any solution available for changing the border
color of the textbox control in VB.NET? Pls provide me
with a sample code.
Thanks in advance
Ramesh
|
by: jcrouse |
last post by:
Is there a quick and easy way to change the color of a label controls border
from the default black to white?
Thank you,
John
|
by: Hank |
last post by:
To this point I have used a color for my form background
(detail, header, or footer) that is approximately the same as the
hard-wired background color of command buttons. For the record, the...
|
by: xujinqian |
last post by:
Who can tell me:
how to change the border color of groupbox controls(VS2003)???
|
by: Arpan |
last post by:
The output of a DataGrid is nothing but a HTML table. To color or
change the width of the outer 4 borders of a DataGrid, one can use the
properties "BorderColor" & "BorderWidth" respectively but...
|
by: David Veeneman |
last post by:
Is there a simple way to change a UserControl border color?
I'm creating a UserControl that will have a border, using the
UserControl.BorderStyle property. The standard border is black; I'd like...
|
by: =?Utf-8?B?Q2xhZXNXZWRpbg==?= |
last post by:
I want my application to have a special color on the Window forms borders.
Not the standard one (which the user has set up in his desktop-properties)...
How can I do this? I can change...
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: ryjfgjl |
last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
| |