Click here to Skip to main content
15,891,607 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: How can I combine this CSS code ? Pin
Paul Conrad27-Jul-08 11:36
professionalPaul Conrad27-Jul-08 11:36 
GeneralRe: How can I combine this CSS code ? Pin
Mohammad Dayyan27-Jul-08 12:11
Mohammad Dayyan27-Jul-08 12:11 
GeneralRe: How can I combine this CSS code ? Pin
Johnny ²27-Jul-08 12:16
Johnny ²27-Jul-08 12:16 
GeneralRe: How can I combine this CSS code ? Pin
Paul Conrad27-Jul-08 12:26
professionalPaul Conrad27-Jul-08 12:26 
GeneralRe: How can I combine this CSS code ? Pin
Mohammad Dayyan27-Jul-08 12:29
Mohammad Dayyan27-Jul-08 12:29 
JokeRe: How can I combine this CSS code ? Pin
Paul Conrad27-Jul-08 12:32
professionalPaul Conrad27-Jul-08 12:32 
GeneralRe: How can I combine this CSS code ? Pin
Mohammad Dayyan27-Jul-08 12:35
Mohammad Dayyan27-Jul-08 12:35 
GeneralRe: How can I combine this CSS code ? Pin
stevio28-Jul-08 4:24
stevio28-Jul-08 4:24 
What you need to be doing is looking at the code, and seeing what you're duplicating. Pull out the common elements, and then see what you have left.

Try something like:

.css_class1{
background-color: #988F81;
color: #000000;
border: solid 1px #F6F5F2;
border-right-color: #333333;
border-bottom-color #333333;
}

There's further improvements that can be made, but that's a start.

In fact, since you seem to be trying to get a 3d effect on the edges of the border, you could try replacing it with "border-style: inset", or "border style: outset", which probably won't display identically to your first sample, but is a standard style with shorter markup.

eg:

.css_class1{
background-color: #988F81;
color: #000000;
border-style: outset;
}
GeneralRe: How can I combine this CSS code ? Pin
Mohammad Dayyan28-Jul-08 5:19
Mohammad Dayyan28-Jul-08 5:19 
QuestionDownLoad priority ? Pin
Mohammad Dayyan27-Jul-08 2:05
Mohammad Dayyan27-Jul-08 2:05 
AnswerRe: DownLoad priority ? Pin
Shog927-Jul-08 7:41
sitebuilderShog927-Jul-08 7:41 
AnswerRe: DownLoad priority ? Pin
stevio28-Jul-08 4:50
stevio28-Jul-08 4:50 
QuestionValidation using Javascript Pin
Mr. Wonderful26-Jul-08 3:29
Mr. Wonderful26-Jul-08 3:29 
AnswerRe: Validation using Javascript Pin
Shog926-Jul-08 5:50
sitebuilderShog926-Jul-08 5:50 
QuestionJavascript problem Pin
rajivkalra198225-Jul-08 23:10
rajivkalra198225-Jul-08 23:10 
AnswerRe: Javascript problem Pin
Perspx26-Jul-08 4:13
Perspx26-Jul-08 4:13 
AnswerRe: Javascript problem Pin
Shog926-Jul-08 5:40
sitebuilderShog926-Jul-08 5:40 
GeneralRe: Javascript problem Pin
rajivkalra198227-Jul-08 7:32
rajivkalra198227-Jul-08 7:32 
GeneralRe: Javascript problem Pin
Shog927-Jul-08 7:37
sitebuilderShog927-Jul-08 7:37 
Question[Message Deleted] Pin
Mohammad Dayyan25-Jul-08 2:08
Mohammad Dayyan25-Jul-08 2:08 
AnswerRe: What's the meaning of this warning ? Pin
stevio25-Jul-08 2:23
stevio25-Jul-08 2:23 
GeneralRe: What's the meaning of this warning ? Pin
Mohammad Dayyan25-Jul-08 2:35
Mohammad Dayyan25-Jul-08 2:35 
GeneralRe: What's the meaning of this warning ? Pin
stevio25-Jul-08 2:41
stevio25-Jul-08 2:41 
GeneralRe: What's the meaning of this warning ? Pin
Mohammad Dayyan25-Jul-08 2:58
Mohammad Dayyan25-Jul-08 2:58 
AnswerRe: Don't delete message after a reply Pin
Paul Conrad26-Jul-08 18:01
professionalPaul Conrad26-Jul-08 18:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.