Jump to content

brown2005

Members
  • Posts

    942
  • Joined

  • Last visited

Everything posted by brown2005

  1. I want to have an <a href=''>open options</a> and when you click on this it opens up say a box with options in.. an example is http://community.sigames.com/ the search or quick links tags
  2. <div id="logo"><a href="'.$config_website_url.'/'.$config_website_url_topic.'/index.php?page=home">Home</a>'. if( $config_website_url_topic == "home" ) { } else { echo"test"; } .'</div> it is not displaying anything.
  3. I want to have a div which is 100% and say about 100 px high... top-left (image) bottom-left (slogan) top-right (text) bottom-right (text) how do i position them all.. i think i should use image h1 <div> <div> is this correct and how do i position them in the correct places.. thanks
  4. I have been looking at different websites and the way they are coded with css and i have noticed some link thinks have .css?1225346919 that with the number after the .css what is this number for as I have not got the foggeyest? thanks
  5. cool. do you know of any tutorials or examples of it?
  6. Hi, I want to add a search box, and when someone starts typing in it, I want suggestions to come up, from a table in my database, does anyone have any links to tutorials please?
  7. yeah that works fine vikramjeet.singla thanks very much
  8. hi, i am having problems aligning a search bar i am doing, http://www.allinthissite.co.uk/ , is what my problem is. any help please?
  9. http://validator.w3.org/check?uri=http%3A%2F%2Fwww.fantasy-comps.com%2Findex%2Findex.php%3Fpage%3Dhome&charset=%28detect+automatically%29&doctype=Inline&group=0 exactly what i did.... if i put the <p><input></p> it works fine.. without the <p> its a no no
  10. Hi, i am designing my website in the above and have an error with just putting <input /> i need to but something around it.. do i put <p> or <span> or something else? thanks
  11. hi thanks for all the help so far... what i have noticed now is that on the end of the meaning part the is a . how can i get rid of this as well please?
  12. thanks for your help.. i have used ur code above to get... $string = $websitesd; list($word, $meaning) = split("-", $string); $str = ucwords(preg_replace('"A piece of"','',$meaning)); $websites_add_sql = "INSERT INTO gold(id,name,meaning) VALUES ('','$word','$str')"; $websites_add_row = mysql_query($websites_add_sql); which puts everything into the table probably except for the meaning part has a space for it... any ideas how to avoid this please?
  13. go on google.. type contacts importer and there you go...
  14. word- this is a word meaning right what i want to do is put the above into a table... tword twordmeaning so i want to do is split the first line and put word into tword and word meaning into twordmeaning and not using the - or this is a
  15. can anybody help with the above please?
  16. CREATE TABLE `members` ( `members_email` varchar(255) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1; then in it i have... say richardrogers@somewhere.com peter@anotherplace.com richardrogers@somewhere.com paul@hereandthere.com richardrogers@somewhere.com paul@hereandthere.com and i want to delete the additonal emails.. to just have 1 of each richardrogers@somewhere.com peter@anotherplace.com paul@hereandthere.com
  17. I have a table member with the field members_email what i want to do is delete additional records where there is more than 1 for the members_email..
  18. I have a text file 'Table1' set out like this 1 10/5/2008 00:00:00 £51654.00 2 1/1/2008 00:00:00 £51.00 3 1/6/2007 00:00:00 £651.00 4 1/1/2009 00:00:00 £165.00 and a MySql table 'invoices' id date amount what I want to do is put the details in the text file into my mysql table.. how would I do this please?
  19. i have a table topics with topics_topic i want to create an a to z like (with the first letter of topics_topic) and excluding letters without results... A box 1 box 2 box 3 box 4 box 5 box 6 B box 1 box 2 box 3 C box 1 box 2 box 3 box 4 box 5 box 6 D box 1 box 2 box 3 box 4 box 5 where box is the results for each letter (topics_topic) can anybody please help with how i can set this out please.
  20. brown2005

    frames

    print "<frameset rows='65,*,35' border='0' frameborder='0' framespacing='0'>\n"; print " <frame src='$HOME_DIR_HTTP/homepages/files/home/top.php?website=$website&website_id=$website_id' name='nav' marginwidth='0' marginheight='0' scrolling='no' noresize>\n"; print " <frame src='".htmlspecialchars($website, ENT_QUOTES)."' name='merch' scrolling='auto' frameborder='1' noresize>\n"; print " <frame src='$HOME_DIR_HTTP/homepages/files/home/bottom.php?website=$website&website_id=$website_id' name='nav' marginwidth='0' marginheight='0' scrolling='no' noresize>\n"; print "</frameset>\n"; is there another way of doing the above without using frames. or do i have to use frames?
  21. brown2005

    em or px

    if i use em for font.. do i use em for height, widht, padding, maring, etc, etc....
  22. i have this echo" <div id='header-bar'> <div class='logo'><a href='$config_website_url/$config_website_url_topic/index.php?page=home'>fantasy-comps.com</a> &#153;</div> <div class='banner'><img src='' width='468' height='60' /></div> </div>"; and then i have #header-bar { background-color: #f00; overflow: auto; } #header-bar .logo { float: left; padding: 15px 10px 15px 10px; } #header-bar .banner { float: right; } and the main text code is font: 76%/160% "Arial", Tahoma, Verdana, sans-serif; font-weight: bold; with the a in the header is #header-bar a { font-size: 1.75em; } what i want to know.. is there a simple way of centering the div text in the middle of the bar vertically.
  23. brown2005

    px to em

    i've been told that it is better to use em instead of px for font-size.. i have found this conversation table. and was wondering if it is correct 9px = 0.5625em 10px = 0.625em 11px = 0.6875em 12px = 0.75em 13px = 0.8125em 14px = 0.875em 15px = 0.9375em 16px = 1.00em 18px = 1.125em 20px = 1.25em 24px = 1.50em 28px = 1.75em 32px = 2.00em with the body as below body { font-size: 100.01%; font-family: arial, helvetica, sans-serif; color: #333333; line-height: 1.5em; } is this correct or is there a better way?
  24. brown2005

    css reset

    ok cool. ill leave it as it is then... but is the code below the best... or is there anything else i need to add to it.... ? html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td { margin: 0; padding: 0; border: 0; outline: 0; font-weight: inherit; font-style: inherit; font-size: 100%; font-family: inherit; vertical-align: baseline; } /* remember to define focus styles! */ :focus { outline: 0; } body { line-height: 1%; color: black; background: white; } ol, ul { list-style: none; } table { border-collapse: collapse; border-spacing: 0; margin: 0 auto; } caption, th, td { text-align: left; font-weight: normal; } blockquote:before, blockquote:after, q:before, q:after { content: ""; } blockquote, q { quotes: "" ""; }
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.