user1115862
user1115862

Reputation: 1

css3 and dreamweaver

i have just downloaded dreamweaver cs5.5 and am trying to apply css3 to my page, however although my current css is working fine both in dreamweaver and other coders the new css3 is not being applied. eg i am trying to apply border-radius, although it is showing up in my css list as i type it out (unlike microsoft expression 4, which is'nt although i believe it should), it is not being applied to the actual page. i have also tried using box-shadow, and linear-gradient, both unsuccessfully which made me believe that it is a css3 issue. could it be something like setting up dreamweaver to accept css3, (ticking/unticking something in settings).

i am a beginner, any help would be appreciated and also i have looked it up before submitting q, but it seems not much info on css3 and especially css3 with dreamweaver. thanks in advance

Upvotes: 0

Views: 372

Answers (2)

sushil bharwani
sushil bharwani

Reputation: 30197

Please see what browser you are using Internet explorer 8 and below may not support the css3 newly introduced styles.check it in a browser like chrome. Also refer to the answer from @rfinz you can see how he does it for different browsers. You probably have to work along the same lines

Upvotes: 0

rfinz
rfinz

Reputation: 372

Did you make sure to include properties for all browsers? also, can we see your css? Cross compatible linear gradient needs to look like this:

linear-gradient(bottom, rgb(48,54,48) 0%, rgb(54,61,54) 100%); 
-o-linear-gradient(bottom, rgb(48,54,48) 0%, rgb(54,61,54) 100%); /*opera*/
-moz-linear-gradient(bottom, rgb(48,54,48) 0%, rgb(54,61,54) 100%);/*mozilla*/
    -webkit-linear-gradient(bottom, rgb(48,54,48) 0%, rgb(54,61,54) 100%);/*chrome*/
-ms-linear-gradient(bottom, rgb(48,54,48) 0%, rgb(54,61,54) 100%);/*IE*/

Upvotes: 0

Related Questions