6,574 Topics
![]() | |
Hi, I have this nice function to truncate a string with HTML. It's very good only now I ran into a problem. There are cases where for example The input will be this: `<a href="some url">this is a link</a>` and what I want to output is exactly the same, even … ![]() | |
Hi Guys Im kind of new to this and i hope you will be able to understand my question. I have a little dynamic news website. I have a form (called add_post.php)i use to insert my articles (blog_enrty). Unfortunately i get an error saying "you do not have permission to … | |
HI there Could someone PLEASE help me; I have a drop-down menu on my site and when I hover, the drop-down goes behind the content. This is the address : [URL="http://www.beds24.co.za"]www.beds24.co.za[/URL] I dont know how to fix this, I've tried so many different settings. This is my CSS file. The … | |
![]() | I can't see where the error in my CSS document is, it says location is -1, -1 which isn't inside the document, tried different ways of defining the column and "up" and "down" images and neither seem to work. [Xerces-J 2.9.1] Checking "nasdaq.css" for Well-formedness ... Ln -1 Col -1 … |
I'm trying to have HTML generate random background colors using Python. What I have so far is: `print "<body bgcolor='%s'>" % choice` what python code should follow? | |
Hi, DaniWeb I'm creating a website based in this one: [Link Anchor Text](http://www.spirit-of-metal.com) As you see the News and the Reviews have an awesome box in the back :P I'm trying to do something similar. But i'm having some trouble, mostly the stripe on the title. Can someone help me, … | |
I have an iframe that opens within another page. On the iframe there is a button that when clicked opens a region with a number of fields for the user to input. What is meant to happen is that the region opens and the whole resizes so that the data … | |
Hi Guys Im kind of new to this and i hope i will explain myself enough for you to understand my question. I have a little dynamic blog. I have a form (called add_post.php)i use to insert my articles (blog_enrty). Unfortunately i get an error saying "you do not have … | |
I am trying to make a table scroll once it reaches the width of its parent element. In addition to this I want to make it so the `<caption>` does not scroll with the table (it stays fixed) and also the first column stays fixed. Does anyone know how to … | |
I am a new user in PHP and currently developing a blogging web-site using PHP. I have designed a simple design of Create Blog page using HTML syntaxs, created database fields in MySQL as 1) Blog-Id 2) User-Id 3) Blog-title 4) Blog-text. Now if I am supposed to give interface … | |
Hello, i have never been really succesful at positioning items on a page with css, it's taken me a long time but i finally worked it out, buit for some reason with the code i am now using my border will not locate properly, i have attached an image, you … | |
Alright everybody! Here's a whopper for you. I've looked over this for the longest time and just can't figure it out. I want to update my database with the user's information when they save the html form. I'm guessing there's like a quotation mark or comma misplaced or something, and … | |
I have created the following code. I want people to drag the objects that are recycleable in the bin and a message to pop up that says "yes, you can recycle this". The others would have a remark that says something like "no, you cannot recycle this". At the end. … | |
Hi, how can I change the HTML code via VB .Net code? For example, on .aspx file I have: <div class="Menu_On"><asp:LinkButton ID="Link_Menu1" runat="server">Menu 1</asp:LinkButton></div> <div class="Menu_Off"><asp:LinkButton ID="Link_Menu2" runat="server">Menu 2</asp:LinkButton></div> <div class="Menu_Off"><asp:LinkButton ID="Link_Menu3" runat="server">Menu 3</asp:LinkButton></div> Then, when I click the "**Menu 2**" link, the class which coping the link should change … | |
Hi Guys well in my course to design websites that are as graphical as posiblem. i normaly prefere designing the graphical element with photoshop and then sending them over to the web page. Ontill i met CSS, i relised that day in and they out new standareds were evolving to … | |
I need to use a handler that will get from my select option in html a value but not the valeu orm the option I will show my code now ...<form action="" method="POST" class="submit"> <label for="select"> Print copy</label> <select class="select" name="select"> <option>1 copy</option> <option selected="selected">2 copies</option> <option>3 copies</option> <option>4 copies</option> … | |
Soooo ... quick question :) I need to do some HTML parsing with regex :) I currently use `$output = preg_replace('/>\s+</', "> <", $output)` to strip whitespace between any two HTML tags. What can I do to strip whitespace only between paragraph tags. For example, only between `</p>` and `<p>` … | |
Hi, I really need help with this. I've tried multiple things and can't get it to work and I've posted on a few forums and no one is replying... So my issue is I'm using a custom menu on a wordpress site as my main navigation. The problem is that … | |
Hi All, the other day I somehow messed up my companies website and I am not quite sure what I did. all the logos at the bottom of the page used to be centered, but now I can not get them back. I am pretty sure this a footer.php file … | |
Hi there I am trying to center my website template to the middle of the page...currently at the left. Cant find which part of the CSS files it goes with...can anyone help? http://home.comcast.net/~waynetorrance/roomies/index.html | |
i have following .htaccess RewriteEngine On DirectoryIndex index.php RewriteRule ^([a-zA-Z0-9_-]{3,20})/([^/]+)/([^/]+)?$ index\.php?page=$1&s=$2&o=$3 [L] RewriteRule ^([a-zA-Z0-9_-]{3,20})/([^/]+)?$ index\.php?page=$1&s=$2 [L] RewriteRule ^([a-zA-Z0-9_-]{3,20})/?$ index\.php?page=$1 [L] RewriteRule ^([a-zA-Z0-9_-]{3,20})?$ index\.php?page=$1 [L] ErrorDocument 404 /404 it displays mu url as localhost/mysite/home for first perimeter and its going fine but when my url is localhost/mysite/home/user, whole look of page … | |
Hey all ! I am wondering if there is any way by which we can take an input from a user using a html form and write it to a file inside a specific div tag in a specific file. for ex: I enter a Name in a form the … | |
Hi, I want to replace `$data['introhtml']` with some actual html, any ideas? I need to update a friends CMS database driven Website the content panel does not allow Div which I need to put a Calendar in so the only option is to change the PHP. The PHP code is … | |
I'm centering my container div this way. #container{ position: absolute; left: 50%; margin:0 auto; height:100%; width:1024px; margin-left: -512px; text-align:left; } The div centers in the window, however when the user resizes the window to smaller than 1024 the window starts showing the center of the page. How can i make … | |
doing this stuff in js and the css doesn't affect the tags in the js writeln js: `document.writeln("<table><tr><td>Nom</td><td>Prénom</td><td>Code Permanent</td><td>Login</td></tr></table>");` css: `table, td, tr{border:2px, double;}` i know this is simple, what am i missing ? oh yeah, it's an external js file, if that changes anything. thx Dark | |
**Bold Text Here** The included file is a code to make a quiz using javascript and radio buttons . When you finally submit , it shoudl print the question numbers for the correct answer in green and the wrong answers in red . But the code is not working properly. … | |
my code -moz-transform:rotate(20deg); -webkit-transform:rotate(20deg); -o-transform:rotate(20deg); http://www.the-art-of-web.com/css/css-animation/ Is there any jquery code available? | |
Okay, I am going to go through ALL my steps thus far just so that this process can be sped up hopefully. I have done this before, but it was awhile back and I forgot how, but I know it is possible. 1. I made a Neatbeans created Java Application. … | |
I want to create a java application where you can build simple logic circuits (just started learning java recently and it was just a random project idea I got off the net) Ultimately I want the gates as icons on a pane that users can drag and drop onto a … | |
okay....i've creating a web base application...its running fine on my computer...but now, i wanna run it in a handheld...the size is too big...so, i converted it using doing this... what happens is, my background goes missing and the size remains the same...can someone guide me...thank you in advance <LINK href="web.css" … |
The End.