GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   CSS brainfart. Can anyone help a brotha out? (https://gfy.com/showthread.php?t=1015530)

TripleXPrint 03-23-2011 11:12 PM

CSS brainfart. Can anyone help a brotha out?
 
I have two separate stylesheets; one for my front-end and another for my admin section. The admin section is a database application with a bunch of form elements. I want to restyle the form elements but there are no classes or IDs assigned to them. Is there a way to style all of my form elements as html tags the same way you would a <p> or <h1> tag?

I don't have full access to the source code so I cannot go in and assign classes to each element. Otherwise I would have done that.

Rofl 03-23-2011 11:18 PM

Yes.

input {
width: 100%;
color: #000;
}

etc etc :)

input
select
textarea
form

are selectors you can use :)

TripleXPrint 03-23-2011 11:21 PM

Quote:

Originally Posted by Rofl (Post 18000784)
Yes.

input {
width: 100%;
color: #000;
}

etc etc :)

input
select
textarea
form

are selectors you can use :)

I don't care what they say about you, you're A-OK in my book. :winkwink: Thanks, it's late and I figured it would be something simple. It's hard to find answers on Google anymore...I just GFY it instead.

Serge Litehead 03-24-2011 03:48 AM

google knows your next question

http://www.google.com/search?source=...+input+ types


All times are GMT -7. The time now is 06:45 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc