Posts
 
Reputation
Joined
Last Seen
Ranked #874
Strength to Increase Rep
+7
Strength to Decrease Rep
-1
94% Quality Score
Upvotes Received
31
Posts with Upvotes
28
Upvoting Members
24
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
2
15 Commented Posts
0 Endorsements
Ranked #344
~51.4K People Reached
Favorite Tags

273 Posted Topics

Member Avatar for vinomashwin

Simple PHP login: [B]Create a database (mysqladmin)[/B] Name the table "dbUsers." It will need 4 fields: [I]Name Type Addition[/I] id int(10) Primary Key, AUTO_INCREMENT username varchar(16) Unique password char(16) email varchar(25) [B]Create a new file and name it dbConfig.php[/B] This will file will connect to the database [CODE]<? // Replace …

Member Avatar for diafol
-5
3K
Member Avatar for fielding

I would do it like this, [CODE=JS] <script> // This selector is called every time a select box is changed $("select").change(function(){ // varible to hold string var str = ""; $("select option:selected").each(function(){ // when the select box is changed, we add the value text to the varible str += $(this).text() …

Member Avatar for ololol
0
3K
Member Avatar for sneixum

Hi, This is rather simple to do... [CODE] #adTop { left:0; position:fixed; text-align:center; top:0; width:100%; } [/CODE] Then just add the following inbetween your body tags [CODE] <div id="adTop"><img src="images/myad.jpg" alt="Ad here"/></div> [/CODE]

Member Avatar for shiqar
0
118
Member Avatar for ibnyadam

Probably not the best approach but definitely the fastest. Wrap your iframe in a div [code] <div style="position:relative"> <iframe src="http://www.facebook.com/plugins/like.php?href=www.carbonated.tv&amp;layout=button_count&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:21px;" allowTransparency="true"></iframe> </div> [/code] Then just add another div, inside it, but this time, position it absolute (we basically want our new image eg the …

Member Avatar for asem.yousif
0
2K
Member Avatar for SSIG33

Hi, I would recomment Javascript. Going for jquery for in this case (i just prefer it). Here is the JS that i quickly wrote [CODE=javascript] <script> $(document).ready(function(){ // This is the class you use for your movie var movie = $(".movie"); // This varible will get your width var totalWidth …

Member Avatar for macneato
0
167
Member Avatar for GrEEfInd

You'll have to go php most probably. Here's a cool site to check out [URL="http://www.hotscripts.com/"]hotscripts[/URL] could just find one for you... but this way you can accomplish something and choose a script that will blend in nice with your site. To add it into your page.. use a inline frame. …

Member Avatar for Noahv11
0
652
Member Avatar for jltjr

This is how I would think of it. You applying opacity to the wrapper (e.g 0.75) which all children will inherit as they belong to a transparent parent. Probably not the easiest solution, but will definitely work. Remove the following from the wrapper (opacity, gradient, background ect. -basically all the …

Member Avatar for jltjr
0
179
Member Avatar for davy_yg

Hi davy_yg, Looking at the CSS, I'm not sure why the link wouldn't display the background, as both your :link and :hover rule declarations are identical

Member Avatar for macneato
0
127
Member Avatar for varoluscu_prens

Try adding the following: [CODE]#upperMenu li{ height:30px; /* define height */ line-height: 30px /* line-height that matches what was defined above*/ }[/CODE]

Member Avatar for macneato
0
185
Member Avatar for Graycode

Considering all (or atleast majority) of the styles are set to inherit, why don't you just try adding an arial stack. To do so, try the following: [code=css] body { font-family: Arial, Helvetica, sans-serif } [/code] If its still not working, just be more specific [code=css] html body { font-family: …

Member Avatar for Buppy
0
101
Member Avatar for urge

Hi, So what I did was, remove the bottom nested table and added it below. It should work (can't tell though because your page consists of only images). [CODE] <html> <title>Vidora.info - The Way Browsing Should Be</title> <body topwidth="0" bottomwidth="0" marginwidth="0" marginheight="0"> <table width="100%" height="100%" cellpadding="0" cellspacing="0"> <tr> <td valign="middle" …

Member Avatar for SaranganIndia
0
257
Member Avatar for trixma

Really simple just add a line-height [CODE=CSS] .fb8 { background: url(button.png) no-repeat; border: none; outline: none; color: #bbbbbb; height: 22px; line-height:22px /*the line height must be set to the same amount of pixels your element is */ width: 105px;} [/CODE]

Member Avatar for ko ko
0
126
Member Avatar for Arjun_Sarankulu

[B]To center an email in email clients[/B] Create a 100% table, 1 row, 3 colums. In the center column of the first table, create another table with 1 column and 1 row and set the width to the physical width of the mailer. Set the width of the center <td> …

Member Avatar for RoyalElite96
0
105
Member Avatar for Dean_Grobler

You would have to use CSS Just add a div to your navigation and repeat a background image e.g. [CODE=HTML] <div class="navigation"> <ul> <li>item 1</li> <li>item 2</li> </ul> </div> [/CODE] [CODE=CSS] .navigation { width: 800px; height: 20px; background: url(../images/YourImage.jpg) repeat-x; /*save your image as 1x20 jpg*/ } [/CODE]

Member Avatar for Dean_Grobler
0
146
Member Avatar for WigglesMcMuffin
Member Avatar for debasishgang7
Member Avatar for devinodaniel

Its actually quite simple. [CODE=PHP] <a class="showHideDivs" href=\"#\">Show/hide</a><div id=\"enclosure\" style=\"display:none\">{$row['ticket']}</div> [/CODE] Then trigger an event using live [CODE=JS] $('a.showHideDivs').live('click', function() { $(this).next().animate({"height": "toggle"}, {duration: 1000}); }); [/CODE]

Member Avatar for macneato
0
207
Member Avatar for kuri88

Umh, use regex [CODE=JS] inputString = inputString.replace(/[^0-9]/g,'') [/CODE]

Member Avatar for edith135
0
102
Member Avatar for caltech
Member Avatar for caltech
0
118
Member Avatar for Joshua Kidd

Could also use jquery [CODE=JavaScript] $('#tableID tr').size() or $('#tableID tr').length() or $('#tableID tr').count() [/CODE]

Member Avatar for macneato
0
76
Member Avatar for caltech

Your target tag is incorrect. [CODE] <a href="http://www.endofdreamz.com" title="End of Dreamz" target="_blank">Website</a> [/CODE]

Member Avatar for macneato
0
102
Member Avatar for Egypt Pharaoh
Member Avatar for macneato
0
57
Member Avatar for jdam7459

Yes this is possible. You can setup a server on localhost (127.0.0.1). Google easyPHP. If you need any more assistance with setting up the application. Give me a shout

Member Avatar for Arcrammer
0
1K
Member Avatar for mithesh

Use the code below, edit all the [COLOR="#ff0000"]red[/COLOR] text with correct data. [CODE]<?php $db_host = '[COLOR="#ff0000"]HOST[/COLOR]'; $db_user = '[COLOR="#ff0000"]USER[/COLOR]'; $db_pwd = '[COLOR="#ff0000"]PASS[/COLOR]'; $database = '[COLOR="#ff0000"]DB[/COLOR]'; $table = '[COLOR="#ff0000"]TABLE[/COLOR]'; if (!mysql_connect($db_host, $db_user, $db_pwd)) die("Can't connect to database"); if (!mysql_select_db($database)) die("Can't select database"); // sending query $result = mysql_query("SELECT `[COLOR="#ff0000"]TABLE[/COLOR]`.[COLOR="#ff0000"]FIELDNAME(DAY)[/COLOR],`[COLOR="#ff0000"]TABLE[/COLOR]`.[COLOR="#ff0000"]FIELDNAME(MONTH)[/COLOR],`[COLOR="#ff0000"]TABLE[/COLOR]`.`[COLOR="#ff0000"]FIELDNAME(YEAR)[/COLOR]` FROM `[COLOR="#ff0000"]TABLE[/COLOR]` …

Member Avatar for antonyruban
0
8K
Member Avatar for sreein1986

Hi sreein, This is the way I understand it, If you don't want to use relative positioning. Float would be your next bet. I use it mainly for layouts. But people do use it for images as well. Here a nice little article on it, that explains it in a …

Member Avatar for Arkinder
0
111
Member Avatar for bkendall
Member Avatar for freddiecool
Member Avatar for drjohn
0
98
Member Avatar for NickRx

Let me guess, the vertical positioning is the hard part? I would recommend using javascript. [URL="http://www.seodenver.com/simple-vertical-align-plugin-for-jquery/"]Here[/URL] is a simple jquery plugin that should do it for you.

Member Avatar for Asiic
0
82
Member Avatar for johnsign11

REALLY easy. Use the link tag within your head tags [CODE=HTML] <html> <head> <link rel="stylesheet" href="http://www.example.com/styles/default.css" type="text/css" /> </head> <body></body> </html> [/CODE]

Member Avatar for macneato
0
63
Member Avatar for hindu times

What made you go for Iframes??? sure ajax or even an includes could have done the trick. Nevertheless. I think your issue lies in #mainvideoiframecontent. Think you have to define a height. Either manually, or javascript.

Member Avatar for hindu times
0
129
Member Avatar for priyam1309

Hi Priyam, What you talking about is lightbox. There are TONS of solutions out there (practically outta the box). Umh. Off the top of my head. [URL="http://fancybox.net/"]Fancybox[/URL]

Member Avatar for gunnarflax
0
102
Member Avatar for Awah Mohamed

Try this [URL="http://tinyurl.com/2bnh7dh"]http://tinyurl.com/2bnh7dh[/URL]. It's one of my BIGGEST kept secrets. So please keep it on a low

Member Avatar for macneato
-1
139
Member Avatar for Graycode

Thats an ajax request. Not much of a wordpress developer. But it looks like the page is trying to call a function "ecd.jq". I would recommend, attaching jquery to your page. Looks like it was there before the tag was altered. You will find it in the head of your …

Member Avatar for rajarajan2017
0
122
Member Avatar for ScoobMJ

Hi, The reason it isn't centering is because you have defined a width in the body. Which is the canvas, so your browser assumes your table is already centered since your body is 960px. Regarding percentage conversions. Lets assume your table was 1000px (in the perfect world) and you have …

Member Avatar for macgurl70
0
124
Member Avatar for dan_t

I will teach you the best way of making rounded corners. Position your container relative, then using a sprite, define 4 corner classes and position them absolute to the container. Might seem like alot, so here is an example [CODE=CSS] .container {position:relative} /* begin corners */ .corners {position:absoulte; width:10px; height:10px; …

Member Avatar for drjohn
0
133
Member Avatar for priyam1309

I would try something like this [CODE=CSS] #menu ul li ul { margin:0; padding:0; position:absolute; top:26px; width:300px; visibility: hidden; } [/CODE] [B]Note[/B] I specified a width, if you don't, chances are it will display as a vertical menu instead of horizonal. Hope this helps

Member Avatar for almostbob
0
197
Member Avatar for JimiH

pritaeas is absolutely correct. You have inline styles on most of your p tags, which are above 900px. You could try something like this (untested) [CODE=CSS] .p[style]{ width:800px; } Probably won't work in ie6 though. [/CODE]

Member Avatar for bunny12
0
87
Member Avatar for samsons17
Member Avatar for drjohn
0
94
Member Avatar for Carian

I would suggest a very simple style reset. Try [CODE=style] * { margin: 0; padding: 0; } [/CODE]

Member Avatar for macneato
0
162
Member Avatar for idane
Member Avatar for macgurl70
0
112
Member Avatar for Cheryl399

Urtivedi is right and wrong, mailto attribute does not just open blank. [URL="http://www.webdevelopersnotes.com/tips/html/html_mailto_attribute_html_tips.php3"]Read more [/URL] He is right however, regarding the submitting of your form, for that you will need server-side. What database are you using? if its MYSQL, you will have to go php.

Member Avatar for Bsingh7
0
88
Member Avatar for keval_hack

Ardav is correct but technically speaking, don't think I would refer to it as a footer, think its more of a menu bar (status bar). That adside. REALLY wierd link to share though, considering the status bar is sitewide. Anyone interest in seeing what is being discussed, use this link …

Member Avatar for Dandello
0
88
Member Avatar for moroshko

Why don't you just use hexadecimal. E.g. [CODE=CSS] span { color: #ff0000 } [/CODE] [B]NB:[/B] RGBa is only suppported by Mozilla Firefox 3.x (and up), Google Chrome, Safari 3.x (and up), Opera 10.x and IE9. If you do decide to use it, ensure you have a fallback.

Member Avatar for macgurl70
0
126
Member Avatar for papanyquiL

Why don't you try something like this [CODE=CSS] #header li { display: block; float:left; } [/CODE]

Member Avatar for pwinfrey
0
164
Member Avatar for php_noob

You could go liquid layout, but usually the best (or my personal favourite) is the 960 grid.

Member Avatar for macgurl70
0
85
Member Avatar for Silvershaft

You could use ajax to do the login check and echo wether or not login was successful with an if statement. So something along these lines [CODE=JS] // Varibles that hold userinfo var username = $('#UserName').attr('value'); var password = $('#UserPassword').attr('value'); $.ajax({ type: "POST", url: "php/process_login.php", data: "username=" + username + …

Member Avatar for Silvershaft
0
198
Member Avatar for _mike_

Try removing the leading slash, as these are used to define absolute paths [CODE=HTML]<!--[if lte IE 6]> <link rel="stylesheet" type="text/css" href="css/mainiesix.css" /> <![endif]--> <!--[if IE 7]> <link rel="stylesheet" type="text/css" href="css/mainieseven.css" /> <![endif]--> [/CODE]

Member Avatar for _mike_
0
186
Member Avatar for baseballfury

Hi, Could i see your code? But what im getting from you is, something along these lines: [CODE=HTML] <div class="wrapper"> <div class="container"></div> </div> [/CODE] Yet your wrapper is only 100px in height. then you have padding on the container to push it 100px down. Why? Whats the point of having …

Member Avatar for JameB
0
304
Member Avatar for drewpark88

I would just do something like this [CODE=CSS] #navigation .highlight a.pools:hover, #navigation a.pools_active, #navigation a.pools .hover { background-position: 0 -77px; width: 202px; } [/CODE] Then just add the class "pools_active" to your link when it is active. If that doesnt work, just make the selector more specific. eg. [CODE=CSS] div …

Member Avatar for drewpark88
0
105
Member Avatar for sreein1986

It's practically the stacking order of elements. E.g. You have one div with a z-index of 1 and you got another smaller div with a z-index of 2. The div with the higher z-index will be infront. So in this case, the smaller div will be rendered ontop of the …

Member Avatar for rajarajan2017
0
186

The End.