Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Crazy CSS world in browsers and OSs
Old 06-14-2012, 11:30 AM Crazy CSS world in browsers and OSs
jim1228's Avatar
Extreme Talker

Posts: 219
Name: Jim
Location: Down the Yellow Brick Road
Trades: 0
so, you have this

Code:
input
{
      width: 100px;
}
it will effect all input elements in some browser, but in my Firefox browser on my Linux it only effects "text" based input elements

why?

it will ignore radio and checkbox input elements

hahaha

I solved it by doing this:

Code:
input[type="text"], input[type="radio"], input[type="checkbox"]
{
      width: 100px;
}
crazy code world
crazy standards

when all fails, invent your own technology, and cause more confusion
jim1228 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-14-2012, 01:07 PM Re: Crazy CSS world in browsers and OSs
lizciz's Avatar
Super Spam Talker

Posts: 845
Name: Mattias Nordahl
Location: Sweden
Trades: 0
I agree in that it's a bit sad that everyone can't follow the same standard, but why would you want a radio or checkbox input to be 100px wide?
__________________
Your answers will only be as good as your question. Formulate it well and give all the necessary information.
lizciz is offline
Reply With Quote
View Public Profile Visit lizciz's homepage!
 
Old 06-14-2012, 02:36 PM Re: Crazy CSS world in browsers and OSs
vangogh's Avatar
Post Impressionist

Posts: 11,146
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
Styling forms has never been as easy as it should be for some reasons. Browsers want to style forms their way and it can be a challenge to get forms looking the same cross-browser.

Why your first bit of code to style the input didn't work in Firefox, who knows. I guess FF considers input the same as input[type="text"], and only honors the other types if you specifically include them.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Design, Development, Marketing, and SEO Tutorials |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 06-14-2012, 06:47 PM Re: Crazy CSS world in browsers and OSs
chrishirst's Avatar
Defies a Status

Posts: 43,970
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Some form elements are NOT affected by CSS property values because they are "windowed objects" and are handled by the underlying operating system NOT the browser rendering engine.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 06-15-2012, 09:31 PM Re: Crazy CSS world in browsers and OSs
Physicsguy's Avatar
404 - Title not found

Posts: 1,061
Name: Scott Kaye
Location: Ontario
Trades: 0
I wonder if any reset scripts would help:

http://meyerweb.com/eric/tools/css/reset/
http://www.cssreset.com/

Never used them before, but maybe they reset these values to be modified more easily.
__________________

Please login or register to view this content. Registration is FREE
Physicsguy is offline
Reply With Quote
View Public Profile Visit Physicsguy's homepage!
 
Old 06-16-2012, 04:55 AM Re: Crazy CSS world in browsers and OSs
miki86's Avatar
Extreme Talker

Posts: 239
Location: print_r($serbia);
Trades: 0
Nope, they don't help for some elements like <input type="file">

It looks different in every browser, even the width can't be the same and that is so lame.
miki86 is offline
Reply With Quote
View Public Profile
 
Old 06-16-2012, 07:05 AM Re: Crazy CSS world in browsers and OSs
chrishirst's Avatar
Defies a Status

Posts: 43,970
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
Originally Posted by miki86 View Post
Nope, they don't help for some elements like <input type="file">

It looks different in every browser, even the width can't be the same and that is so lame.
And how many of your visitors are likely to be running several browsers and comparing how one particular button looks like in each one?
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 06-16-2012, 07:31 AM Re: Crazy CSS world in browsers and OSs
miki86's Avatar
Extreme Talker

Posts: 239
Location: print_r($serbia);
Trades: 0
Probably none, but that's not the point.
You don't have total control over styling form elements and that can ruin your design.
Here is what i mean:

Attached Images
File Type: jpg Untitled-1.jpg (9.9 KB, 24 views)
miki86 is offline
Reply With Quote
View Public Profile
 
Old 06-16-2012, 07:49 AM Re: Crazy CSS world in browsers and OSs
chrishirst's Avatar
Defies a Status

Posts: 43,970
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
You don't have total control over styling form elements
Correct.

Quote:
that can ruin your design
Allow for it when developing the design.

This is why "designers" should ONLY design ... and let developers make it work!


Developers do not get hung up on a layout and waste time piddling about with the trivial aspects of a particular "look".
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 06-18-2012, 04:41 PM Re: Crazy CSS world in browsers and OSs
vangogh's Avatar
Post Impressionist

Posts: 11,146
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
Quote:
Developers do not get hung up on a layout and waste time piddling about with the trivial aspects of a particular "look".
Developers also make some truly awful looking sites that are as likely to send people away as keep them on the page. Design is important. Layout is important. All those little details make the page more inviting to read. Both design and development are important parts of building successful websites.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Design, Development, Marketing, and SEO Tutorials |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 06-19-2012, 01:13 AM Re: Crazy CSS world in browsers and OSs
chrishirst's Avatar
Defies a Status

Posts: 43,970
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
Developers also make some truly awful looking sites that are as likely to send people away as keep them on the page.
I certainly can errmmm They certainly do!

That's why developers should never design.

The two disciplines require different mindsets and skills which are rarely found together in the same human being.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 06-20-2012, 03:37 PM Re: Crazy CSS world in browsers and OSs
vangogh's Avatar
Post Impressionist

Posts: 11,146
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
Funny. I agree the disciplines take different mindsets. The question is where's the line between design and development. The two while different also work together. Whichever side you're on if you can learn more about the other I think it will benefit your work and help you work together with the other side.

In this case with the look of the form inputs, I do think we're talking design.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Design, Development, Marketing, and SEO Tutorials |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Reply     « Reply to Crazy CSS world in browsers and OSs
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.50893 seconds with 12 queries