Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Getting the Title text out of view?
Old 07-20-2006, 12:40 AM Getting the Title text out of view?
Average Talker

Posts: 25
Trades: 0
I am using a fixed width container div, in which my header div resides. I am using a background image to fill the header div and the image itself displays the web site title.

I am wanting to include a <h1> text-title with the padding set to -2000px so that the search engines can see the site title without the <h1> text sitting in view on the site.

The problem I am experiencing is that the title text is appearing inside the header div on top of the background image. Am sure this is due to the fixed width container that I mentioned already. Does anybody know a technique to try that would solve this issue other then eliminating the background image?

If not I will just remove the text from the image now that I think about it.
stevefarillo is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-20-2006, 10:38 AM Re: Getting the Title text out of view?
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
There are several image-replacement techniques you can use. There are many listed here: http://css-discuss.incutio.com/?page=ImageReplacement
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 07-20-2006, 09:08 PM Re: Getting the Title text out of view?
vangogh's Avatar
Post Impressionist

Posts: 10,688
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
I think it might be best to remove the text from the image and just let the <h1> site on top of the image where you want. It probably won't be an issue, but it's possible search engines will see the <h1> as an attempt to hide text just for them.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 07-21-2006, 02:43 PM Re: Getting the Title text out of view?
Average Talker

Posts: 25
Trades: 0
Yea! I went ahead and removed the text from the image and put in a h1 tag using CSS to position it. Was a simple solution without any headaches. lol

Thanks all!
stevefarillo is offline
Reply With Quote
View Public Profile
 
Old 07-21-2006, 03:45 PM Re: Getting the Title text out of view?
Ultra Talker

Posts: 256
Location: Auckland, New Zealand
Trades: 0
Umm... I develop for text based browsers too, yet it's quite absurd to hear what you'd do in visual browsers.

What you want to do for visual browsers is:

HTML Code:
<div>
  <h1 style="display: none;">Your title</h1>
  <img src="your_image.png" alt="Your image" />
</div>
Search engines will still be able to read the site title, and visual browsers will not display it. Text browsers will display the site title, the img will not be displayed but the alternative text will be.

Is that what you're wanting, rather than trying to position an element off-screen?

Cheers,

MC
__________________
#------------------------------signature---------------------------------------------------------------------------------#
Quote:
I am well recognised for what I don't do than what I do. Chores are just one of those things.
mastercomputers is offline
Reply With Quote
View Public Profile Visit mastercomputers's homepage!
 
Reply     « Reply to Getting the Title text out of view?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.27769 seconds with 12 queries