Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 03-23-2011, 11:12 PM   #1
TripleXPrint
Confirmed User
 
TripleXPrint's Avatar
 
Join Date: Apr 2007
Posts: 983
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.
__________________
Skype: Triplexprint
TripleXPrint is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-23-2011, 11:18 PM   #2
Rofl
Confirmed User
 
Rofl's Avatar
 
Join Date: Feb 2010
Posts: 129
Yes.

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

etc etc

input
select
textarea
form

are selectors you can use
__________________
ICQ: 350550117
Rofl is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-23-2011, 11:21 PM   #3
TripleXPrint
Confirmed User
 
TripleXPrint's Avatar
 
Join Date: Apr 2007
Posts: 983
Quote:
Originally Posted by Rofl View Post
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. 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.
__________________
Skype: Triplexprint
TripleXPrint is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-24-2011, 03:48 AM   #4
Serge Litehead
Confirmed User
 
Serge Litehead's Avatar
 
Industry Role:
Join Date: Dec 2002
Location: Behind the scenes
Posts: 5,190
google knows your next question

http://www.google.com/search?source=...+input+ types
__________________
Serge Litehead is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.