I am still new to CSS, and know HTML pretty well. I have been working on ym new site from scratch to learn CSS, while trying to keep it 4.0.1 Strict complient and CSS Complient by W3C standards. Anyway, the thing I am running into is When I have a multiline text It's not correctly lining up as with the first line. You can see what I'm talking about here: I'm making the database from scratch as well as my template. The appropriate CSS code I am using looks like this:
News Article Box
Comment Box
I know the colors are ugly, but I'm still in the setup phase. If you have any other constructive critiques or I'd appreciate them.
News Article Box
Code:
div.note_box{
background-color:#0000FF;
width: 30%;
text-align: left;
margin: 10px;
border-style: solid;
border-color: #0000FF;
border-width: 5px;
border-bottom-width: 10px;
position: relative;
left: 35%;
}
span.note_header{
width: 50%;
margin: 10px;
border: 10px solid gray;
line-height: 150%;
background-color: gray;
}
span.note_date{
width: 50%;
margin: 10px;
border: 2px solid #FFA500;
line-height: 100%;
font-size: 10pt;
background-color: #FFA500;
}
span.note_body{
width: 40%;
margin-left: 10px;
margin-bottom: -3px;
font-size: 11pt;
background-color: #FFFFFF;
color: #000000;
position: relative;
top: -5px;
}
Comment Box
Code:
div.comment_box{
background-color:#0000FF;
width: 15%;
text-align: left;
border-style: solid;
border-color: #0000FF;
border-width: 0px;
bottom-border-width: 2px;
position: relative;
left: 42%;
}
span.comment_name,.comment_date,.comment_body,.comment_website{
font-size: 9pt;
color: #FFFF00;
position: relative;
left: 10%;
}
I know the colors are ugly, but I'm still in the setup phase. If you have any other constructive critiques or I'd appreciate them.