So firefox doesn't want to load my fonts, the path is right I also so the request in Firebug, but it won't render it. On other browser it works perfect, here is my code:
@font-face {
font-family: 'Gill Sans';
src: url('/fonts/gillsansstd-webfont.eot');
src: local('☺'), url('/fonts/gillsansstd-webfont.woff') format('woff'), url('/fonts/g...
Before I begin, I read this very useful question which lays out what's the pros and cons of using <img>'s and background-images. When to use IMG vs CSS
After reading that, however I've been thinking about what's the most efficient & semantic way of displaying an icon. The other question contended that if there's semantic meaning to it s...
Make something like in html/css
...
My site uses an HTML5shiv for the benefit of Internet Explorer 6 users. What will happen if they have JavaScript disabled?
Will the CSS for my fancy new elements (video, article etc) still work?
...
Anyone knows a good (wysiwyg) HTML editor in Flex?
...
I have an img element set next to a div. I have tried a couple of different approaches to remove the linebreak that is occurring between the two but have not had any success. Any input would be greatly appreciated!
CSS
#newsMainBody
{
margin-right: auto;
margin-left: auto;
background:#61bc49;
width: 750px;
height: 900px;
font-family:"s...
I'm creating a blog (and the rest of a website) using Python and Flask. Blog posts are written in Markdown and converted to HTML using the creatively named Markdown in Python. Both the Markdown (for future editing) and the HTML (for display) are stored in the database.
I want to be able to automatically get the first 300 characters of t...
I am really stuck with this problem. Page I'm working on is here
the 'something' text is part of the "main" content. I want something to start from right below the logo...but I can't seem to do this!
Basically I want content to be the upper half and then have main at the bottom.
I'm not very good at CSS/HTML.
...
Hello!
I am scraping a website that uses Javascript to dynamically populate the content of a website with the Html Agility pack.
Basically, I was searching for the XPATH "\\div[@class='PricingInfo']", but that div node was being written to the DOM via Javascript.
So, when I load the page through the Html Agility pack the XPATH mention...
I have a table inside a div 1.
Then after that div 1 added another div 2 with position:relative; top:-250; so that div 2 layer will be right on top of the table. But now below the table there is a big space before anything on the page can resume displaying (I guess the second div 2 would have normally been without the -250 position cha...
I have the following code, where i'm unable to get a reference to the parent object inside OnKeyUp function. I understand that in the OnKeyUp method, "this" refers to the textbox. But how do i access the parent object so that var textboxID gets me the correct value ?
function $MyObject() {
this.Control = {
i...
I have a nav div with following properties:
#nav {
width: 960px;
margin-left: auto;
margin-right: auto;
}
but when I put in a navigation bar in it ..it is not stretching for the whole width of 960px
link: here
...
Hi All
I have a div section in which i have an image whose onlick event should execute a function called in it, but it is not executable in FF or chrome with my code, infact the image is not clickable at all . Could some one help me in get the thing done? below is the code i am working with
<div class="addtocart-popup-bg">
<div ...
Hello friends
I am developing a web-site for mobile and i-pod in HTML. I would like a horizontal scroll bar for multiple images in one row, which has a hyper link.
What is easiest method for this?
Thanks in advance for your help.
...
Hi all,
Just trying to get the (.portfoliocategs) category menu on this site to have a different colour highlight for each li.
[link to website in below comment]
As you can see at the moment they're all blue. I would like to be able to specify either a class or colour for each category li listed.
Any ideas on how this could be don...
I have a simple textbox and autocomplete like so:
<input id="tagQuery" size="25" type="text" class="tagsearchbox" name="tagQuery" style="vertical-align:middle" />
<script>$("#tagQuery").autocomplete("getAutoCompleteData.jsp");</script>
getAutoCompleteData is a jsp file containing JUST this (atm):
<%
String query = request.getPa...
I made a facebook canvas application -
Canvas Page http://apps.facebook.com/mybuzzrapplication
Canvas URL http://174.132.194.155/~kunal17/devbuzzr/facebook/
Canvas Type IFrame
I also added a tab to it -
Tab Name Deals
Tab URL http://apps.facebook.com/mybuzzrapplication/
Now this canvas page is working fine the base url is w...
If I have a sitemap_index.xml:
http://www.domain.com/sitemap.xml
2010-09-28
And I change the content or update the page, and then change the lastmod, will I then have to submit it again to the search engines, for example in google webmaster tools (the section where you submit sitemaps)?
Thanks
...
If I used the api to post, I would like to return back the Tumblr permalink for that site I sent it to.
...
Hi there,
how can I have 2 block elements ("block" because I want to apply a background image to one of them) aligned (one on the left, one on the right), where:
the width of the left element is defined by the text line it contains (can vary...)
the width of the right element takes up the rest of the total width
the total width is fix...