This is a discussion on "Styling the <h1> tag." within the Web Page Design section. This forum, and the thread "Styling the <h1> tag. are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Styling the <h1> tag.
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
||||
|
||||
|
Styling the <h1> tag.
I have a question.
On this site: http://chrisgarrettmedia.com/ This guy's <h1> is styled to be his logo but it also has text that is not visible when his CSS is applied. So when you remove all style information it displays the text and nothing seems broken. How do you achieve this? It's a really cool effect and is super accessible. Anyone? Cheers in advance. Dan.
Last Blog Entry: Annoying people.... (Jan 16th, 2008)
|
|
|
|
#2
|
||||
|
||||
|
Re: Styling the <h1> tag.
It seems he's defining the words to be displayed off the page. He has it set at -9000px to the left.
I woudn't call it accessible, you cant resize the font of the logo http://chrisgarrettmedia.com/index.p...ntation/screen Craig |
|
#3
|
||||
|
||||
|
Re: Styling the <h1> tag.
Quote:
Last Blog Entry: Annoying people.... (Jan 16th, 2008)
|
|
#4
|
|||
|
|||
|
Re: Styling the <h1> tag.
Probably something like this.
h1#foo { width:; height:; background:url("foo.jpg") top left no-repeat; } h1#foo a { visibility:hidden !important; }
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
|
|
#5
|
||||
|
||||
|
Re: Styling the <h1> tag.
Ahh yes, you're probably right there.
Question: Why do you call everything "foo" when you post on here?
Last Blog Entry: Annoying people.... (Jan 16th, 2008)
|
|
#6
|
|||
|
|||
|
Re: Styling the <h1> tag.
Foo is a generic term used to specify items in an example.
Here is a definition of the term: "A metasyntactic variable is a placeholder name, or a kind of alias term, commonly used to denote the subject matter under discussion, or a random member of a class of things under discussion. The term originates from computer programming and other technical contexts, and is commonly used in examples by hackers and programmers. The use of a metasyntactic variable is helpful in freeing a programmer from creating a logically named variable, although the invented term may also become sufficiently popular and enter the language as a neologism. The word foo is the canonical example"
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
|
|
#7
|
||||
|
||||
|
Re: Styling the <h1> tag.
oh right, so it's not some idiosyncrasy you have or something... lol
Not being that much of a geek, I didn't know that...lol
Last Blog Entry: Annoying people.... (Jan 16th, 2008)
|
|
#8
|
|||
|
|||
|
Re: Styling the <h1> tag.
LOL well yeah. It is something I picked up a long time ago from hanging out on various web design/dev and programming channels on IRC.
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
|
|
#9
|
|||
|
|||
|
Re: Styling the <h1> tag.
Quote:
I didn't need the dictionary before you explained it! |
|
#10
|
|||
|
|||
|
Re: Styling the <h1> tag.
LOL I think we got way off topic. *hides*
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
|
|
#11
|
||||
|
||||
|
Re: Styling the <h1> tag.
I do that on a lot of my sites like this:
|
![]() |
| Tags |
| styling, lth1gt, tag |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| help with styling my blog please | alexgeek | Website Planning | 12 | Sep 23rd, 2007 01:25 |
| CSS border styling | RZX Developer | Web Page Design | 6 | Aug 10th, 2007 14:25 |
| <HR> Styling | RZX Developer | Web Page Design | 18 | Jul 31st, 2007 22:15 |
| RSS Styling question | Daniel | Other Programming Languages | 4 | Apr 8th, 2007 00:28 |
| Styling up with CSS | gwx03 | Webforumz Suggestions and Feedback | 10 | Oct 14th, 2003 20:21 |