Jump to content

sepoto

Members
  • Content Count

    254
  • Joined

  • Last visited

Everything posted by sepoto

  1. I am getting a "Undefined index" error for this line: <?php if($_SESSION['logged_in']):?>. I was hoping to get some feedback. Has it been deprecated? If so what can I do with this? I have an entire website that relies on these lines using this system variable.Thank you
  2. sepoto

    $head = <<<htmltext

    I am trying to find out what manual page of php.net I have to read to find out what the heck this "<<<" is all about. I was going through this three or four months ago but I think now I am ready to tackle it. What is this thing?$head = <<<htmltextThank you
  3. Why yes it does. Thanks for the reply!
  4. Currently I have a table with a field for channels. I am using word-wrap: break-word; on that field because I have a long list of channels like this:450,455,600, 601 etc.I am not really liking word-wrap: break-word; because it will break my comma delimited list in the oddest places such as chopping the last digit of a channel number and placing it on the next line. What I am trying to accomplish is a 'word-wrap:' where the channels are not chopped at the first or last digit. In other words I would like the channel numbers to remain whole and the break line to come after the comma. What would b
  5. I have a remote page that I am baing required to work on using Javascript. I have contemplated using frames although I'm not sure I will be able to access the code in that frame via Javascript. I have also contemplating inserting the page directly into my body although I'm not sure how yet or even if the end result will function seeing as there are headers and styles and the like to worry about. All I want to do is jQuery the textbox and insert an address so that my user doesn't have to copy paste all the time on the remote page. Has anyone done something like this before?
  6. sepoto

    Dealing with IE8

    Much to my shock and dismay the following code: <style> body { width: 1000px; margin-left: auto; margin-right: auto; }</style> does not work with IE8. It seems to work with every other major browser except IE8. Does anyone have prior experience with this issue?Thanks.
  7. I have a Textarea defined in my form. When I view the form in Chrome I see at the lower right hand corner of the Textarea two small diagonal lines looking like dog ears or tick marks. If I move the mouse over that area I can resize the Textarea. I want to prevent a user from resizing the Textarea becasue this could cause me problems with my CSS and jQuery in the future. Does anyone know how to do this?Thank you! <form method="post" action="php/sendemail.php" style='border: 1px solid black; width: 350px; text-align: left; padding: 25px;'> <!-- DO NOT change ANY of the php section
  8. sepoto

    Fonting.

    Does anyone know where I can find a list of fonts that come pre-installed with browsers such as FireFox, Chrome and IE?Thank you.
  9. I have a string like this:$c = $_SERVER["REMOTE_ADDR"];So in memory the string actually looks in human form like this "192.168.1.1".What I want to do is create an if something in pseudo code like this:if($c == "192.168.%.%") { //Where % is wildcard could be anything at all Ignore it};How could I go about accomplishing a task like this?Thanks!
  10. Wonderful replies as always. That's why I love this forum. Thanks again. Best of luck in your en devours.
  11. I am trying to figure out why my vertical-align: middle; is not truly aligned to the middle. It appears to be offset quite a bit. I have reviewed my box model and I don't really see a problem (correct me if I am wrong). Does anyone see the solution here? I am a bit lost. Thank you! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html><head><style>table {table-loayout: fixed;width: 1102px;margin: 0;padding: 0;border-collapse: collapse;}td {border: solid 1px black;margin: 0;padding: 0;max-height: 102px;}#squar
  12. I would like the height of my narrow div to mimic the height of the div right next to it. The wide div has a flexible height. So essentially I want the narrow div to have the height of the wide div even if the narrow div has nothing in it. The narrow div will always be empty except for a background image. I kept the code short. The full version is essentially the WordPress SandBox v1.6 framework theme.Thanks! <?php get_header() ?><div id="container"><div style='float: right; height: 100%; width: 75px; background-color: black; -moz-box-sizing: border-box; border: solid 1px black
  13. I am aware that one can tile an image by using the background-image: style. Is there a way to have a regular <img> tag set to tile an image?Thank you!
  14. Everything in this style sheet work for the <div> that I apply it to EXCEPT the "vertical-align: middle;". I checked for my semi-colon this time. I am trying to figure out why it is not being applied and absolutely everything else is. Any thoughts? For instance if I style a child element does that take precedence over the style of a parent element? I am taking this code from SandBox v1.6 for WordPress.Thanks! #blog-title {-moz-box-sizing: border-box;box-sizing: border-box;border: solid green 3px;background-color: black;margin: 0;padding: 0;height: 75px;width: 100%;overflow: hidden;text
  15. http://www.cupidiscrazy.com/ (He said, She said blogs)
  16. I have three servers running Linux with Apache and PHP installed. The same source code sits on each one. I am using <?php include('myfile.txt'); ?> to include some. When I look at the said text it displays properly on two out of the three servers. On (GoDaddy.com) one of the servers I see garbage charachters in my text. The text file is encoded in UTF-8. Has anyone experienced a problem like this before.
  17. I moved my site over to a new host and now my text is displaying with garbage characters. Anyone out there experienced this problem before and know how to fix it?Thanks!
  18. I really must thank ShodowMage for his last post. Not only did it work on the first try but it is also exactly what I have been looking for. Perhaps I am just a simpleton.
  19. I am still unable to do it with a child element. In addition I am realizing that the padding I do add does not work on the right and probably on the left as well. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-loose.dtd"><html><head><style>.divcenter {margin-left: 200px;}</style></head><body> <div style='height: 180px; max-height: 180px; width: 325px; border: 1px solid black; float: left; text-align: right; margin-left: 200px; padding: 20px; overflow: hidden;'> <div style='height: aut
  20. Does anyone have an example of a <div> styled with CSS that I can add padding to without the thing resizing itself bigger? Thank you!
  21. sepoto

    Hit Counting.

    Given all the comments I think i am envisioning a system that uses $_SERVER['REMOTE_ADDR'] and then checks the first two octets of my IP which never seem to change very much at my ISP. Thanks for the all the advice.
  22. sepoto

    ul ul ul?

    How did you determine that it may style tags deeper than three levels?
  23. sepoto

    ul ul ul?

    Awsome. A big Thank you!
  24. If you use 4.01 Transitional Document type you can just give each cell a height like:<td height="50px"></td>That always works for me although it may not be the best way to do it. I have found it nearly impossible to get a <td> to maintain a fixed height. If you want a fixed height save yourself hours of grief and use a <div>.
  25. sepoto

    ul ul ul?

    This looks so odd! Why is 'ul' stated three times? I do not understand this code at all. div#menu ul ul ul a {font-style:italic;}
×
×
  • Create New...