html

Making custom bullets click-able in a CSS unordered list

So I used CSS to replace the bullets on a webpage with pictures of palm trees, change the fonts, move some items around, etc. The issue I have now is that only clicking the words will activate the link. Ideally I would like clicking the palm tree (the bullet) to have the same effect. Is there a way to do this? ...

Sending html emails from C#

Hi All. I'm trying to send an html email to a gmail account, but for some reason, Google is stripping away the html from my email. The Html is preserved when I send to other accounts (non-gmail accounts) so I know that my html is correct. Here's how I'm going about it: I have an aspx page, that I use as an email template. I grab the ...

How would you rearrange the columns in this CSS grid layout?

I'm using the following template: http://www.styleshout.com/templates/preview/KeepItSimple11/index.html The first column is wider than the two that follow it to the right. Simply put, I'm trying reorder the layout so that the wider first column becomes the 2nd column, in between the two narrower columns. I've spent a fair amount of tim...

HTML delayed indent

I want to make some html output look like this... Tag1 blah blah blah asdfge kedkled pijj ;dopkd uiedeidiud edioejd Tagbigger more blah blah blah wdeodeodd epkdepdpd more of the same... I imagine the html itself might look something like <p>Tag1<zz>blah blah blah asdfge kedkled ...

jquery select links in a class contain text

Hi, I have the html below: <span class="srch-URL"> <a id="CSR_U_2" href="http://www.test.com/TestForm.aspx"&gt;http://www.test.com/TestForm.aspx&lt;/a&gt; </span> I am trying to use JQuery to find all elements matching the class 'srch-URL' then change the link contained with them if they end in TestForm.aspx by appending &Source=/de...

How to display an Image stored in bytes on a page

Hi, I use to store client Images in DB in bytes, the problem is how can I render that image on .aspx page Thanks ...

CSS/HTML: Not <br> for each <ul>

Hi. So im having a little issue getting my menu with a slidedown function work together with my other existing menu (normal links). My existing menu(with normal links) is like this, simple UL with LI links. <ul class="menu"> <li><a href="home.php">HOME</a></li> <li><a href="#">HOME</a></li> <li><a href="#">HOME</a></l...

Browser compliant rounded-corner navbar with CSS

Hey guys, I'm working on a browser-compatible navbar with rounded corners using DIVs and rounded images. I had it working perfectly in FireFox, only to discover that IE butchers it (of course). The only problem I'm having now is getting my content DIV (navBody) to stretch to match the height of the side images. In both browsers now I h...

Ordered numbers bold without adding more tags

How do I get the ordered numbers bold without adding more tags? Possible in jQuery? first element secondelement thirdelement 1. first element 2. secondelement 3. thirdelement Best regards hakan ...

jQuery function error

Here is my piece of code : <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; <html xmlns="http://www.w3.org/1999/xhtml"&gt; <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Shout!</title> <script type="text/javascript" sr...

PHP mail() - HTML shows up as an attachment once a file attachment is added

Hello, Had finally gotten all the bugs out of this and now they said "Oh, we'll need to add attachments..." So, this sends an html mail with a plaintext version and was doing just swell. Now that I have the attachments arriving the mail clients are showing the plaintext version inline and the html version as another attachment and the...

Why is this jquery script only targeting 1 element?

Take a look at this link http://dncminneapolis2012.com/new2 If you click on "two", it slides to the second page, and you see 4 boxes on the left. If you hover over the first one, it fades nicely to another image. My question is why isn't it doing that for all of the boxes? My html looks like this <div class="facts" style="width: 4...

What's a good practice to use forms in PHP? Can you use OOP PHP in a form?

Hello people, Right now i been creating a form for a comment section, a Login section, and sending email for a site i'm doing. The code I using was from a tutorial I learned and has too much HTML in it. It was the only way I knew how to create a form and valid the data. I wanted to ask if there was a better way to create forms and if t...

Dynamic hide reveal

I'm working on a blog and I have it set up so you can leave a comment on an entry. I don't like how much vertical space all the comments and the entry form use, so I would like to have a link on each entry that you click and it reveals the entry form and comments. I'm thinking a link that's like "Comments (5)". I see this all the time on...

The browser shows me "???" instead of UTF-8 characters

The browser shows me "???" instead of UTF-8 characters. What is the cause and how can I fix it? Here is the HTML file: <HTML> <title>Search Engine</title> <form action='search.php' method='GET'> <font face='sans-serif' size='5'> <center> My Search Engine.<br> <input ...

Centering text (vertically) inside a textbox using CSS

Hi all, I'm currently working with a textbox that has a background. I was wondering if it's possible to center text (vertically) inside the textbox. important: it's perfectly centered in firefox. Only IE it writes it too high for some reason. I've tried line-height, padding, and margin. Nothing works. Any ideas? EDIT: This is my curre...

DIV-only two column CSS layout

Hey guys, I'm reworking a layout currently using tables for a two-column design, and ran into some problems. <div id="frame"> <div id="leftcol"> <div id="1">blah</div> </div> <div id="leftcol"> <div id="2">blah</div> <div id="3">blah</div> </div> </div> #leftCol { margin-right: 10px; width: 49%; float: left; } #rightC...

How can I refresh a page for all logged in users (collaborative editing) using JavaScript, jQuery and HTML?

I want the action to be automatically reflected for all the logged in users. ...

Avoid rendering comments in HTML

Hi, I have a lot of comments in Rails views. How i can prevent rendering them ? ...

What is bitly='BITLY_PROCESSED' in <a> tag ?

While i was inspecting facebook html code through with firebug in Chrome, i found this tag : <a href="http://www.facebook.com/?ref=logo" title="Home" bitly="BITLY_PROCESSED"/> What is the bitly attribute? Anyone has an idea? :) ...