I'm trying to create a simple 2 column layout within my layout.
The div on the left is red, for debugging purposes. (divLeft)
The div on the right is white. (divRight)
I can't figure out why the div on the right doesn't go all the way to the top.
http://autoshowreport.com/Articles.aspx?ID=14
The div on the left is red, for debugging purposes. (divLeft)
The div on the right is white. (divRight)
I can't figure out why the div on the right doesn't go all the way to the top.
http://autoshowreport.com/Articles.aspx?ID=14
Code:
<%@ Page Language="C#" MasterPageFile="~/asr.master" AutoEventWireup="true" CodeFile="Articles.aspx.cs"
Inherits="Articles" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
<div id="divLeft" style="width:75%; float:left; margin-left:5px; background-color:Red;">
<span id="spnHeadline" runat="server">HEADLINE HERE</span>
<br />
<span id="spnStory" runat="server">story here</span>
</div>
<div id="divRight" style="width:25%; float:right; background-color:White;">
<div id="divRightAd" style="background-color:White; width: 100%; float:right;">
<center><img src="images/skyscraper.gif"></center>
</div>
</div>
</asp:Content>