This is a discussion on "Highlighting Text" within the Web Page Design section. This forum, and the thread "Highlighting Text are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Highlighting Text
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
Highlighting Text
I want to create a kind of punk zine style cut out text effect on my website. My friend once did it on his website in different styles too using css.. he could highlight text in blocks and even highlight each letter seperately.. I don't know how he did it.
I would like to be ble to do this to all the text on my page at once.. is there a way I can have this in my style sheet? |
|
|
|
#2
|
||||
|
||||
|
Re: Highlighting Text
You're going to want to use span tags in your css. That will be the easiest way.
Take a look at this site... http://www.w3schools.com/css/css_text.asp It will help hopefully. Let me know if this isn't what you're looking for. |
|
#3
|
|||
|
|||
|
Re: Highlighting Text
no not exactly because the problem with this is you have to put tags on all the text you want to have highlighted.. I want all the text that is imputted into the web page to be in this style.. without just making it the background colour of the whole page.
|
|
#4
|
||||
|
||||
|
Re: Highlighting Text
You need to understand HTML a little more. Without it, highlighting would be impossible. Span tags are essential for such an effect. If you'd be more clear, we'll be able to discuss it further.
|
|
#5
|
||||
|
||||
|
Re: Highlighting Text
You could do it with a script (generating dynamic css) but not, afaik, with plain css.
People randomize a lot of things, such as graphics, and they change every time the page loads. My first thought would be to randomize size, color, and/or font face, although doing it without a style tag for each letter would take some thought. |
![]() |
| Tags |
| text effects |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Highlighting text selections | mikemike2004 | JavaScript Forum | 6 | Mar 15th, 2008 21:24 |
| Highlighting the active link | lmc148 | Web Page Design | 4 | Mar 3rd, 2008 19:14 |
| making text field text disapear | Phixon | JavaScript Forum | 4 | Feb 2nd, 2008 07:49 |
| [SOLVED] Image with text -> text with background | alexgeek | Web Page Design | 5 | Nov 13th, 2007 23:25 |
| Window Highlighting problem in JavaScript | jayaramgussy | JavaScript Forum | 5 | Sep 20th, 2007 13:01 |