Jump to content

  • Free consultations and support
  • Live chatClick Here for Live Chat
  • Call ico 1888-906-1888
    Phone support: Open

    Ready for your call :)

    Our business hours:

    Mon — Fri, 2am — 8pm (EST)

    US & EU support teams

    Phone support: Closed

    We are back in: 1h 20m

    Our business hours:

    Mon — Fri, 2am — 8pm (EST)

    US & EU support teams


Specify styles for CSS classes

css classes specify styles

  • Please log in to reply
 

#1 OneDes

OneDes

    Senior Member

  • Designer
  • 282 posts

Posted 22 December 2012 - 10:27 PM

1. Create a normal HTML file. It should contain the following tags along with their closing tags.
<!DOCTYPE html >
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>
2.Make an entry for every class you assigned using:
.classname { }
3.Assign attributes for the classes, such as:
.classname {height: 20px; background-color: #ffffff}
4 .Repeat the same above steps for every class, and save your documents .
5.Open your HTML file in any web browser to check your work, and the code with a CSS validator.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users