Jump to content
|Topic||Stats||Last action by|
|Should people be afraid of doing online banking?||
|SpaceX Dragon v2 pad abort test (mission thread)||
|Windows 10 Technical Preview||
|GI.biz: Oculus' high PC specs are Sony's chance to shine||
|Elon Musk has created a school||
Posted 13 May 2013 - 11:18
Posted 13 May 2013 - 11:58
Posted 13 May 2013 - 12:23
Posted 13 May 2013 - 12:38
Posted 13 May 2013 - 13:08
@Uplift - is it possible to use a specific value (px) for the distance from the left side ? Like 20 px ?
If i use %, it changes with the browser size...
Posted 13 May 2013 - 13:57
Posted 13 May 2013 - 16:06
Although Uplifts works, I don't like the idea of an image for something like this, and it shouldn't need an extra element like the other one.
Posted 13 May 2013 - 19:04
I don't get it, theres no need to use images or css3 from what I assume he wanted, whats wrong with this?
http://jsfiddle.net/...5/<br /><br />Maybe I read wrong or something
Posted 13 May 2013 - 19:51
Posted 13 May 2013 - 20:37
If you'd rather not have the extra element (dont see why not, it wont even add a kb to your page, and class names don't have to mean anything ), you could just apply the styles to the logo div, and set the logo as the background image in x position
Posted 13 May 2013 - 20:47
It's an old method but it works, linear-gradient is not support in IE9 and below so you need to use a filter for that... at this point your creating problems rather than solving them, use the 10kb image and be done with it.
I get the whole 'it's 2013 we should be using css3 methods' .. but definitely no point in over coding for this when it can be solved in a matter of seconds using an image.