Solved

600 pixels of grey bar in between

Posted on 2011-09-24
3
312 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Help position a graphic properly via CSS 4 29
Error in JQuery 5 51
Alignment is not working correctly. 8 38
Zoom the page when you go in from your phone 3 53
"I want to put my photos online, but I don't want them stolen.  What settings should I use?" When You Put Photos Online First and foremost, any digital file published on the WWW can be copied, stored, modified, retransmitted, etc.  Remember Naps…
Introduction A frequently asked question goes something like this:  "I am running a long process in the background and I want to alert my client when the process finishes.  How can I send a message to the browser?"  Unfortunately, the short answer …
In this tutorial viewers will learn how to style rounded corners for elements in CSS using the border-radius property Begin with a normal styled element such as a div: To style all four corners of the div to be the same degree of roundness, use the …
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

813 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

10 Experts available now in Live!

Get 1:1 Help Now