This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.
Closed 9 years ago.
I'm trying to understand how this site works because I want to use a similar solution on my own site.
The only thing I cannot figure out is how the red thing works, especially how the site knows which image to use. As background I see that sprites.png is used, but that one is filled with a lot of images.
What I would like to achieve is that the red thing is pulled out the whole time.
The site you referenced uses "sprites" as background images.
Here is more information on using sprites.
Using sprites allows the site to load a single graphic containing many sprites and then position them by adjusting the background-position of elements to display specific areas of the "sprites" image.
The site is also using javascript to move the element up and down.
In order for the bookmark to stay pulled out, don't apply any javascript.
Related
This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.
Closed 9 years ago.
On my website, kylesethgray.com, I have made a somewhat 'responsive design'. Everything seems fine except two things:
If i have a list, be it <ul> or <ol>, the bullets get cut off when the browser window is shortened horizontally
For some reason, when doing the same thing to imitate a mobile browser, a horizontal scrollbar appears, and scrolls to the right, even though there isn't anything there.
Is there anything I can do to fix this?
I think the YouTube embed is breaking your layout, try this CSS:
.video iframe { width: 100% }
Also you should consider to use a framework for responsive design like Foundation or Columnal
This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.
Closed 10 years ago.
Good day to all.
I would like to ask assistant on the issue I am having with my site which I could not get fixed. http://inview.wpengine.com/home (don't mind its homepage - its just a temporary html landing page) It's a 2-column template (Left: Content ; Right: Sidebar) which I customized from the TwentyEleven WP theme. As you can see, there is a white space between the content on the left column which supposed to be have same bg as the ones with contents. Both sides have same Issues everytime one of the column has lesser content compared to the other side.
I know this question has been answered a few times on other posts but I can't seem to get it work and I am hoping somebody can help me fix it. Thank you so much.
try adding this to your two columns
style="position: relative;overflow: hidden;"
This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.
Closed 10 years ago.
I have a mockup here
http://jsfiddle.net/yug3Q/1/
If you click on a date you get forward and back arrows. These do not appear to be images I would like to know how they are rendered.
If you look at the CSS you'll notice the following line:
background-image: url(../img/glyphicons-halflings.png);
So, those buttons are indeed images.
glyphicons-halflings.png is an image file that contains lots of different images, and a particular image is chosen using the background-position property. Such as:
background-position: 14px 14px;
From the twitter bootstrap page on these icons:
Built as a sprite
Instead of making every icon an extra request, we've compiled them into a spriteāa bunch of images in one file that uses CSS to position the images with background-position. This is the same method we use on Twitter.com and it has worked well for us.
They are images that are part of a CSS Sprite.
This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.
Closed 11 years ago.
This is the background image that I want to show as the full body background. The background has a 'pattern overlay' effect in Adobe Photoshop. I cannot get the background to look properly(the spaces between the pattern is less in my background).
This is the image of the background.
http://img689.imageshack.us/img689/7622/backgroundfz.png
My attempt at this can be found at http://www.sarahjanetrading.com/js/j/index.html
I would really appreciate the help
Thanks
The image is exported as a .png, so the image itself is good. My guess is, that you have zoomed out with your browser. Try using a different browser, or change your zoom to 100%.
This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.
Closed 11 years ago.
Post all the code is really bizzare (1200 line more or less) so I create a fiddle for this.
The whole page is really slow, also when I try to manage items on the DOM with Firebugs or others tools (it's really frozen).
So I think the best way is to optimize the HTML-CSS (in fact, removing the CSS definition the page back really faster).
I don't speak about loading the page, but navigate/edit item when the page is loaded (really, try to sort it out with firebug for example, you will see immediatly; you will notice it also on fiddle too).
Instead of having everything editable at once, only go in editing mode once you click an edit link for the row (asp.net style) or when you click on the row itself (devexpress style), and only then show your editing stuff for that row only.
The easiest way to make pages faster is to remove the controls from it :)