It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming CSS Forum

Two values defined in the same propertie

Two values defined in the same propertie

Postby johnyct9760 on Wed Oct 29, 2008 9:13 pm

I'm making a internal CSS sheet (I know, I know...but the client wants in internal :confused:) for a page and I had a pretty basic question. Is there way want when I'm working with my rule properties at the top of the page is there a way to assign 2 values to the same properties?

Example of what I currently have:

.example{
color:#669900;
font-size:14px;
font-style:italic
font-style:oblique;

font-weight:bold;
text-transform:capitalize;
}

What I would like to do:

.example{
color:#669900;
font-size:14px;
font-style:italic, oblique;
font-weight:bold;
text-transform:capitalize;
}
User avatar
johnyct9760
 
Posts: 22
Joined: Sun Mar 02, 2008 5:21 am
Location: USA, Michigan

Postby rangana on Thu Oct 30, 2008 12:24 am

No, that can't be done. You should choose between the three: normal, italic, oblique.

The same concept behind you can't float an element left and right:
Code: Select all
float:left,right
User avatar
rangana
500+ Club
 
Posts: 935
Joined: Wed Feb 27, 2008 5:14 am
Location: Cebu City Philippines


Who is online

Users browsing this forum: No registered users and 0 guests