This is a discussion on "CSS repeating bg for button" within the Web Page Design section. This forum, and the thread "CSS repeating bg for button are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
CSS repeating bg for button
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
CSS repeating bg for button
Hi,
I am trying to create buttons with css and html with the text on the buttons being html links. Have a look at what I am trying to create in the screen shot. I know I wont be able to use the font in html so I will use Verdana. I have tried creating an unordered list and displaying inline with styling but cant achieve to effect. I have taken a sliver of the image for the background and repeated it across. How do I get the 'endcaps' of the button, will i insert images for these? I could take the whole image and put it in the background but I do not want to do this because the buttons will be different lengths. Also the buttons will be localised eventually so they will be unpredictable lengths. Any ideas? |
|
|
|
||||
|
Re: CSS repeating bg for button
|
|
|||
|
Re: CSS repeating bg for button
The content will be localised into different languages in the future, this means that to have images for different links in all languages would be a lot of work.
It is also going to go into a system of CMS so that users can customise their own navigation. If there is a way of doing this with CSS/HTML rather than just cutting and linking images it would be a lot more ideal... |
|
||||
|
Re: CSS repeating bg for button
If you dont need the end caps you could always do it like this one i wrote.
http://www.williamrivero.co.nr Don't copy the code, it's too messy. |
![]() |
| Tags |
| background repeat button |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Repeating table with js? | moojoo | JavaScript Forum | 11 | Jul 27th, 2006 13:08 |
| Weird IE Bug - repeating words | Andy K | Web Page Design | 5 | Mar 5th, 2006 12:23 |
| hover image repeating on me | hessodreamy | Web Page Design | 1 | Dec 7th, 2005 13:41 |
| Repeating DIV in Safari | chevy409 | Web Page Design | 0 | Oct 4th, 2005 21:03 |