Click here to Skip to main content
15,884,176 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: IE9 gets something right (and beats Chrome, Safari and Opera)! Pin
Graham Breach2-Dec-11 5:18
Graham Breach2-Dec-11 5:18 
GeneralRe: IE9 gets something right (and beats Chrome, Safari and Opera)! Pin
Dennis E White2-Dec-11 5:33
professionalDennis E White2-Dec-11 5:33 
Questionanybody can find out that asp program error? Pin
hack00430-Nov-11 6:11
hack00430-Nov-11 6:11 
AnswerRe: anybody can find out that asp program error? Pin
R. Giskard Reventlov30-Nov-11 6:14
R. Giskard Reventlov30-Nov-11 6:14 
GeneralRe: anybody can find out that asp program error? Pin
hack00430-Nov-11 6:18
hack00430-Nov-11 6:18 
GeneralRe: anybody can find out that asp program error? Pin
Smithers-Jones1-Dec-11 22:11
Smithers-Jones1-Dec-11 22:11 
QuestionRotate element without rotating images! Pin
MajinSaha27-Nov-11 4:22
MajinSaha27-Nov-11 4:22 
AnswerRe: Rotate element without rotating images! Pin
Morgs Morgan29-Nov-11 1:06
Morgs Morgan29-Nov-11 1:06 
MajinSaha wrote:
If you want to put all the properties inside one element, don't bother answering.

Please never restrict people from giving an answer closer to their understanding, if i were me i would simply get put off Frown | :( in answering this question!

Anyway, one known way to add different styling to elements is basically to use different class names on such elements or carefully put inline styling on the element itself.
I'm assuming that you have:
HTML
<div class="myelement">
    <p class="txtTransform">This is the text you would like to transform!</p>
</div>

Above you have a "div" with a background image and a "p" inside a "div". To transform the text inside the "p" alone, simply add your transformation css effects to the extra class i put in place on the "p" which is: "txtTransform" like so:
CSS
.txtTransform
{
   transform:skew(-20deg,0deg);
   -ms-transform:skew(-20deg,0deg); /* IE 9 */
   -moz-transform:skew(-20deg,0deg); /* Firefox */
}


That's the basic way to separate css effects, using different class names for general and specific elements.

Happy coding,
Morgs
Questioncontainer inside container Pin
williamroma26-Nov-11 13:06
williamroma26-Nov-11 13:06 
AnswerRe: container inside container Pin
phome27-Nov-11 1:03
phome27-Nov-11 1:03 
AnswerRe: container inside container Pin
Satheesh154627-Nov-11 17:05
Satheesh154627-Nov-11 17:05 
AnswerRe: container inside container Pin
Dalek Dave9-Dec-11 22:47
professionalDalek Dave9-Dec-11 22:47 
AnswerRe: container inside container Pin
manognya kota8-Jan-12 19:46
manognya kota8-Jan-12 19:46 
AnswerRe: container inside container Pin
cjoki9-Jan-12 9:49
cjoki9-Jan-12 9:49 
Questionconfirmation by phone call Pin
Jassim Rahma25-Nov-11 21:35
Jassim Rahma25-Nov-11 21:35 
AnswerRe: confirmation by phone call Pin
Not Active26-Nov-11 4:24
mentorNot Active26-Nov-11 4:24 
GeneralRe: confirmation by phone call Pin
Jassim Rahma26-Nov-11 20:13
Jassim Rahma26-Nov-11 20:13 
GeneralRe: confirmation by phone call Pin
JHizzle28-Nov-11 0:34
JHizzle28-Nov-11 0:34 
QuestionValidating my HTML Pin
BobInNJ24-Nov-11 14:42
BobInNJ24-Nov-11 14:42 
AnswerRe: Validating my HTML Pin
Peter_in_278024-Nov-11 15:54
professionalPeter_in_278024-Nov-11 15:54 
GeneralRe: Validating my HTML Pin
BobInNJ24-Nov-11 16:48
BobInNJ24-Nov-11 16:48 
GeneralRe: Validating my HTML Pin
Peter_in_278024-Nov-11 17:06
professionalPeter_in_278024-Nov-11 17:06 
AnswerRe: Validating my HTML Pin
JaneBlue21-Dec-11 17:32
JaneBlue21-Dec-11 17:32 
QuestionNo Character encoding Pin
Jassim Rahma22-Nov-11 7:52
Jassim Rahma22-Nov-11 7:52 
AnswerRe: No Character encoding Pin
User 171649222-Nov-11 8:15
professionalUser 171649222-Nov-11 8:15 

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.