Solved

write text over repeating pixel pattern

Posted on 2011-09-24
2
306 Views
Last Modified: 2012-05-12
toppick-l.gif    I want toppick-bg.gif to be repeated 600 px toppick-bg.gif toppick-r.gif

and I want this to be so I can write text over it

Top Pick

maybe use as a background in css




 
0
Comment
Question by:rgb192
2 Comments
 
LVL 12

Accepted Solution

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

<body>
<div style="width:620px;height:38px">
<div class="toFloat" style="width:10px;height:38px;background-image: url('toppick-l.gif');"></div>
<div class="toFloat" style="width:600px;height:38px;background-image: url('toppick-bg.gif');">This is your text</div>
<div class="toFloat" style="width:10px;height:38px;background-image: url('toppick-r.gif');"></div>
</div>
</body>
</html>
0
 

Author Closing Comment

by:rgb192
ID: 36596127
thanks
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
In this Micro Tutorial users will learn how to embed custom fonts into websites using @font-face in CSS Select a font: Ensure the EULA allows you to use @font-face: Download the font: Get the browser-compatible files you need: Edit your CSS       - Name …
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

809 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