• Ok, here’s the dilly. . .
    I have three forms on my site. One is the comment form, one is a newsletter subscription form, and one is a contact (via email) form.
    The subscription form is in the “menu” div where the calendar and everything used to be. The contact form has it’s own page, but I’ve modularized the WP code so that it’s header/content/footer. So when you’re on the contact form page, you still see the subscription form over there to the right.
    The problem is that I’m definitely no CSS whiz and while I’ve got it mostly sorted out by this point (thanks for the help – you know who you are) there’s still a couple issues.
    One being that the “ok” or submit button expands to the same width as the input fields. I want a nice neat little button, not a big ass thing that spans the page. I tried giving it it’s own class in the PHP and then CSSing that, but it doesn’t seem to make a difference.
    The other (I think maybe related) problem is that the footer on the contact page rides half way up the page. I tried forcing it to the bottom, but that didn’t quite work.
    Any ideas? Please?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Button:
    #menu li form input {width: 10em;}
    That makes my Search button very wide. 1em = M in your font. 2em’s = MM etc so you can adjust.

    Thread Starter TMo

    (@tmo)

    I guess I have to put the li back in then?
    Right now in the php it’s just

    <div= “menu”>
    form stuff (no li’s or p’s or anything).
    form stuff
    form stuff
    </div>

    Thread Starter TMo

    (@tmo)

    Two $!@#$^$!! days to style a f***ing submit button!!
    Great.
    In theory, since the form I want to style is in the <menu> it should be:
    ‘div#menu input.submit { etc etcetc }’
    That doesn’t work. Doesn’t matter if I use tables or CSS or definition lists or yo mama to lay out the form, the submit button wants to be an input when it comes to style. I tried the above with input:submit just for good measure too. Nope.
    C’mon, someone’s gotta know how to do this. I’m at my wit’s end with this crap. Surely it’s not that complex. Is it?

    I think that I am having the same trouble. All I want to do is change the colours… it’s really getting on my nerves.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Three Forms One CSS File’ is closed to new replies.