Forum FAQForum FAQSearchSearch MemberlistMemberlist Forum ignore listForum ignore list RegisterRegister ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in
CSS [input]

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Client-side
View previous topic :: View next topic  
Author Message
i72852



Joined: 25 Feb 2004
Posts: 81

PostPosted: 06.01.2005 17:06    Post subject: CSS [input] Add user to your forum ignore list Reply with quote

proble se javlja (narvno) u IE...
kad posavim bordere za textfield u IE mi te bordere stavi i na radiobutton..
evo koda:
Code:

<html><head>
<style>
input {
   font-family: Arial, Helvetica, sans-serif;
   font-size: 9px;
   font-weight: normal;
   border: 1px solid #FF0000;
}
</style>
</head>
<body>
   <form action="" method="get">
        <input name="" type="checkbox" value=""><br />
        <input type="radio" name="RadioGroup1" value="radio">radio <br />
        <input type="text" name="textfield">
   </form>
</body>
</html>

u FF sve ok prikazuje.... ima li neko rjesenje toga... (osim onog da u svaki input stavlja <input style=".....">) Confused
Back to top
View user's profile Send private message Visit poster's website
maratz
mi3.crew


Joined: 24 Nov 2003
Posts: 1207
Location: ZAG

PostPosted: 06.01.2005 17:18    Post subject: Re: CSS [input] Add user to your forum ignore list Reply with quote

Svakoj vrsti (type) definiraj drugačiju klasu

_________________
STOP HITTING YOURSELF! | NETIQUETTE | TYPETESTER | Hypertext rulez™ | CREATIVE NIGHTS | ACCOMMODATIONS
Back to top
View user's profile Send private message Visit poster's website Twitter profile
che.UP
mi3.crew


Joined: 07 Sep 2003
Posts: 2320
Location: zagreb

PostPosted: 06.01.2005 17:18    Post subject: Add user to your forum ignore list Reply with quote

mozes napravit recimo .noborder klasu u kojoj maknes border i onda tu klasu stavis na svaki radio button.

ili napravis klasu .input-text koji ces stavit na svaki textbox

da explorer pozna css2 kak se spada mogao bi i koristit ovo (po meni zakon selektor:)

Code:
input[type=text] {
 ...
}

_________________
UP | TypeTester | Accommodations App
Meni u Firefox-u ne radi AJAX
Back to top
View user's profile Send private message Visit poster's website
i72852



Joined: 25 Feb 2004
Posts: 81

PostPosted: 06.01.2005 17:24    Post subject: Add user to your forum ignore list Reply with quote

OK.. puno vam hvala...
Back to top
View user's profile Send private message Visit poster's website
Sulien



Joined: 04 Jan 2004
Posts: 2905
Location: Zagreb

PostPosted: 06.01.2005 18:57    Post subject: Add user to your forum ignore list Reply with quote

che.UP wrote:
da explorer pozna css2 kak se spada mogao bi i koristit ovo (po meni zakon selektor:)

Code:
input[type=text] {
 ...
}

Ja po noći i po danu sanjam o idealnom svijetu gdje browseri ne moraju biti puno pametniji, samo neka podržavaju selectore iz specifikacije... please Sad
Back to top
View user's profile Send private message Send e-mail Visit poster's website
imbrod
Guest





PostPosted: 10.01.2005 14:16    Post subject: Reply with quote

neka rjesenja za IE:

- samo text.polju dodijeli stil: <input style="border....">

ili

- dodijeli text.polju neku klasu <input class="tekst1" ...>
a klasu definiraj:
.tekst1 {border:....}
Back to top
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Client-side All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group