Support » Themes and Templates » Defining css on page, not in style.css?

  • Resolved sailormarcus

    (@sailormarcus)


    I’m using WordPress to showcase my flash movies, so I’m trying it to set up so different flash movies will be displayed on different posts, using custom variables. I’m using Kimili Flash Embed to embed the movies and I use custom fields to load the address to the urls.

    Problem is, I can’t center the movie with the margin:auto; command unless I specify the width of the div object in which the movie is embedded. The width will be different depending on the movie, so defining it in the style.css won’t work very well.

    Is there a way of defining the width of a div class on the actual page instead of in the style.css file?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Defining css on page, not in style.css?’ is closed to new replies.