David Karlins shares tricks and techniques for styling the form element.
- [Narrator] Let's start with the most basic CSS style…that you use in form design, and that is the form element.…Now before diving right into that,…I want to point out a couple of things.…I'm starting with a very bare bones,…completely unstyled form, and I've made that available…for you in the exercise files.…I also want to note that inside the style element…there's no styling at all for the page itself,…and I want to just show you the relationship…between styling a page and styling a form.…
So let me create a little, very basic code…for a body style that will apply to the entire page.…And what I want to you note here is that the form itself…inherited all the different styling that I applied…to the body, so I just want you to be aware…that that's how inheritance works.…Next, let's define some basic styling for the form itself.…Note over on the live side of the screen how the font…styling as well as all the other styling that I applied…to the form overrides the styling from the body tag.…
So, two rules.…One, forms inherit basic styling from the body tag.…
Author
Released
11/8/2017- Modern form inputs
- Dreamweaver form design features
- Styling forms with CSS
- Form input types
- Setting required inputs and constraints
- Styling inputs with CSS
- Integrating Bootstrap tools
Skill Level Advanced
Duration
Views
Related Courses
-
Considering a CMS for Web Design
with Brian Wood54m 59s Beginner -
Design Aesthetics for the Web
with Sue Jenkins2h 45m Beginner -
Dreamweaver CC Essential Training
with David Powers8h 11m Beginner
-
Introduction
-
Welcome48s
-
Using the exercise files1m 52s
-
-
1. Examples of Modern Inputs
-
2. Building Forms with Dreamweaver
-
Styling forms with CSS2m 9s
-
3. Form Input Types
-
The color input2m 33s
-
The date input2m 27s
-
The email input1m 41s
-
The number input1m 42s
-
The range input3m 19s
-
The search input1m 56s
-
The telephone input1m 6s
-
The time input2m 3s
-
The URL input3m 56s
-
4. Using HTML5 Inputs for Validation
-
Setting a required input3m 13s
-
Setting a constrained input2m 56s
-
-
5. Inviting and Accessible Inputs
-
Effective use of labels1m 43s
-
6. Styling Input
-
Styling inputs with CSS1m 18s
-
CSS for forms1m 33s
-
CSS for styling inputs1m 14s
-
CSS for styling text areas1m 34s
-
Styling with fieldsets2m 39s
-
-
7. Bootstrap Form Tools
-
Creating inline forms3m 9s
-
Adding labels and badges1m 12s
-
Adding sets of radio buttons3m 10s
-
Conclusion
-
Next steps2m 11s
-
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: CSS for forms