Professional Documents
Culture Documents
These paragraphs all have the same styling applied
Ae AUDA steel WD's separately class to more than one element GSS|FAYOUI Div layouts can be created within HTML or PHP documents. Div Jayouts are always modified by using CSS. With CSS you can change the height, width, color, and other elements of a div layout. You can create your own layout using web design software or find free, clean div layout templates on the web. fed helt uit BO elelt eee SE CR ck a ee ee SIZE tue tu uke to define the height ofa div that is used to contain images. You can also define size by a percentage by coding FLOAT |_| SEES rear Dd crete et color hi { color: #FFFFFF; } border color COLOR — ) ripe (eaaetioricoeee aia aay iaipeow { color: FFCCFF; }. surrounding line ‘can change color, style and width or choose to display no border at all border style solid, dotted, dashed, ‘groove, ridge, double, inset, outset, or hidden ce eee ere eons a eames oe omar oom rooneanet oom Pome rere earn tae peony Try each of this border setting, you will be happy! |iibanuuoens Cs Cr ee cee Ad Re Ru ree Les for divs with borders to create a clean look. Padding is defined by pixels. Hie oreer outside wf the border, isaperDN {meng 2p} age Magevargn CONTENT HERE CONTENT HERE MARGIN body { margin: Opx Opx Opx Opx; } CeCe eee) Ce Se) body { margin-top: 10%; margin-right: Opx; margin-bottom: Opx; margin-left: Opx; } Remember that the margin property may apply to more than just a body selector. EXTERNAL CSS Beene Oe ae eRe eee Cm UR ROO Rg ae aU Beet Ren eue sae iu ane Saami Lees TC ee etc cae Cea tS oe eee ee Col ee ROCs To include an external style sheet in your webpage include the following code in the head. Be sure to replace UNC cece