|
uCoz Community Archives Locked I need help with CSS, can anyone help me? |
I need help with CSS, can anyone help me? |
So that's basically my problem. Can anyone give me any idea on how to achieve this? "Friends don't let friends use Internet Explorer 6." - Microsoft || Join the cause. Help your friends.
|
shadowslash, go to Design->Design management (CSS)->embed this
input[type=submit], input[type=reset], input[type=button] {...} input[type=text], input[type=password] {...} Their style should be indicated in {...} I believe this is what you are interested in. |
Natashko, I'm fine with making my own CSS styling for the form items, what I'm interested in learning is how do I make my buttons look like the one on the login field as shown on my screenshot above. I don't want to change its style, I just want all my buttons and input text to be the same as it is.
"Friends don't let friends use Internet Explorer 6." - Microsoft || Join the cause. Help your friends.
|
Hmmm.... I'll try to elaborate some more, you see, on my screenshot above, you can see how the login button looks like right? The problem is, other buttons on my site don't look like that one. I want my to look like . Does that make it any clearer? xD
Attachments:
7402558.png
(0.7 Kb)
·
8332440.png
(0.5 Kb)
"Friends don't let friends use Internet Explorer 6." - Microsoft || Join the cause. Help your friends.
|
shadowslash, if you embed this
input[type=submit], input[type=reset], input[type=button] {...} input[type=text], input[type=password] {...} in CSS you will be able to indicate style for all the buttons inside {...} Are you interested in the style that you should indicate for this class of buttons? Please, provide a website name, where you need to substitute the buttons. |
Quote (Natashko) Are you interested in the style that you should indicate for this class of buttons? Please, provide a website name, where you need to substitute the buttons. Yes, that's exactly what I meant. I'm not sure what CSS codes to use to make my buttons look like this . Here's the site. "Friends don't let friends use Internet Explorer 6." - Microsoft || Join the cause. Help your friends.
|
Azeem, at your website name you have two buttons for Guests: Log in and log out. When users log in, they see only log out button. But when they log out, they see two buttons. Do you want them to see one button before logging in only?
If this is what you are interested in, conditional operators might help you. See more about them here http://forum.ucoz.com/forum/37-471-1#36483 It is also possible to restore default template, so the original settings are back. Kness, please, provide help only if you are 100% sure. Thank you. |
shadowslash, you may add this at the end of CSS
input[type='text'], input[type='password'] {padding:2px 3px;border:1px solid #43423D; background:#404040 url(/.s/img/wd/6/text-bg.gif) repeat-x 0 0;} textarea {padding:2px 3px;border:1px solid #43423D; background:#3E3E3E url(/.s/img/wd/6/text-bg.gif) repeat-x 0 0;} input[type='text']:focus, input[type='password']:focus, textarea:focus {border:1px solid #57544F; background:#3E3E3E url(/.s/img/wd/6/text-bg-focus.gif) repeat-x 0 0;} It will help you with the input fields. Unfortunately, creating buttons requires custom coding. We do not provide help with it. |
Natashko, Thanks! I appreciate the input box styling thing. Question though, how is it custom coding if it's already being used in the uCoz system? Can't you just, umm, copy paste the CSS for the button? That seems to be the only thing I have wrong, I can't find where the CSS code for the button is...
"Friends don't let friends use Internet Explorer 6." - Microsoft || Join the cause. Help your friends.
|
| |||
| |||