Click here to Skip to main content
15,121,597 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: IE9 gets something right (and beats Chrome, Safari and Opera)! Pin
Graham Breach2-Dec-11 6:18
MemberGraham Breach2-Dec-11 6:18 
GeneralRe: IE9 gets something right (and beats Chrome, Safari and Opera)! Pin
Dennis E White2-Dec-11 6:33
professionalDennis E White2-Dec-11 6:33 
Questionanybody can find out that asp program error? Pin
hack00430-Nov-11 7:11
Memberhack00430-Nov-11 7:11 
AnswerRe: anybody can find out that asp program error? Pin
R. Giskard Reventlov30-Nov-11 7:14
MemberR. Giskard Reventlov30-Nov-11 7:14 
GeneralRe: anybody can find out that asp program error? Pin
hack00430-Nov-11 7:18
Memberhack00430-Nov-11 7:18 
GeneralRe: anybody can find out that asp program error? Pin
Smithers-Jones1-Dec-11 23:11
MemberSmithers-Jones1-Dec-11 23:11 
QuestionRotate element without rotating images! Pin
MajinSaha27-Nov-11 5:22
MemberMajinSaha27-Nov-11 5:22 
AnswerRe: Rotate element without rotating images! Pin
Morgs Morgan29-Nov-11 2:06
MemberMorgs Morgan29-Nov-11 2: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 14:06
Memberwilliamroma26-Nov-11 14:06 
AnswerRe: container inside container Pin
phome27-Nov-11 2:03
Memberphome27-Nov-11 2:03 
AnswerRe: container inside container Pin
Satheesh154627-Nov-11 18:05
MemberSatheesh154627-Nov-11 18:05 
AnswerRe: container inside container Pin
Dalek Dave9-Dec-11 23:47
professionalDalek Dave9-Dec-11 23:47 
AnswerRe: container inside container Pin
manognya kota8-Jan-12 20:46
Membermanognya kota8-Jan-12 20:46 
AnswerRe: container inside container Pin
cjoki9-Jan-12 10:49
Membercjoki9-Jan-12 10:49 
Questionconfirmation by phone call Pin
Jassim Rahma25-Nov-11 22:35
MemberJassim Rahma25-Nov-11 22:35 
AnswerRe: confirmation by phone call Pin
Not Active26-Nov-11 5:24
mentorNot Active26-Nov-11 5:24 
GeneralRe: confirmation by phone call Pin
Jassim Rahma26-Nov-11 21:13
MemberJassim Rahma26-Nov-11 21:13 
GeneralRe: confirmation by phone call Pin
JHizzle28-Nov-11 1:34
MemberJHizzle28-Nov-11 1:34 
QuestionValidating my HTML Pin
BobInNJ24-Nov-11 15:42
MemberBobInNJ24-Nov-11 15:42 
AnswerRe: Validating my HTML Pin
Peter_in_278024-Nov-11 16:54
professionalPeter_in_278024-Nov-11 16:54 
GeneralRe: Validating my HTML Pin
BobInNJ24-Nov-11 17:48
MemberBobInNJ24-Nov-11 17:48 
GeneralRe: Validating my HTML Pin
Peter_in_278024-Nov-11 18:06
professionalPeter_in_278024-Nov-11 18:06 
AnswerRe: Validating my HTML Pin
JaneBlue21-Dec-11 18:32
MemberJaneBlue21-Dec-11 18:32 
QuestionNo Character encoding Pin
Jassim Rahma22-Nov-11 8:52
MemberJassim Rahma22-Nov-11 8:52 
AnswerRe: No Character encoding Pin
User 171649222-Nov-11 9:15
professionalUser 171649222-Nov-11 9: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.