• joviyach

    (@joviyach)


    Is it possible to use HTML and CSS in a page or post?

    For example, I have a CSS based image transition I would like to place in a page, so this would be HTML with a reference to the CSS in it like a basic web page.

    Can this be done? If so, what is the best/easiest way to do it?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Dhikra

    (@dhikra)

    In the edit screen you have a tab called html.
    You click on it and enter your html there. Then you add your css code to your style.css file.

    Thread Starter joviyach

    (@joviyach)

    That did work, sort of. It created a new problem however in that it skewed the placement of the sidebar. Instead of the right hand side, it appears on the bottom in the left corner.

    What controls the placement on that?

    wspencer

    (@wspencer)

    Sounds like whatever you added to your style.css file combined with the HTML of the post messed up the float for your sidebar.

    Can you post a link to your site and the css you added?

    Thread Starter joviyach

    (@joviyach)

    Sure. I modified the HTML and CSS (there are three style sheets) from here to accommodate images that are 152 px wide x 234 px tall.

    I modified for the image sizes, this was not a problem, but when I modified the .main element to scale the “content” div down to something that would fit in the approximately 650 px width, it doesn’t make a difference. Still off sets the sidebar.

    I took down the example I was working on already, but I can send a screen shot of what it looked like if needed.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘html/css in a post and/or page?’ is closed to new replies.