| GP Forums / Tech Discussion / Topics / Programming & HTML | |
| What are you working on today? | |
| Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 ... Last |
Soup Erman
Winter is Coming |
You could use css to hide the text, so users will see an image and search bots will see the text. This is what I usually do for banner headings:
Looking at a clients magento website, they've got something a bit more thorough:
You could also use position and z-index to overlay the image on top of the text |
|||||||||||||||||
|
|
||||||||||||||||||
Xelogen
|
Investigating KPI dashboards
|
||||||||
|
|
|||||||||
Bandy
|
I was told search engines view hiding text like that as a black hat technique and you'll get penalised for doing the same colour trick. Would be interested to hear if this isn't the case.
In other news, continued my work on jobsboard.co.nz but it's slow going with no foreseeable monetary benefit. Today I added job alerts and re-thought how the internal messaging works. Points for anyone that registers! Last edited 30 Oct 2010 at 2:27 am by Bandy |
||||||||
|
|
|||||||||
Soup Erman
Winter is Coming |
http://googlewebmastercentral.blogs...accessible.html As long as the text matches the image exactly then it's generally fine. |
|||||||||||
|
|
||||||||||||
Stevie
|
Working on a PSD->HTML/CSS conversion of a design. Harder than I initially thought. Thanks gradients.
|
||||||||
|
|
|||||||||
dement
|
have you tried css3 gradients? ---
|
||||||||||||||
|
|
|||||||||||||||
kTIME
|
Yeah… emphasis on "nonsense". I told him about doing that, but he wanted perfect SEO, so that the text is all laid out nicely in Google search and for god knows what other reasons :/ basically alt text etc was not good enough :/
Cheers, we use Subversions, and have some really good developers who could do all this, but are just too busy, so I thought I'd try give it a go, so this will help ![]() |
||||||||||||||
|
|
|||||||||||||||
Soup Erman
Winter is Coming |
well it's the clients call at the end of the day, but the SEO results would be exactly the same... |
|||||||||||
|
|
||||||||||||
pantz
|
I disagree, more weight is placed on a <h1> tag than it is alt text in SEO. If I wanted to replace a text heading with an image but still maintain the strenght of a <h1> tag I would use something like this, html; <h1><span>your seo text here</span></h1> css; h1 { margin: _ _ _ _; width: ___px; height: __px; background-image: url(images/image.jpg); } h1 span { display: none; } This will show the user the image but search engine bots/spiders will still read the text within the span class. |
|||||||||||
|
|
||||||||||||
Soup Erman
Winter is Coming |
I was talking about hidden html, not alt text. See my previous posts |
|||||||||||
|
|
||||||||||||
Edward Diego
In The House
In A Heartbeat |
Odds are it's PHP, so I'd recommend http://www.jetbrains.com/phpstorm/ ---
|
||||||||||||||
|
|
|||||||||||||||
kTIME
|
Ah, I see, yes it is PHP
Thanks |
||||||||
|
|
|||||||||
Stevie
|
Why bother with the <span> ?.
|
||||||||||||||
|
|
|||||||||||||||
pantz
|
Personal choice I guess, both work equally. I'm just not into bloated css like above, it looks like an old hack to hide text
![]() |
||||||||
|
|
|||||||||
Egor
|
The span is better if you're talking about an <a> link. With text-indent: -999, Firefox puts a big ugly selection border around the invisible part when you click on it otherwise
![]() |
||||||||
|
|
|||||||||
Bell
[!] |
Working mainly on gameplay input mechanics at the moment.
Using lua almost exclusively, really miss C++. |
||||||||
|
|
|||||||||
Jihad Jeep
|
Started writing thesis, which is going to occupy me for the next wee while and is perhaps the least exciting part of the whole process.
Wrinkled out some bugs in some contracting work that I'm doing, a few days after saying that if there were any bugs then I'd be up for some castration, now how to word it so that the git logs don't give me away? ![]() |
||||||||
|
|
|||||||||
Tank
dunedin massive!
|
outline: none; trying to find motivation to start new projects... lacking... also, managed to sign up for a .net web app project, time to come out of my php/mysql shell ![]() for a start, if I wanted to create a really simple CRUD cms for a few pages - whats the smart way to go about it (Where should I start reading)? (asp.net) |
|||||||||||
|
|
||||||||||||
Edward Diego
In The House
In A Heartbeat |
ASP.NET MVC would be a good place - uses bits of ASP.NET, but is simpler (no bullshit page lifecycle necessary, IIRC), and more modern. ---
|
||||||||||||||
|
|
|||||||||||||||
Edward Diego
In The House
In A Heartbeat |
Flash/Flex is the devil for this kind of undocumented shit: http://www.bit-101.com/blog/?p=946
Also, **** FlowPlayer for the shittiest goddamned most untestable API I have ever encountered ever. A ****ing public ****ing constructor on a shitting public ****ing class SHOULD NOT TAKE A PACKAGE PRIVATE CLASS AS A ****ING PARAMETER, you Finnish ****s. /angry ---
|
|||||||||||
|
|
||||||||||||
Edward Diego
In The House
In A Heartbeat |
Rage sorta over, we just created our own little loader inside the same package, which allowed us to instantiate it... then we had to trial-and-error getting it setup in a correct state.
Which is what a constructor's supposed to do. Instead FlowPlayer has a Launcher() to do that... except that everything in the Launcher() is private - and nothing returns a FlowPlayer instance anyway, which makes our unit testing of our plugin impossible.Tomorrow's fun event - catching our video event notifications within FlexUnit - the concept of writing a basic HTTP server in ActionScript 3 terrifies me. ---
|
|||||||||||
|
|
||||||||||||
porges
of mass destruction
|
Wow, that kind of stuff won't even compile in most languages... ---
You are standing in an open field west of a white house, with a boarded front door. There is a small mailbox here. > _ |
|||||||||||
|
|
||||||||||||
Egor
|
Yeah but then you break accessibility / keyboard navigation. |
|||||||||||
|
|
||||||||||||
Tank
dunedin massive!
|
Yeah but you can replace feedback of the outline with other styles via :hover/:active ? |
|||||||||||
|
|
||||||||||||
Edward Diego
In The House
In A Heartbeat |
Yeah, I know, the whole environment's a disgrace tbh. The constructor on the FlowPlayer class can't create itself in a correct state - it relies on a 'Launcher' to provide all its dependencies, configured precisely how it needs them to be - and the dependencies have dependencies on each other.... basically, FlowPlayer's constructor has its guts hanging out, it's ugly as sin. ---
|
||||||||||||||
|
|
|||||||||||||||
| Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 ... Last |
Show printable version Email this page to a friend Receive updates to this threadAll times are GMT +12 hours. The time now is 11:53 am. |
Previous Thread | Next Thread |