Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Text box class in core.css

  Asked By: Malinda    Date: Jan 27    Category: Sharepoint    Views: 3280

I was wondering if you know where in the SharePoint style sheets
classes the text box borders are stored? I customized the core.css style
sheet and then copied it into a new style sheet and put the original
core.css back then added my customized style to the default.master to
override the core.css style sheet classes I wanted changed, but it seems
I am overriding the text box borders some how and have yet to find them!
I added a link so you can see what I am trying to explain saying:

i472.photobucket.com/.../before_After_Textbo\
xes_Missing_Bord.gif

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Ravindra Salvi     Answered On: Jan 27

I solved this issue and thought it might be nice to post just in case
some else has this issue or wants to get ride of the border around the text
boxes. The code below is the custom code I added  what you should notice is that
I set the margin, padding, and borders to zero in turn it remove this at the
browser (window) level of my browser I am using i.e. 7 so any other browser may
or may not pick this up. But if you add this code it removes the textbox borders
neat at first unless the background is white (which mine is) and some of the
pages forms bg are white hints the problem in my case. you can see the before
and after at link in original post.

CODE:

/*THIS CLEARS THE TEXTBOX BORDER FROM ALL TEXTBOXES IN THE WINDOW*/
* {margin: 0; padding:0; border: 0;}
/*THIS CLEARS THE TEXTBOX BORDER FROM ALL TEXTBOXES IN THE WINDOW*/

#aspnetform {
border:3px silver solid;
padding:0;
height:100%
}

body{
font-family:verdana,arial,helvetica,sans-serif;
color:#000000;
font-size: 68%;
margin:5px 10px;

}

 
Didn't find what you were looking for? Find more on Text box class in core.css Or get search suggestion and latest updates.




Tagged: