Jump to content
Sign in to follow this  
freshlydesigned

CForm alignment

Recommended Posts

freshlydesigned

Hi there, Can't seem to set the margins to 0 for this CForm. Have tried the code below which worked on other sites but not this one, any ideas much appreciated. .cform ol {margin-left:0px;} .hentry ul, .hentry ol, .comment-body ul, .comment-body ol { margin-bottom:1em; margin-left:0px; } Thanks Jamie

Share this post


Link to post
Share on other sites
cmunns

try `body .cform ol {margin-left:0px;}`

Share this post


Link to post
Share on other sites
freshlydesigned

Tried that and it didn't work. It's weird, I've tried a few things for changing h4 and h5 tags and they aren't working either, can you see anything in my code that might be blocking it? Cheers Adam body{} #feature {margin-top: 0px; margin-bottom: 0px;} .widget-title {color: #952106;} #branding .content-pad { padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 10px; } #boxes .content-pad { padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; } #sidebar1 .scolumn-pad { padding-bottom:2em; padding-left:0em; padding-right:0.7em; padding-top:1em; } #sidebar1 img { padding-top:5px; padding-bottom:5px; } .mcolumn-pad { padding-top:1em; } .scolumn-pad { padding-top:1em; } #secondnav li a { font-family: "Arial", "Lucida Grande","Lucida Sans","Lucida Sans Unicode",sans-serif; letter-spacing: 0.1em; font-size: 0.9em; text-transform: uppercase; font-weight: normal; font-variant: normal; font-style: normal; } .content-pad #list_fullwidth_sidebar { width: 960px; } .cform fieldset { background-color: #d2cdb9; { .cform ol {margin-left:0px;} .hentry ul, .hentry ol, .comment-body ul, .comment-body ol { margin-bottom:1em; margin-left:0px; }

Share this post


Link to post
Share on other sites
freshlydesigned

Hmm....that's weird, it worked when I put it in the top of the code. must be a fault somewhere I guess?

Share this post


Link to post
Share on other sites
Kate

Yes, probably is. Check for unclosed tags...

Share this post


Link to post
Share on other sites
freshlydesigned

yup, found it, thanks guys!

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  

×