Solved

600 pixels of grey bar in between

Posted on 2011-09-24
3
303 Views
Last Modified: 2012-05-12
want
title_.l.gif
title_aboutus.gif
600 pixels of grey bar
title_r.gif


title-l.gif title-aboutus.gif 600 pixels of grey bar title-r.gif
0
Comment
Question by:rgb192
3 Comments
 
LVL 9

Expert Comment

by:user_n
ID: 36592838
<html>
<head>
<style>
#left{
float:left;
}
#right{
float:right
}
</style>
</head>
<body>
<div>
<div id="left"><img src="./images/title-l.gif" alt="Angry face" /></div>
<div ><img src="./images/title-aboutus.gif" alt="Angry face" /></div>
<div id="right"><img src="./images/title-r.gif" alt="Angry face" /></div>
</div>
</body>
</html>
0
 
LVL 12

Accepted Solution

by:
Dean OBrien earned 500 total points
ID: 36593158
<html>
<style>
img {margin:0;border:0}
.toFloat {margin:0;padding:0;float:left}
</style>

<body>
<div>
<div class="toFloat" style="width:51px;height:36px"><img src="title-l.gif"></div>
<div class="toFloat" style="width:144px;height:36px"><img src="title-aboutus.gif"></div>
<div class="toFloat" style="width:600px;height:36px;background:#ccc">&nbsp;</div>
<div class="toFloat" style="width:10px;height:36px"><img src="title-r.gif"></div>
</div>
</body>
</html>

Easynow
0
 

Author Closing Comment

by:rgb192
ID: 36596124
thanks
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Unordered lists (HTML ul tags) are very handy to create menus of all types, shapes and sizes.  All it takes is a little knowledge of CSS and the possibilities are endless. First off, you should know the general format for menus created using the …
Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now