- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 5
- Posts with Upvotes
- 4
- Upvoting Members
- 5
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
34 Posted Topics
Re: Load an external Flash file and link that in Flash. Like this: [URL="http://kb2.adobe.com/cps/141/tn_14190.html"]EXAMPLE[/URL]. | |
Re: CSS: [CODE] #container{ background-color: #CCCCCC; width: 100%; height: 100%; text-align: center; margin-left: auto; margin-right: auto; } [/CODE] HTML: [CODE] <div id="container"> <img src="" width="100" height="100" style="display: inline" /> </div> [/CODE] I hope this is helpful. | |
Re: I use Firefox and IE commonly since they are used the most. But it is always good to see you're site Opera, Safari and Chrome. | |
Re: Yes, I agree and BTW if people are not willing to allow their content on other sites they can change that under their settings. So if the embed feature is enabled you shouldn't worry about that all. | |
Re: I think what you are looking for are CSS sprites. It's hard to explain but this site does pretty well: [url]http://css-tricks.com/css-sprites/[/url] | |
Re: I think the most simple solution would be to get the content in an <iframe> or use PHP's file_get_contents. If you want to save it take a look at fwrite ([url]http://www.tizag.com/phpT/filewrite.php[/url]). And for the refresh: <meta http-equiv="refresh" content="30">. I don't know if it is illegal. I hope the rest was … | |
Re: I think they used an image and not a CSS Border (Firebug is awesome!). | |
Re: Well, my idea would be to use PHP to process the form and create a text file, with the names of the users. When the session ends use PHP's str_replace to remove the name from the list maybe using a query string or cookies. The table, should be located in … | |
Re: You can learn a lot from this site: [url]http://w3schools.com/[/url] | |
Re: Use <object></object> and include <param name="wmode" value="opaque" />. Hope that helps! | |
Re: Don't use tables for layout. They are outdated. You could try something like this: <div style="display: table-cell; width: 250px;"> <img src="your-image-1.png" /> </div> <div style="display: table-cell; width: 250px;"> <img src="your-image-2.png" /> </div> <div style="display: table-cell; width: 250px;"> <img src="your-image-3.png" /> </div> | |
Hello everyone, I want to create a completely round <div> using only HTML / CSS, but without border-radius. I don't want use background images, because I'll have probles resizing them and that's not cool. Is there a better solution? Thanks in advance! | |
Re: 1. Open Notepad. 2. Save as a regular text file (for example: file.[COLOR="Red"]txt[/COLOR]). 3. Upload the file to your server and rename it to .htaccess (not file.htaccess, simply .htaccess. ) 4. Open the .htaccess file. 5. Write these two lines into your document: ErrorDocument 404 http://[COLOR="Red"]your-site.com[/COLOR]/error.html ErrorDocument 403 http://[COLOR="Red"]your-site.com[/COLOR]/error.html 6. … | |
Re: Put the <div> you want to align in another <div>. In that one use vertical-align: middle. Hope that helps. | |
Re: I wouldn't use tables at all. They are outdated. But you could use <div> and display: table / table-cell / block-inline. Just a suggestion. If really want to use tables then place <div> inside or around it. | |
Re: OK I would put <div id="table-border"></div> around your table. And add #table-border{ border: 1px solid #000000; } to your CSS file. | |
Re: Try to add min-width and/or max-width to you css. Hope that helps you! | |
Hello everyone, I have one container div with several <div>About</div>, <div>More Info</div> etc. in it. on the main container I applied onmouseover to execute a JAVA function. Apparently, every time I hover a <div> in the container it runs the JavaScript again. What is it, I'm doing wrong? Thanks in … | |
Re: Yes something like that. If you are using a PHP file you could create a loop, that should make it easier. | |
Re: <?php $url='Directory-to-search/'; $handle = opendir ($url); while (false !== ($file = readdir($handle))) { if($file != ".." && $file !="." && $file != basename(__FILE__)) { $scan = file_get_contents(__FILE__); if(preg_match('/string/', $scan)){ echo 'File: '.$url.$file.' Found.'; } } } ?> | |
| |
Hello everyone. I am working on this forum/post/script type thing. What I want to do is convert this example to HTML. [div] [p]Some text[/] [div] Some more text [/] [/] ---> <div> <p>Some text</p> <div> Some more text </div> </div> I don't want to use [/div] or [/p] to keep … | |
Re: [url]http://www.tizag.com/phpT/fileupload.php[/url] This should work. | |
Re: No, you could try something like this: <div class="cell">Home</div> <div class="cell">Contact</div> <div class="end">About</div> And in your CSS file: [COLOR="Red"].cell[/COLOR]{ [COLOR="Red"]border-right: 5px solid red;[/COLOR] display: table-cell; width: 200px; } [COLOR="Red"].end[/COLOR]{ display: table-cell; width: 200px; } | |
Re: It's hard to see what you're trying to do without seeing the code. Something like this maybe? <div style="display: table-cell; width: 100px; font-size: 120px;"> { </div> <div style="display: table-cell; width: 500px;"> <iframe src="gallary.html" width="50px" height="120"></iframe> </div> <div style="display: table-cell; width: 100px; font-size: 120px;"> } </div> Also check http://w3schools.com. It may … ![]() | |
Re: If you are using a html file, just save it as .php. Then add a PHP script - something like this: [CODE] Date: <?php echo date ("m d Y"); ?> [/CODE] But you can also use java script to do that: [url]http://w3schools.com/js/js_howto.asp[/url] | |
Re: Hello! That is easy to do with a regular expression (regex)! $string = $tweet; $string = preg_replace('/([@])([^ .?!"]+)/', '<a href="http://twitter.com/\\2">\\2</a>', $string); echo "$replace"; I didn't test the code, so there could be a mistake in it! Let me know if it worked. This also may be helpful: [url]http://www.macronimous.com/resources/writing_regular_expression_with_php.asp[/url]. | |
Hello everyone, I am redesigning a website and I want to change the background color of a PNG (with transparent pixels), when clicked. Apparently, my only half of the background is changing. HTML: [CODE] <a href=""> <img src="Images/logo.png" alt="Logo" style="display: block; margin-bottom: -4px; border: 0px;"/> </a> [/CODE] CSS: [CODE] a:link … | |
Re: DVD training? There are many free great tutorials on the web! Here are some sites that might bee helpful: [url]http://tutvid.com[/url] - Awesome video tutorials, free in SD ([COLOR="Red"]Video[/COLOR]) [url]http://tutsplus.com/[/url] - Well explained, just about any tutorial [url]http://webdesign.about.com/[/url] - Awesome site, simply great And my favorite: [url]http://w3schools.com/[/url] (No video tutorials, but … | |
Re: Try to use JavaScript: [QUOTE]<script type="text/javascript"> <!-- function visibility(id) { var e = document.getElementById(id); if(e.style.display == 'block') e.style.display = 'none'; else e.style.display = 'block'; } //--> </script>[/QUOTE] [CODE]<a href="#" onclick="visibility('form')></a> Click here to show / hide form.</a>[/CODE] [CODE]<div id="form" style="z-index: 1">This is the form.</div>[/CODE] | |
Re: That is way to much work! Use CSS - it works great: [URL="http://hicksdesign.co.uk/journal/how-to-vertical-centering-with-css"]/journal/how-to-vertical-centering-with-css[/URL] | |
Re: Use an online radio service (I think Winamp Pro has one) or Flash - AS 2, example: [CODE]onEnterFrame=function(){ d = new Date(); h = d.getHours(); if(h==12){ sound.start(0, 1); } else{} }[/CODE] | |
| |
Hi, I do know a bit PHP and also had no probles with regular expressions, [I]until now[/I]. This is my code: [CODE] $string = ereg_replace("([\"](.*)[\"])", "<span class=\"style10\">\\2</span>", $sting);[/CODE] . Why doesn't it work? It all runs fine when using: [CODE] $string = ereg_replace("([*](.*)[*])", "<span class=\"style10\">\\2</span>", $sting);[/CODE] , but I want … |
The End.