Skip to main content

All Questions

Tagged with
1 vote
3 answers
1k views

css div not being recognized

I have the following css code: #Layer3 { position:absolute; width: 89%; height: 40%; left: 10%; top: 56%; background-color: #f1ffff; } #Layer3 h1 { font-size: medium; color: #000033; text-...
Joshxtothe4's user avatar
  • 4,141
0 votes
3 answers
401 views

Fixed header above scrollable table

I am trying to have a table header, in a seperate div stay in place while a div undernearth is able to scroll al arge list of records. Both divs are in a div named Layer 3. Hereis the css file I am ...
Joshxtothe4's user avatar
  • 4,141
2 votes
3 answers
664 views

making a constant heading - css issue

I have an AJAX application which has used CSS divs to create panels on the screen, which are loaded separately and in succession, depending on what was loaded before it. The bottom "panel" is a table ...
Joshxtothe4's user avatar
  • 4,141
0 votes
6 answers
2k views

How to mimic struts validation using javascript/html/css

For the past few years I've focused on back-end development so my javascript & css skills are lacking. I'm volunteering as a webmaster for a site and would like to spruce up the form validation (...
l15a's user avatar
  • 2,597
26 votes
19 answers
54k views

Easiest way to alternate row colors in PHP/HTML?

Here's a PHP example of mine. Can anyone find a shorter/easier way to do this? <? foreach($posts as $post){?> <div class="<?=($c++%2==1)?‘odd’:NULL?>"> <?=$post?> ...
thrashr888's user avatar
  • 1,477
1725 votes
30 answers
959k views

How Can I add HTML And CSS Into PDF [closed]

I have an HTML (not XHTML) document that renders fine in Firefox 3 and IE 7. It uses fairly basic CSS to style it and renders fine in HTML. I'm now after a way of converting it to PDF. I have tried:...
2 votes
9 answers
4k views

Ignoring superscript in title tags

I work on a database driven website. Most pages' titles are the names of partners we have, and served from a database using php. For example one page might be called "Experian". The problem is that ...
pg.'s user avatar
  • 2,543
69 votes
15 answers
85k views

How to wrap long lines without spaces in HTML?

If a user types in a long line without any spaces or white space, it will break formating by going wider than the current element. Something like: HAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHA.............
Chris Bartow's user avatar
8 votes
8 answers
36k views

How can I send HTML mails with included CSS with PHPMailer?

I've problem with sending HTML mails with PHPMailer. I make a Smarty template and I got all the HTML code from it. But when I send mail, I got the mail without included CSS (it's only background-color,...
gizmo's user avatar
  • 8,119
2 votes
6 answers
3k views

Need a regex to add css class to first and last list item

UPDATE: Thank you all for your input. Some additional information. It's really just a small chunk of markup (20 lines) I'm working with and had aimed to to leverage a regex to do the work. I also ...
greaterweb's user avatar
2 votes
4 answers
2k views

Dynamic resizing / repositioning of divs for multi-column viewing

Setup I have a website that draws RSS feeds and displays them on the page. Currently, I use percentages on the divs that contain each feed, so that multiples can appear next to each other. However, ...
warren's user avatar
  • 33.2k

15 30 50 per page
1
970 971 972 973
974