html

Spaces between inline list items when code is on separate lines

If I code inline list items on separate lines of code there is a space inserted between them. Is there a way to prevent this from happening with coding all of the list items on the same line of code? <li>123</li> <li>456</li> creates the following which I don't want 123 456 <li>123</li><li>456</li> creates the following which i d...

Using Adobe fonts on the web ...

Hey everyone, I have a website that i want to use Adobe fonts on it. can anyone please help with it ??? the files i got are .otf Many thanks ...

Make a link use POST instead of GET

I'm not sure if this is even possible. But I was wondering if anyone knows how to make a hyperlink pass some variables and use POST (like a form) as opposed to GET. ...

Odd entities in generated text (chrome is weird)

Hello! I am working on a school-project with two classmates. Our task is to make a dynamic gallery for web. So we got the whole gallery up and running perfect, except chrome is acting mighty weird about it. We have our pictures uploaded in blob, as well as our thumbnails. We load them from the database through php. <div id="content_righ...

Is viewport META tag broken in Mobile Safari when in webapp mode?

On an iPad using Safari, go to this page: http://ifelse.org/projects/errors/viewport/test.html This is the Source: <html> <head> <title>Viewport Test</title> <meta name="apple-mobile-web-app-capable" content="yes" /> <meta name="apple-mobile-web-app-status-bar-style" content="black" /> <meta name="vi...

Safe to use dynamic HTML stylesheets using PHP?

ih ave read about the technique to allow dynamic HTML stylesheets using PHP's preprocessor, however I was windering how safe this tecnique is, and if for any reason it is discouraged. For example, instead of using typical: <link rel="stylesheet" type="text/css" href="http:mysite.com/style.css/> I could use: <link rel="stylesheet" ...

Scrolling div inside another div

Here is my code: <form id="form1" runat="server"> <div style="width:100%;"> <asp:FormView ID="fvXCAR" runat="server" DefaultMode="Edit" style="overflow:auto"> <ItemTemplate></ItemTemplate> <EditItemTemplate> <div style="width:800; overflow:auto;"> <asp:Table ID="tblXCAR" runat="server"></a...

PHP headers already sent problem

Hello there when i go to the site it says Warning: session_register() [function.session-register]: Cannot send session cache limiter - headers already sent (output started at /home/content/49/5712349/html/c/admin/admin.php:17) in /home/content/49/5712349/html/c/admin/admin.php on line 39 Warning: Cannot modify header information - hea...

What is the css / html `root` element?

I have just recently started using NetBeans IDE (6.9.1) and have used it to add a stylesheet to my site-in-progress. To my surprise, one element was automatically added: root { display: block; } Looking around, I could find some information about the :root pseudo-class but nothing about the root element itself. What is the root...

How come the exact same version of Google Chrome shows different layout?

I have google chrome on two computers here. Both run XP. I get some DIVS dispositioned in one of them, and perfect in the other. They are the exact same version when I check "about chrome"... I have cleared cache and all. Very strange to me.... Any ideas? Also, I have the same issue with IE8, but I don't know if it is the EXACT sam...

how to set the stretch the background image with CSS

how to stretch the background images using CSS for page backgrounds and for DIV & table backgrounds... so that if the window size changes the background image size should stretch (expand / contract) accordingly.... ...

How to display base64 encoded image in HTML if it is located in a separated file?

I have base64 encoded image. If I put it right into html it works: <img src="data:image/png;base64,..."/> But when I put all that base64 content into a separated file, it doesn't: <img src="image.base64.txt"/> I tried changing extension to .png, but it doesn't help. Any ideas? ...

Optimal way to pass system values to javascript

What is the most effective way to pass object and category ids or other system variables which shouldn't be presented to the user, from server to the browser? Let's say I have a list of items where I can do something with each of them by javascript, for example show tooltip html or add to favorites by ajax, or display on a map. Where is...

Could I buy a domain name to increase traffic to my site like this?

Lets say I have a domain already, for example www.automobile4u.com (not mine), with a website fully running and all. The title of my "Website" says: <title>Used cars - buy and sell your used cars here</title> Also, lets say I have fully SEO the website so when people searching for the term buy used cars, I end up on the second or f...

jquery toggle votes using jquery toogle event?

i have got this script that works fine, that allows a user to vote, but im kind of stuff of how i can make the vote button, when clicked again it toggle back to normal image! just like stackoverflow: this is my script: $(document).ready(function() { $('.statuses').delegate('.vote_up', 'click', function(e) { //stop event ...

Three background images

Hey, how would I go about setting up a page using divs and css that has a background image on each side and the page content in the middle. Both the left and right side display images and shrink/grow according to the window size while the content pane always remains the same size. Easy to do with tables but I just can't seem to think...

Single quotes and addslashes in php forms (option value escaping on space?)

I cannot get my addslashes function and html option value to play nice together. My initial problem was the single quote in the option but by solving that I seem to have created another issue whereby $titleunit_name only comes through with the first word. This is what I want to come out: baroffice=O'Fallon & Highway K&N titleunit_na...

Image in Button: Strange space 2.0 (this time IE7)

This is a followup to my previous question. It dealt with a rendering issue in Firefox. After that issue was fixed I obviously tested the design in other browsers. And obviously - how could it be different - I encountered yet another rendering issue, this time in IE7. The former of the above elements is a button containing an img. The...

Styling browser dialog boxes

(from failblog) Not only the background's been changed but also the buttons. How can this be done? ...

Why does Internet Explorer simply stop parsing in the middle of my CSS?

I help manage a website for a local ACM student chapter, http://acm.cs.uakron.edu/. For some reason, Internet Explorer simply refuses to parse the majority of the CSS. Every other browser I know of handles it just fine, but why does IE7+ stop? ...