i have a header.jsp file with the following div tag:
<%@ page language="java" isELIgnored="false" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<jsp:directive.include file="/WEB-INF/sitemesh-decorators/include.jsp"/>
<fmt:setBundle basename="bundles.application-resources"/>
<div id="header">
<h1><fmt:message key="application.title"/></h1>
</div>
<div id="message"></div>
<div id="login" ><jsp:include page="/WEB-INF/sitemesh-common/login.jsp" /></div>
and my css file as follows:
#header{solid #999;margin-bottom:10px;float:top left;min-width:960px;
background: transparent url('../pharmacy.jpg') no-repeat;}
#message{margin-bottom:10px;float:top right;min-width:960px;
background: transparent url('../medecine.jpg')no-repeat;}
#login{float:bottom;*margin-bottom:-15px;}
my problem is i have an image in #header and another image in #message. i want both to be on the same level but one on the right and the other one on the left. the position of the image in #header is good. but in #message, it's not good. it's not on the same level.anyone can tell me how to solve this?