Solved

write text over repeating pixel pattern

Posted on 2011-09-24
2
317 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
CSS SASS 4 55
Google Tag Manager - Add Trigger Using Div class 22 100
Wordpress themes CSS? 6 41
CSS Selector Chain NOT working for this situation? 3 16
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 style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
In this tutorial viewers will learn how to style different bullet points for unordered lists in CSS. Begin with a normal unordered list; the default bullet point is a solid circle: In the CSS, create a defined class of unordered list by typing "ul.S…

752 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