I believe the .css file is missing some stuff per the codex |
|
ronstephens
|
For about 20 minutes I couldn't figure out why the pictures had no gap between the text and the right edge of the picture, so I did a google.
Turns out that at http://codex.wordpress.org/Wrapping_Text_Around_Images they detail some important information about what has to be in the css file ... but on the file created by Artisteer, it's missing.
I added the lines as required by the codex into the css on my server:
img.alignright {float:right; margin:0 0 1em 1em}
img.alignleft {float:left; margin:0 1em 1em 0}
img.aligncenter {display: block; margin-left: auto; margin-right: auto}
a img.alignright {float:right; margin:0 0 1em 1em}
a img.alignleft {float:left; margin:0 1em 1em 0}
a img.aligncenter {display: block; margin-left: auto; margin-right: auto}
... and everthing started working. So...why does Artisteer display the correct stuff, but yet when I put it on my server, it's different until I add the lines above?
Sure confuses me. I tried the html files in the temp directory and they work fine without these lines.
Whew. What's going on here?
|
|
Caroline
|
Hello ronstephens,
Yes, such style is missing in the templates generated by 1.0 version. I think you can add these rules to your style.css manually.
But as I see the issue is solved in v2 Beta available here:
http://www.artisteer.com/Default.aspx?p=news
Caroline.
|
|
|
|