Jump to content
Sign in to follow this  
agileapricot

How can I stop custom sections being warped in extra code?

Recommended Posts

agileapricot

I've made a custom section for a featured image that i'd like to float next to whatever it's next to. However it's inserted all this extra code for clearing floats. How do I stop it from doing that?

<div class="copy fix" id="featured_image">
					<div class="copy-pad">
	
	< img title="art-35cb" alt="art-35cb" src="http://mysite.dev/wp-content/uploads/2011/01/art-35cb-244x300.jpg" />
	
					<div class="clear"></div>
					</div>
				</div> 

Share this post


Link to post
Share on other sites
cmunns

You could apply a float to the wrapper using the css, but of course if you just need to add a simple image why don't you use the wp-editor? or maybe I'm just missing what you're trying to do.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×