Question about Cascading Style Sheets.?
I'm learning CSS and I'm having trouble understading types of elements.
block
inline
list item
Can someone please explain these too me? Try to keep it simple I'm still learning....
Public Comments
- In short: A block generates line breaks before and after itself. Something inline sits on the line (of text) and word wraps. A list item is like a block, but can generate a bullet point beside it. http://www.w3.org/TR/CSS21/visuren.html#box-gen has more details.
- css is not hard. u just need some hands on and using the codes for awhile and u will get use to it. if you are learning css for creating blog u can use this: <style> A:link { font-family: tahoma; font-size:9px; text-decoration: bold; font-weight: none; color: #B2B25B; cursor: default } A:visited { font-family: tahoma; font-size:9px; text-decoration: bold; color: #B2B25B; cursor: default} A:active { font-family: tahoma; font-size:9px; text-decoration: bold; color: #B2B25B; cursor: default} A:hover { font-family: tahoma; font-size:10px; color: #ffffff; background-color:464810; cursor: default; border-top: 2px solid ffffff; height: 0px; text-transform: uppercase} } body { background-color: #979453; scrollbar-arrow-color: #ffffff; scrollbar-darkshadow-color: #979453; scrollbar-track-color: #979453; scrollbar-face-color: #979453; scrollbar-shadow-color:#ffffff; scrollbar-highlight-color:#ffffff; scrollbar-3dlight-color:#979453; font-family:georgia; font-size:9px; color:ffffff; text-align:left; } .head { font-weight: bold; font-family: georgia; text-transform: uppercase; font-size: 18px; color: #C9AB6E; background-color: 5D5B29; border-bottom: 3px solid black; text-align: left; cellpadding:5px; letter-spacing: -2pt} -->
Powered by Yahoo! Answers