<html> <head> <link rel="stylesheet" type="text/css" href="main.css"/> </head> <body> <div class="middle"> <div class="news"> <div class="newsheader"align="center"> <p style="text-align:center;"><span style="font-family:Cursive;font-size:18px;font-style:normal;font-weight:bold;text-decoration:none;text-transform:uppercase;color:6633FF;">News And Updates</span> </p> </div> <div class="newscontent" align="center"> <!--<marquee direction="up">* hiee</marquee>--> </div> </div><!-- Ending news panel--> <div class="igallery"> Gallery </div> </div><!--middle div over--> </body> </html>
.news { height:70%; width:27%; background:#EEE; //border: 3px solid black; border-radius:15px; margin-top:2%; margin-left:1%; display:relative; } .newsheader { border-bottom:3px solid red; height:30px; //padding-top:3%; background:#989898; border-radius:15px 15px 0px 0px; } .footer { height:10%; width:100%; background:#989898; margin-top:50%; } .igallery { height:15%; width:71%; background:red; float:left; margin-left:29%; display:inline; } .middle { border:3px solid red; height:50%; width:100%; background:green; margin-bottom:60%; float:left; }
float:left;
.news
.news { height:70%; width:27%; background:#EEE; //border: 3px solid black; border-radius:15px; margin-top:2%; margin-left:1%; float:left; display:relative; }
margin-left:29%;
.igallery
.igallery { height:15%; width:71%; background:red; float:left; margin-left:29%; display:inline; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)