CSS - Input[type=radio]
Hello.
I'm trying to do this: Code: input, textarea, select { COLOR: #000000; FONT-FAMILY: Verdana, Arial, helvetica; FONT-SIZE: 10px! important; border: 1px #000000 solid; } input[type=radio] {COLOR: #000000; FONT-FAMILY: Verdana, Arial, helvetica; FONT-SIZE: 10px! important; border: 0px #000000 solid;} input[type=checkbox] {COLOR: #000000; FONT-FAMILY: Verdana, Arial, helvetica; FONT-SIZE: 10px! important; border: 0px #000000 solid;} But my checkboxes and radiobuttons still has a black border. WHY!? I include two diffrent css-files in my webpage. And "input, textarea, select" is set again in the second css-file. The reason for that system is that the second css-file is diffrent depending on what design the user has chosen... Is that a problem? Similar Tutorialsas the subject says... input[type="text"] ...works great for opera/moz, can't figure out how to do the same thing with IE. plz help Hi there, I know there are some threads going on on this subject, but none have a good end conclusion. The issue is the appearance of the search button in a <input type="file">. CSS seems to have no grip on this. I know there is some tricky javascript way around this, but that a far from elegant solution. Are those the final words on this or does anyone around here, knows a CSS solution, or an atractive php or javascript solution? I hope to hear more, kind regards Game So, what would I like to have? A css rule that would affect visual appearance of only the <input type="submit"> elements (or any other sub-type of <input>, but again, affecting that sub-type only). Is it possible to do? How? I have a lot of .NET pages with a LOT of submit buttons (within datagrids and regular buttons too). There is a way to do it programaticaly in source code of .NET pages, but I'd like an elegant solution like css, which could be done without recompiling entire project. Any help is highly appreciated. I am using the following code. In firefox the input box (including the border) fits a nice box of 83 by 15. In IE it seems to not be so well, and is bothering things near it. Any ideas on how to rectify this? Code: <td><input type="text" class="loginbox" size="13" /></td> .loginbox { border: 1px; border-style: solid; border-color: #9AA8C3; padding: 0; margin: 0; text-decoration: none; font-size: 11px; color: #40668C; } on a page i have a <input type="file"> tag for upload purposes. I want that thing have the following look:
no borders
'Courier New' font
a height of 16 pixels
a font-size of 14 pixels
a special background color
and a paddin of 0 pixels
I have made the apropriate CSS definitions: Code: <style type="text/css"> input { height: 16px; border-width: 0px; background: #e0e0e0; padding: 0px; font-size: 14px; font-family: Courier New; } </style> The problem is that Mozilla does not fully implement these definitions. Mozilla makes the height and the background of the textfield-part the way i specified. The rest is left the way it is. I would appreciate any help you could give me. I found this great website that shows me how to create these great buttons with some images. http://www.dynamicdrive.com/style/csslibrary/item/css_oval_buttons/ How can I do this with a button instead of a link??? Hi, I have sort of a strange problem. I'm making a centered website, and I have a shopping cart image which is actually a submit button for a form. If I make it just a plain image it looks like this: http://www.rit.edu/~jtn5684/test/index1.html However, when it's an <input type="image"> (which is what I need) it moves it drastically. http://www.rit.edu/~jtn5684/test/index2.html My styles are he http://www.rit.edu/~jtn5684/test/styles.css Any idea how to make index2 look like index1 while using <input type="image">? Thanks! Jon is there any way to change the style of the "Browse..." button on the <input type="file"/> tag? for instance, setting background-color will only change the text box of the tag and not the button. Hi, I'm not overly accomplished when it comes to CSS so here's my question. I've got the following HTML code: Code: <input type="text" name="field1" value="value1" style="width:100%"> I'm preloading a value into this text field which may run past the visible length of the textbox. The text box is situated inside a table cell. The text box fills the table cell space completely whilst the text inside it does not run over but once the text is more than can be displayed in the space provided by the table cell, it forces the textbox to grow. My question is, is there a way around this so that I can still instruct the textbox to be 100% width of the table cell without expanding when the text overflows. Thanks. I get this error from XML-CSS validation. The element type "input" must be terminated by the matching end-tag "</input>". I'd like to know where it goes. It is this form: <form action="send_survey_results.php" method="POST"> Name: <input type="text" name="user" SIZE="30"><br> e-Mail: <input type="text" name="email" size="30"><br> Interests:<br> <input type="checkbox" name="intere<input type="submit" value="Register"> ------------additional boxes here------------------ <input type="reset" value="Clear Form"> </form> </div>sts[]" value="clothes">Clothes Thank you, Ed If i want to use the strict DTD, is there an alternative to the target attribute on the <a> link which you are no longer allowed to use? <div type="test"> I am interested in the type attribute. The reason is this... I have a Janus GridEx on my asp.net form and I want to add some css styles to it. There is no ID defined, nor a class of which I can inherit. I can't modify the code for this tag so I was hoping I could use the type attribute to identify this div in my css.... This is the code for the DIV I'm talking about: Code: <div type="4" style="position:relative;padding:0px 0px;width:100%;overflow-x:auto;overflow-y:auto;"> Anyone has any experience with this? Thanks! I am having no luck using this rule to set text with-in the body tags correctly. body{font-family: sans-serif; font-size: 11px; color: #CC0000} This line will set the color and family of the text but it doesnt effect the typeface's size or any other parameters either. I have tried both pt's and px's but no luck. When I use the <span> configuration for text all is fine. But when I use a rule as above something doesn't work. Any ideas? Thanks Please look at this page - http://www.tmhdesign2.com The list nav up at the top I have a bg image for the a tag and want to not display the bullet for the <li> but list-style-top:none does not work... Hey there I like making websites and for this one website i want to make it look really good and then buy a domain name when I'm done, but I can't figure the code in css to make an image appear at 500px down and 50px to the left when my mouse is over a link . If someone could help me with this I would be so happy! Thank you and have a nice day So far I've been unable to find the answer to this question despite numerous Google searches, and am sincerely hoping someone here can give me the definitive answer. I have an unordered list which requires use of the decimal-leading-zero list style type. However, I need to start the number at 00 instead of 01. In HTML the way you do this is to put inside the UL tag start="0", but this is not validatable, and actually deprecated. How can I begin a list with 00 rather than 01 for the decimal-leading-zero list-style-type? TIA for all help and advice. What I need is as follows div - height:150px width:100%; div - height: *; width:100%;overflow;scroll div - height:150px width:100% I can get this to work if the top and bottom divs are set to lets say 15% and the middle is set to 70% but I want the top and bottom "bars" to keep their size while the middle shrinks The middle row is supposed to scroll horizontally btw and vertically if necessary This is to replicate what we are currently using with 3 frames I can get the "layout" with tables but the scrolling (horizontal) of the middle row wont work. I'd rather not use tables anyway. Any suggestions? Hi, I am trying to have different type of lists on the same page by using different CSS. Basically I want to define a general list to be used through out the whole website, and another list to be used only within a box. I wish that the list in the box does not contain the bullets. However setting the list-style-type: none; is not working as sugested in the following link: http://css.maxdesign.com.au/listutorial/02.htm Here is my code: Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <style> ul{ list-style-type: none; padding: 0; margin: 0; } li { background-image: url(bullet.png); background-repeat: no-repeat; background-position: 0 .8em; padding-left: 1em; line-height: 14pt; } div.box{ border: 1px solid red; } div.box ul{ list-style-type: none; } </style> </head> <body> <ul> <li><a href="#">Milk</a></li> <li><a href="#">Eggs</a></li> <li><a href="#">Cheese</a></li> <li><a href="#">Vegetables</a></li> <li><a href="#">Fruit</a></li> </ul> <div class="box"> <ul> <li><a href="#">Milk</a></li> <li><a href="#">Eggs</a></li> <li><a href="#">Cheese</a></li> <li><a href="#">Vegetables</a></li> <li><a href="#">Fruit</a></li> </ul> </div> </body> </html> Thanks for any sugestions, best regards, Sim085 Does anyone know any particular libraries that would allow me to create a menu like: www.ge.com or www.buell.com I want to have a list of images appear and was hoping there was some free code out there rather than having to reinvent the wheel. Thanks, -Nate Hello, I have a perl script, and would normally do this with tables, but since tables are such a BAD THING ™ I've been trying to this with CSS, and I've spent too long on it thus far, so I'm looking for a bit of an assist Code: +----+-------------+--------------+ | id | date 1 | date 2 | | | | | +----+-------------+--------------+ what's the best way to accomplish this? --Ax |