Solved

600 pixels of grey bar in between

Posted on 2011-09-24
3
291 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
Comment Utility
<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
Comment Utility
<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
Comment Utility
thanks
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
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 style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
In this tutorial viewers will learn how to style a decorative dropcap for the first letter in a paragraph using CSS. In CSS, create a new paragraph class by typing "p.fancy": Then, to style only the first letter of the first sentence, include the ps…

772 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

14 Experts available now in Live!

Get 1:1 Help Now